Bug 1398906 - Floating IP Associate / Dis-asociate doesn't work with an OpenStack Instance [NEEDINFO]
Summary: Floating IP Associate / Dis-asociate doesn't work with an OpenStack Instance
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.7.0
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: GA
: 5.7.1
Assignee: Tzu-Mainn Chen
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack:fip:sdn
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-27 08:49 UTC by Sreejith Anujan
Modified: 2017-08-30 03:50 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-07 06:35:27 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
tzumainn: needinfo? (sanujan)


Attachments (Terms of Use)
Screenshot of Floating IP associate error (119.95 KB, image/png)
2016-11-27 08:49 UTC, Sreejith Anujan
no flags Details

Description Sreejith Anujan 2016-11-27 08:49:06 UTC
Created attachment 1224756 [details]
Screenshot of Floating IP associate error

Description of problem:
Floating IP address cannot be associated/dis-associated to an OpenStack Instance

Version-Release number of selected component (if applicable):
Version 5.7.0.10-beta3.20161109111947_9a61b18 

How reproducible:


Steps to Reproduce:
1. Select an available OpenStack Instance
2. Try to associate / dis-associate a floating ip
3. Attached Error in screenshots appear.

Actual results:


Expected results:
The Floating IP should be associated / dis-associated to/from the instance.

Additional info:
This is from CFME4.2 Beta 3 RHOS Appliance.

Comment 2 Tzu-Mainn Chen 2016-11-29 01:30:57 UTC
What input was used for the IP address?  It looks like it may have simply been "1", which is an illegal IP address, in which case the error message here is appropriate.

Comment 3 Sreejith Anujan 2016-11-29 02:10:02 UTC
The floating ip address was a proper 32 bit one, 192.168.122.212. Incidentally, I can associate the floating ip from Horizon dashboard.

Comment 4 Tzu-Mainn Chen 2016-11-29 02:11:47 UTC
Can you attach evm.log and fog.log?

Comment 5 Sreejith Anujan 2016-11-29 09:34:27 UTC
evm.log is 100M in size and fog.log around 15M. Pasting the relevant error messages from both the files here as they're short.

evm.log
-------

[root@cfme42 ~]# grep -i error /var/www/miq/vmdb/log/evm.log | grep -i float
[----] E, [2016-11-27T12:16:59.487658 #2882:1833730] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Vm#raw_associate_floating_ip) vm=[cirros0002], floating_ip=[1], error: Expected([200, 202]) <=> Actual(400 Bad Request)
[----] E, [2016-11-27T12:16:59.488118 #2882:1833730] ERROR -- : MIQ(vm_cloud_controller-associate_floating_ip_vm): Unable to associate Floating IP 1 with Instance "cirros0002": Invalid input for field/attribute address. Value: 1. u'1' is not valid under any of the given schemas
[----] E, [2016-11-27T12:29:12.471688 #2805:17bd120] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Vm#raw_disassociate_floating_ip) vm=[cirros0002], floating_ip=[1], error: Expected([200, 202]) <=> Actual(400 Bad Request)
[----] E, [2016-11-27T12:29:12.472003 #2805:17bd120] ERROR -- : MIQ(vm_cloud_controller-disassociate_floating_ip_vm): Unable to disassociate Floating IP 1 from Instance "cirros0002": Invalid input for field/attribute address. Value: 1. u'1' is not valid under any of the given schemas
[----] E, [2016-11-29T14:58:57.717398 #2815:bd1d0c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Vm#raw_associate_floating_ip) vm=[cirros-vol1], floating_ip=[1], error: Expected([200, 202]) <=> Actual(400 Bad Request)
[----] E, [2016-11-29T14:58:57.717594 #2815:bd1d0c] ERROR -- : MIQ(vm_cloud_controller-associate_floating_ip_vm): Unable to associate Floating IP 1 with Instance "cirros-vol1": Invalid input for field/attribute address. Value: 1. u'1' is not valid under any of the given schemas

fog.log
--------
[----] E, [2016-11-29T14:58:57.717398 #2815:bd1d0c] ERROR -- : MIQ(ManageIQ::Providers::Openstack::CloudManager::Vm#raw_associate_floating_ip) vm=[cirros-vol1], floating_ip=[1], error: Expected([200, 202]) <=> Actual(400 Bad Request)
[----] E, [2016-11-29T14:58:57.717594 #2815:bd1d0c] ERROR -- : MIQ(vm_cloud_controller-associate_floating_ip_vm): Unable to associate Floating IP 1 with Instance "cirros-vol1": Invalid input for field/attribute address. Value: 1. u'1' is not valid under any of the given schemas

FYI, I just checked this with Beta2 version of appliance and the error exists there as well.


Note You need to log in before you can comment on or make changes to this bug.