Error: 'dict' object has no attribute 'info_cache' (HTTP 400)
Issue
- All
nova
commands used to add, associate, remove or disassociate floating IPs to VMs throw HTTP400 and HTTP500 errors. Floating IPs nevertheless are added or removed to/from the instances and instances are accessible via the IPs.Neutron
commands with the same functionality do not show those errors. - Why I am getting below error while attaching the floating ip to instance using
nova
command ?
[root@juno1 ~(keystone_admin)]# nova floating-ip-associate 610e948c-2acd-4b14-ab93-221298070947 10.10.10.1
ERROR (BadRequest): Unable to associate floating ip 10.10.10.1 to fixed ip 192.168.122.67 for instance 610e948c-2acd-4b14-ab93-221298070947. Error: 'dict' object has no attribute 'info_cache' (HTTP 400) (Request-ID: req-c20c66c4-04f2-4b6f-95c6-4ededdac3a4d)
[root@juno1 ~(keystone_admin)]# nova list
+--------------------------------------+-------------+--------+------------+-------------+------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-------------+--------+------------+-------------+------------------------------------+
| ffd310c7-284e-4cd8-a601-8da775171d3a | test123 | ACTIVE | - | Running | private=192.168.122.67, 10.10.10.1 |
+--------------------------------------+-------------+--------+------------+-------------+------------------------------------+
Environment
- Red Hat OpenStack 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.