[9.x][updates] update_9x_fuel playbook has failed

Bug #1652584 reported by Ruslan Khozinov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Andrey Epifanov

Bug Description

Detailed bug description:

TASK [Systemd loads fresh units] ***********************************************
task path: /root/mos_mu/playbooks/tasks/update_9x_fuel.yml:9
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'PlayContext' object has no attribute 'executable'
fatal: [nailgun.test.domain.local]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}

Steps to reproduce:
- Get Fuel 9.1
- Set the next proposed repo for fuel:
  [mos9.2]
  name=mos9.2
  #snapshot681
  baseurl=http://mirror.seed-cz1.fuel-infra.org/mos-repos/centos/mos9.0-centos7/snapshots/proposed-2016-12-24-130321/x86_64
  enabled=1
  gpgcheck=1
  gpgkey=file:///etc/pki/fuel-gpg/RPM-GPG-KEY-mos
  skip_if_unavailable=1
- Run the playbooks/mos9_prepare_fuel.yml playbook
- Run the ansible-playbook playbooks/mos9_prepare_env.yml -e '{"env_id":1, "snapshot_repo":"9.0-2016-10-22-202322"}'
- Run the playbooks/mos9_prepare_env.yml -e '{"env_id":2, "snapshot_repo":'9.0-2016-12-24-130321'}' -vv | tee prepare_env.log
- Run the playbooks/update_fuel.yml -e '{"rebuild_bootstrap":false}' -vv | tee update_fuel.log

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

The second run of the "ansible-playbook playbooks/update_fuel.yml -e '{"rebuild_bootstrap":false}' -vvv | tee update_fuel.log" command has finished successfully.

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

The issue has been reproduced again on another env.
So I've got more readable error message:

TASK [Systemd loads fresh units] ***********************************************
task path: /root/mos_mu/playbooks/tasks/update_9x_fuel.yml:9
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 120, in run
    else:
  File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 379, in _execute
    return dict(changed=False, skipped=True, skip_reason='Conditional check failed', _ansible_no_log=self._play_context.no_log)
  File "/usr/lib/python2.7/site-packages/ansible/executor/task_executor.py", line 596, in _get_connection
    return async_result
  File "/usr/lib/python2.7/site-packages/ansible/plugins/__init__.py", line 331, in get
  File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/__init__.py", line 92, in __init__
    shell_filename = os.path.basename(self._play_context.executable)
AttributeError: 'PlayContext' object has no attribute 'executable'
fatal: [nailgun.test.domain.local]: FAILED! => {"failed": true, "msg": "Unexpected failure during module execution.", "stdout": ""}

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

systemd-shim has already been installed during 9.0->9.1

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

the same issue has reproduced on the 692 snapshot

mos-playbooks.noarch 0:1.0.0-1.el7~mos8

Revision history for this message
Ruslan Khozinov (rkhozinov) wrote :

The issue hasn't reproduced on 767

Changed in fuel:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.