Infrared Plugin: cloud-config
Issue:
- The following task failed while launching workload via infrared cloud-config plugin, it failed to assign the floating ip.
$ infrared cloud-config --deployment-files virt --tasks launch_workload
[...]
TASK [Assign floating IP to workload instance] ***************************************************************************
fatal: [undercloud-0 -> xxx.host.com]: FAILED! => {"changed": false, "extra_data": null, "msg": "ResourceNotFound: 404: Client Error for url: https://10.0.0.101:13774/v2.1/os-floating-ips, Floating IP pool not found."}
Analysis:
- Ansible module is fetching a floating IP pool list over OSP Compute API version 2.1, which does support only on version 2.0
Workaround:
- Modify infrared/plugins/cloud-config/tasks/launch_workload_step.yml:191 file
- replace
network_name: "{{ install.public.get('net', {}).name|default(pool_name.stdout_lines|last) }}"
- with
network_name: "nova"
Require:
- More sophisticated filter to fetch network name, rather than floating IP pool list
Infrared Plugin: cloud-config
Issue:
$ infrared cloud-config --deployment-files virt --tasks launch_workload[...]TASK [Assign floating IP to workload instance] ***************************************************************************fatal: [undercloud-0 -> xxx.host.com]: FAILED! => {"changed": false, "extra_data": null, "msg": "ResourceNotFound: 404: Client Error for url: https://10.0.0.101:13774/v2.1/os-floating-ips, Floating IP pool not found."}Analysis:
Workaround:
network_name: "{{ install.public.get('net', {}).name|default(pool_name.stdout_lines|last) }}"network_name: "nova"Require: