diff --git a/ansible/baremetal-compute-inspect.yml b/ansible/baremetal-compute-inspect.yml index 5c979529b..f6319c820 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 0cae4174b..27f1fce85 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 615e3d050..7361c4e66 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 000000000..f9f3450ab --- /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 `__ + for details. diff --git a/requirements.yml b/requirements.yml index c5bb3a68f..7a1d670c6 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