Quickstart is failing with syntax error

Bug #1843420 reported by Martin Mágr
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

+ ansible-playbook -vv /root/.quickstart/playbooks/quickstart-extras.yml -e @/root/.quickstart/config/release/master.yml -e @/root/tripleo/tripleo-quickstart/para-standard-nodes.yaml -e @/root/.quickstart/config/general_config/minimal.yml -e @/root/.quickstart/config/environments/default_libvirt.yml -e local_working_dir=/root/.quickstart -e virthost=<snip> -t untagged,provision,environment,libvirt,undercloud-scripts,undercloud-inventory,overcloud-scripts,undercloud-setup,undercloud-install,undercloud-post-install,tripleoui-validate,teardown-all
ansible-playbook 2.8.4
  config file = /root/tripleo/tripleo-quickstart/ansible.cfg
  configured module search path = [u'/usr/lib/python2.7/site-packages/tripleo-quickstart/library', u'/root/.quickstart/usr/local/share/tripleo-quickstart/library', u'/root/tripleo/tripleo-quickstart/library']
  ansible python module location = /root/.quickstart/lib/python2.7/site-packages/ansible
  executable location = /root/.quickstart/bin/ansible-playbook
  python version = 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
Using /root/tripleo/tripleo-quickstart/ansible.cfg as config file
[DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.12. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/atop.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/non_root_user_setup.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/ovb_setup_connectivity.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/package_installs.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/vxlan_networking.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/hostname.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-setup/tasks/ansible_cfg.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/novajoin_prep.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/install-undercloud.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/post-install.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/undercloud-deploy/tasks/tripleo-ui.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-containers/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-containers/tasks/overcloud-prep-containers.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-images/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-images/tasks/overcloud-prep-images.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-flavors/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-flavors/tasks/overcloud-prep-flavors.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-network/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-network/tasks/overcloud-prep-network.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/pre-deploy.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/create-scripts.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/deployed-server.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/deploy-overcloud.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/overcloud-status.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/overcloud-deploy/tasks/post-deploy.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/tempest-venv.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/tempest-rpm.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/tempest-containers.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/pre-tempest.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/run-tempest.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/tempest-results.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/stackviz.yml
statically imported: /root/.quickstart/usr/local/share/ansible/roles/validate-tempest/tasks/post-tempest.yml
ERROR! Unexpected Exception, this is probably a bug: 'PlaybookCLI' object has no attribute 'options'
to see the full traceback, use -vvv

Tags: alert
Changed in tripleo:
importance: Undecided → Critical
status: New → Triaged
tags: added: alert
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

Which ara version do you use?

Revision history for this message
Martin Mágr (mmagr) wrote :

I don't use ARA. Btw workaroud is:

[root@dell-t5810ws-rdo-13 tripleo-quickstart]$ git diff
diff --git a/requirements.txt b/requirements.txt
index 2740482..9206b46 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
 cmd2==0.8.5
 ara<1.0
-ansible>=2.8,<2.9
+ansible>=2.7,<2.8
 jmespath
 netaddr>=0.7.18
 os-client-config

Revision history for this message
wes hayutin (weshayutin) wrote :

Are you hitting this w/ a clean .quickstart dir and 2.8? Perhaps there was old code?

Changed in tripleo:
milestone: none → train-rc1
Revision history for this message
Luke Short (ekultails) wrote :

I found another open source project that ran into the same issue and has a related fix. Looks to be a compatibility breaking change with using Ansible 2.8 via it's Python library/API.

https://github.com/DataDog/ansible-datadog-callback/issues/46
https://github.com/DataDog/ansible-datadog-callback/pull/47

Changed in tripleo:
milestone: train-rc1 → ussuri-1
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :

It's related to ara version

Changed in tripleo:
status: Triaged → Fix Released
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.