AnsibleParserError with containerised undercloud install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Alex Schultz |
Bug Description
Since Friday, whether I try to install the undercloud on a brand new VM or upgrade my existing one, it fails with the following error after the stack creation completes:
$ openstack undercloud install --use-heat
[...]
2018-04-30 08:20:37Z [undercloud]: CREATE_COMPLETE Stack CREATE completed successfully
** Downloading undercloud ansible.. **
Not cleaning temporary directory /home/stack/
** Running ansible.. **
[WARNING]: Skipping unexpected key (hostvars) in group (_meta), only "vars", "children" and "hosts" are
valid
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static
inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module
documentation details page may explain more about this rationale.. This feature will be removed in a
future release. Deprecation warnings can be disabled by setting deprecation_
ansible.cfg.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
exception type: <class 'ansible.
exception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.
Not cleaning temporary directory /home/stack/
http://
Running with verbose ($ openstack undercloud upgrade --use-heat --verbose) I can see the ansible task it's failing on:
** Downloaded undercloud ansible to /home/stack/
Not cleaning temporary directory /home/stack/
** Running ansible.. **
Running Ansible: ansible-playbook -i /home/stack/
http://
It doesn't work when I run the command directly either, though the error looks different - seems not to be picking up the host correctly but I'm not sure if that's actually related to what I'm seeing on undercloud install/upgrade or just due to running the command differently.
[WARNING]: Could not match supplied host pattern, ignoring: undercloud
PLAY [Gather facts undercloud] *******
skipping: no hosts matched
[...]
http://
Nothing jumps out in the heat logs or undercloud install logs. I'm following the steps at https:/
python-
python-
openstack-
tags: | removed: upgrade |
Changed in tripleo: | |
assignee: | Emilien Macchi (emilienm) → Alex Schultz (alex-schultz) |
status: | Triaged → In Progress |
The issue seems related to the recent changes for using hostnames in tripleo inventory?