diff --git a/ansible/baremetal-compute-inspect.yml b/ansible/baremetal-compute-inspect.yml index 5c979529b169488f59217e26808f2524a59bd3f2..f6319c820e02df626c92a421efc5336a3fd4f76c 100644 --- a/ansible/baremetal-compute-inspect.yml +++ b/ansible/baremetal-compute-inspect.yml @@ -24,7 +24,7 @@ vars: controller_host: "{{ groups['controllers'][0] }}" venv: "{{ virtualenv_path }}/openstacksdk" - ansible_python_interpreter: "{{ venv }}/python" + ansible_python_interpreter: "{{ venv }}/bin/python" # Whether to wait for the state transition to complete. baremetal_compute_wait: True # Time to wait for state transition to complete, if baremetal_compute_wait diff --git a/ansible/baremetal-compute-manage.yml b/ansible/baremetal-compute-manage.yml index 0cae4174b80a400f0378f862fea4e3e776ad2b1f..27f1fce853da81d2a4ad1fda98ddef2792f362f5 100644 --- a/ansible/baremetal-compute-manage.yml +++ b/ansible/baremetal-compute-manage.yml @@ -6,7 +6,7 @@ # We install openstacksdk in a virtualenv on one of the controllers, and delegate to # it when executing the stackhpc.os-ironic-state role. -- name: Ensure baremetal compute nodes are available in ironic +- name: Ensure baremetal compute nodes are manageable in ironic hosts: controllers[0] gather_facts: true vars: @@ -23,7 +23,7 @@ gather_facts: False vars: venv: "{{ virtualenv_path }}/openstacksdk" - ansible_python_interpreter: "{{ venv }}/python" + ansible_python_interpreter: "{{ venv }}/bin/python" # Whether to wait for the state transition to complete. baremetal_compute_wait: True # Time to wait for state transition to complete, if baremetal_compute_wait diff --git a/ansible/baremetal-compute-provide.yml b/ansible/baremetal-compute-provide.yml index 615e3d0500be46c1c9d37fe9b89e73869f50064e..7361c4e660d5b6ea863c0ec6315dc24bdbb8e92b 100644 --- a/ansible/baremetal-compute-provide.yml +++ b/ansible/baremetal-compute-provide.yml @@ -23,7 +23,7 @@ gather_facts: False vars: venv: "{{ virtualenv_path }}/openstacksdk" - ansible_python_interpreter: "{{ venv }}/python" + ansible_python_interpreter: "{{ venv }}/bin/python" # Whether to wait for the state transition to complete. baremetal_compute_wait: True # Time to wait for state transition to complete, if baremetal_compute_wait diff --git a/releasenotes/notes/fix-baremetal-compute-commands-b72862a53f88c5ef.yaml b/releasenotes/notes/fix-baremetal-compute-commands-b72862a53f88c5ef.yaml new file mode 100644 index 0000000000000000000000000000000000000000..f9f3450ab736d6a056da54d1eb9698fdfcfd59ca --- /dev/null +++ b/releasenotes/notes/fix-baremetal-compute-commands-b72862a53f88c5ef.yaml @@ -0,0 +1,11 @@ +--- +fixes: + - | + Fixes issues running the following commands: + + - ``kayobe baremetal compute inspect`` + - ``kayobe baremetal compute manage`` + - ``kayobe baremetal compute provide`` + + See `story 2007797 <https://storyboard.openstack.org/#!/story/2007797>`__ + for details. diff --git a/requirements.yml b/requirements.yml index c5bb3a68fae05cb79909199f489c0d2840a2fa01..7a1d670c6867788a5dbb3df178be22b412c1ac46 100644 --- a/requirements.yml +++ b/requirements.yml @@ -32,7 +32,7 @@ - src: stackhpc.os-images version: v1.9.0 - src: stackhpc.os-ironic-state - version: v1.3.0 + version: v1.3.1 - src: stackhpc.os-networks version: v1.4.0 - src: stackhpc.os-openstackclient