ansible openstack.cloud.server module fails while creating an instance with floating ip attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstacksdk |
Fix Released
|
Undecided
|
Takashi Kajinami |
Bug Description
Ansible openstack.
...
File "/home/
server = self.wait_
File "/home/
server = self.get_
File "/home/
return self.add_
File "/home/
server = self._add_
File "/home/
f_ip = self.create_
File "/home/
return self._neutron_
File "/home/
network_id = network['id']
TypeError: 'NoneType' object is not subscriptable
Ansible task (slightly redacted to avoid information disclosure) goes below:
- name: "Create molecule instance"
openstack
name: "name"
image: "image"
flavor: "flavor"
key_name: "keypair_name"
nics:
- net-name: "dev-net"
reuse_ips: false
Discussed (with a possible fix) in https://<email address hidden>
Changed in openstacksdk: | |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Fix proposed to branch: master /review. opendev. org/c/openstack /openstacksdk/ +/929548
Review: https:/