After performing the undercloud upgrade following:
sudo yum install -y https://trunk.rdoproject.org/centos7/current/python2-tripleo-repos-0.0.1-0.20171116021457.15e17a8.el7.centos.noarch.rpm
sudo tripleo-repos current-tripleo-dev
sudo yum clean all
sudo yum -y update python-tripleoclient
openstack undercloud upgrade
An error is printed out during the validations execution:
haproxy[19222]:proxy heat_api has no server available!
2018-01-18 09:53:48,001 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", "stdout": "Task 'Check Horizon' failed:\nHost: localhost\nMessage: Status code was not [200]: HTTP Error 503: Service Unavailable\n\nFailure! The validation failed for all hosts:\n* localhost\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: Inventory script (/bin/tripleo-ansible-inventory) had an execution\nerror: Error creating inventory: <html><body><h1>503 Service Unavailable</h1>\nNo server is available to handle this request. </body></html>\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 60, 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 60, 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: 3a89df58-10a9-4c5e-b512-38623f13852b
After the failing validation the upgrade finishes successfuly, however it's important to investigate the reason why the validation failed.
Related fix proposed to branch: master /review. openstack. org/535338
Review: https:/