undercloud upgrade succeeds with: "stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option

Bug #1763794 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Medium
Unassigned

Bug Description

http://logs.openstack.org/74/548974/32/check/tripleo-ci-centos-7-undercloud-upgrades/608d896/logs/undercloud/home/zuul/undercloud_upgrade.log.txt.gz#_2018-04-13_06_31_00_515

Dupe of bug ??
https://bugs.launchpad.net/tripleo/+bug/1742947

ERROR: ERROR error running the validation groups ['post-upgrade'] {"stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with script\nplugin: You defined a group 'Undercloud' with bad data for the host list:\n{u'hosts': {u'undercloud': {u'ansible_host': u'localhost'}}, u'vars':\n{u'username': u'admin', u'project_name': u'admin', u'undercloud_service_list':\n[u'openstack-nova-compute', u'openstack-heat-engine', u'openstack-ironic-\nconductor', u'openstack-swift-container', u'openstack-swift-object', u\n'openstack-mistral-engine'], u'os_auth_token': u'***', u'auth_url':\nu'http://192.168.24.1:5000/v3', u'ansible_connection': u'local', u'cacert':\nNone, u'plan': u'overcloud', u'undercloud_swift_url':\nu'http://192.168.24.1:8080/v1/AUTH_37a18d9d87f44d7295d98cb83ec84c7c'}}\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with yaml plugin:\nSyntax Error while loading YAML. The error appears to have been in '/bin\n/tripleo-ansible-inventory': line 68, column 20, but may be elsewhere in the\nfile depending on the exact syntax problem. The offending line appears to be:\ndef _parse_config(): ^ here exception type: <class\n'yaml.scanner.ScannerError'> exception: mapping values are not allowed in this\ncontext in \"<unicode string>\", line 68, column 20\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with ini plugin:\n/bin/tripleo-ansible-inventory:22: Expected key=value host variable assignment,\ngot: __future__\n [WARNING]: Unable to parse /bin/tripleo-ansible-inventory as an inventory\nsource\n [WARNING]: No inventory was parsed, only implicit localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: all\n [WARNING]: provided hosts list is empty, only localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: undercloud\n", "stdout": "Warning! The validation did not run on any host.\n"} {"stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with script\nplugin: You defined a group 'Undercloud' with bad data for the host list:\n{u'hosts': {u'undercloud': {u'ansible_host': u'localhost'}}, u'vars':\n{u'username': u'admin', u'project_name': u'admin', u'undercloud_service_list':\n[u'openstack-nova-compute', u'openstack-heat-engine', u'openstack-ironic-\nconductor', u'openstack-swift-container', u'openstack-swift-object', u\n'openstack-mistral-engine'], u'os_auth_token': u\n'gAAAAABa0E6YWtqYFY_lqHoTfEwHJ1QfTBubF7CEqFhRhykbq6F-8kgSrfKYYsAUckrzT7paTcf4cV\nTPaMdb_zJJcNssIJ1ohIVVesL7QvCPJYB1wEfcgeYm7ZF0yLKTnkXnzQOMq8VYP1_4QkcWZ73Upc9xB\n7ovpxrkYpfH1AG5Q7AHQ5gFnNxepHoDF6H37YKdyfI3r6wk', u'auth_url':\nu'http://192.168.24.1:5000/v3', u'ansible_connection': u'local', u'cacert':\nNone, u'plan': u'overcloud', u'undercloud_swift_url':\nu'http://192.168.24.1:8080/v1/AUTH_37a18d9d87f44d7295d98cb83ec84c7c'}}\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with yaml plugin:\nSyntax Error while loading YAML. The error appears to have been in '/bin\n/tripleo-ansible-inventory': line 68, column 20, but may be elsewhere in the\nfile depending on the exact syntax problem. The offending line appears to be:\ndef _parse_config(): ^ here exception type: <class\n'yaml.scanner.ScannerError'> exception: mapping values are not allowed in this\ncontext in \"<unicode string>\", line 68, column 20\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with ini plugin:\n/bin/tripleo-ansible-inventory:22: Expected key=value host variable assignment,\ngot: __future__\n [WARNING]: Unable to parse /bin/tripleo-ansible-inventory as an inventory\nsource\n [WARNING]: No inventory was parsed, only implicit localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: all\n [WARNING]: provided hosts list is empty, only localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: undercloud\n", "stdout": "Warning! The validation did not run on any host.\n"} {"stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with script\nplugin: You defined a group 'Undercloud' with bad data for the host list:\n{u'hosts': {u'undercloud': {u'ansible_host': u'localhost'}}, u'vars':\n{u'username': u'admin', u'project_name': u'admin', u'undercloud_service_list':\n[u'openstack-nova-compute', u'openstack-heat-engine', u'openstack-ironic-\nconductor', u'openstack-swift-container', u'openstack-swift-object', u\n'openstack-mistral-engine'], u'os_auth_token': u\n'gAAAAABa0E6Z2hTEsJ6xLS9P_mccxZQecxCSJdZzQNRsXMkOscpJWJHv5btL5gN-\nRzkot_DFqRUvYSnh2QYQkRKkZdFSFGmIdio-GCdy6-Gf7kyufsIXhl4iBZkNIT-g\n-zawmCU8MrKDoUvFndVAubckuLz-LSisb_Ad53M-Do5W48QobbtDIQZ41pAFWBG4Mo88U3mVZM-i',\nu'auth_url': u'http://192.168.24.1:5000/v3', u'ansible_connection': u'local',\nu'cacert': None, u'plan': u'overcloud', u'undercloud_swift_url':\nu'http://192.168.24.1:8080/v1/AUTH_37a18d9d87f44d7295d98cb83ec84c7c'}}\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with yaml plugin:\nSyntax Error while loading YAML. The error appears to have been in '/bin\n/tripleo-ansible-inventory': line 68, column 20, but may be elsewhere in the\nfile depending on the exact syntax problem. The offending line appears to be:\ndef _parse_config(): ^ here exception type: <class\n'yaml.scanner.ScannerError'> exception: mapping values are not allowed in this\ncontext in \"<unicode string>\", line 68, column 20\n [WARNING]: * Failed to parse /bin/tripleo-ansible-inventory with ini plugin:\n/bin/tripleo-ansible-inventory:22: Expected key=value host variable assignment,\ngot: __future__\n [WARNING]: Unable to parse /bin/tripleo-ansible-inventory as an inventory\nsource\n [WARNING]: No inventory was parsed, only implicit localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: all\n [WARNING]: provided hosts list is empty, only localhost is available\n [WARNING]: Could not match supplied host pattern, ignoring: undercloud\n", "stdout": "Warning! The validation did not run on any host.\n"} Mistral execution ID: f68625cb-13da-4c78-a4a7-59ff4fa13810

Tags: upgrade
tags: added: containers
tags: removed: containers
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Revision history for this message
mathieu bultel (mat-bultel) wrote :

I think this bug is not relevant anymore.
I'm going to close it, if anybody wants to reopen it fell free

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