Cannot associate floating IP to baremetal

Bug #1483646 reported by Kyrylo Romanenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Andrey Shestakov
7.0.x
Invalid
High
Andrey Shestakov

Bug Description

Could not associate floating IP to baremetal node (virtual emulation of BM over fuel_ssh driver)

Got error message:
Error: External network 7621bb83-e578-44ea-98a9-78b80380e362 is not reachable from subnet de804e03-bc65-41a8-81ae-5ffbb9e4c42e. Therefore, cannot associate Port d078cd7a-ac36-4029-9f82-6ab2079d306b with a Floating IP.
Error: Unable to associate IP address 172.16.51.154.

Where
External network ID: 7621bb83-e578-44ea-98a9-78b80380e362
Baremetal network subnet: de804e03-bc65-41a8-81ae-5ffbb9e4c42e
d078cd7a-ac36-4029-9f82-6ab2079d306b - Neutron port of baremetal instance IP Address.

# neutron port-list
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| d078cd7a-ac36-4029-9f82-6ab2079d306b | | 64:c1:5f:3f:b8:8b | {"subnet_id": "de804e03-bc65-41a8-81ae-5ffbb9e4c42e", "ip_address": "10.109.32.68"} |
| 26f52872-f358-45fb-8f1b-ee51033053bc | | fa:16:3e:fc:81:65 | {"subnet_id": "ff962661-b2e0-4629-8773-02aafc0ca771", "ip_address": "192.168.111.1"} |
| 6725801b-b131-4c6d-a4fd-fe3413a87ebb | | fa:16:3e:ec:86:ec | {"subnet_id": "de804e03-bc65-41a8-81ae-5ffbb9e4c42e", "ip_address": "10.109.32.52"} |
| 705ba4ba-5a79-4c9f-8cc2-f7cec1f31aee | | fa:16:3e:a9:7c:af | {"subnet_id": "6e972608-5ea2-4972-93a3-7846c5cddfeb", "ip_address": "172.16.51.155"} |
| f587ef0b-2743-4659-b9bc-74ef060b8f63 | | fa:16:3e:00:5b:8f | {"subnet_id": "6e972608-5ea2-4972-93a3-7846c5cddfeb", "ip_address": "172.16.51.154"} |
| f8b08d64-cc9b-4aac-b5c0-2393706c688c | | fa:16:3e:3f:c8:87 | {"subnet_id": "ff962661-b2e0-4629-8773-02aafc0ca771", "ip_address": "192.168.111.2"} |
| fdf32439-63d2-4d15-ae1d-d4608e163b54 | | fa:16:3e:cd:c6:f7 | {"subnet_id": "6e972608-5ea2-4972-93a3-7846c5cddfeb", "ip_address": "172.16.51.153"} |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+

root@node-1:~# ironic port-list
+--------------------------------------+-------------------+
| UUID | Address |
+--------------------------------------+-------------------+
| 6e09b83d-5da6-41a7-b201-b6582491bff6 | 64:fa:89:3f:2f:20 |
| 701fcb33-e8e4-4999-b306-4f832985435e | 64:c1:5f:3f:b8:8b |
+--------------------------------------+-------------------+

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "7.0"
  openstack_version: "2015.1.0-7.0"
  api: "1.0"
  build_number: "139"
  build_id: "2015-08-05_21-24-26"
  nailgun_sha: "c842770d56680d0e0cdf3573d329ce36d4fb2c64"
  python-fuelclient_sha: "28ddd022fd230fde0e88f2f3e4a6a6dddcb58abe"
  fuel-agent_sha: "1fe47720ba554818a0be707f2e16281791492d50"
  fuel-nailgun-agent_sha: "1512b9af6b41cc95c4d891c593aeebe0faca5a63"
  astute_sha: "e1d3a435e5df5b40cbfb1a3acf80b4176d15a2dc"
  fuel-library_sha: "347d51f391a6f2c621006c00e3416718140889ac"
  fuel-ostf_sha: "5cb828f6200e5ae0da63dd39d11fbf910237db95"
  fuelmain_sha: "858a4ee8336789c10c5c2189c3718f9a605d0eeb"

Nodes:
1 Controller+Ironic
1 Compute
1 Cinder
2 Unallocated nodes to be used as beremetal

Neutron VLAN network manager.
All nodes tied to Storage network via eth5 interface.

Tags: ironic
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

It is needed to create interface that connects router to baremetal subnet. This resolves current issue.
But by default baremetal subnet have no access to router.
See network topology graph:

Changed in mos:
status: New → Confirmed
Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Andrey, please review the fix and backport to 7.0 if applicable. If not, please update the status accordingly (Won't Fix or Invalid).

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

We didn't have Ironic in 7.0, so we can just close the bug as Invalid

Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Was tested on:
api: '1.0'
astute_sha: 0f753467a3f16e4d46e7e9f1979905fb178e4d5b
auth_required: true
build_id: 2015-10-01_13-34-07
build_number: '137'
feature_groups:
- mirantis
fuel-agent_sha: e881f0dabd09af4be4f3e22768b02fe76278e20e
fuel-library_sha: c0e243ccb24a8fc8ba56e03c89ed0ec94a0e9e88
fuel-nailgun-agent_sha: d66f188a1832a9c23b04884a14ef00fc5605ec6d
fuel-nailgun_sha: 47cce1316dd232c7c14e16eebfc6a484939a649c
fuel-ostf_sha: 812c99303df05553b2872581b1f44b4a8c3b708c
fuelmain_sha: 8e5e75302b2534fd38e4b41b795957111ac75543
openstack_version: 2015.1.0-8.0
production: docker
python-fuelclient_sha: 286939d3be220828f52e73b65928ed39662e1853
release: '8.0'
release_versions:
  2015.1.0-8.0:
    VERSION:
      api: '1.0'
      astute_sha: 0f753467a3f16e4d46e7e9f1979905fb178e4d5b
      build_id: 2015-10-01_13-34-07
      build_number: '137'
      feature_groups:
      - mirantis
      fuel-agent_sha: e881f0dabd09af4be4f3e22768b02fe76278e20e
      fuel-library_sha: c0e243ccb24a8fc8ba56e03c89ed0ec94a0e9e88
      fuel-nailgun-agent_sha: d66f188a1832a9c23b04884a14ef00fc5605ec6d
      fuel-nailgun_sha: 47cce1316dd232c7c14e16eebfc6a484939a649c
      fuel-ostf_sha: 812c99303df05553b2872581b1f44b4a8c3b708c
      fuelmain_sha: 8e5e75302b2534fd38e4b41b795957111ac75543
      openstack_version: 2015.1.0-8.0
      production: docker
      python-fuelclient_sha: 286939d3be220828f52e73b65928ed39662e1853
      release: '8.0'

Changed in mos:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.