Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 693962 Details for
Bug 908373
Quantum: adding fixed ip to an instance on a network with two subnets using NOVA will results with two ip address
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
two ips example
file_908373.txt (text/plain), 8.33 KB, created by
Ofer Blaut
on 2013-02-06 14:42:03 UTC
(
hide
)
Description:
two ips example
Filename:
MIME Type:
Creator:
Ofer Blaut
Created:
2013-02-06 14:42:03 UTC
Size:
8.33 KB
patch
obsolete
> >[root@intg-vdsb ~(keystone_admin)]$ quantum net-list >+--------------------------------------+-------------+--------------------------------------+ >| id | name | subnets | >+--------------------------------------+-------------+--------------------------------------+ >| 1d67c186-6ba9-4613-89ab-04efb6f1bc3e | NET-SHARE-1 | 509b1333-d13d-4128-9ca2-4b5972ce2b53 | >| | | 8260f96f-195d-4046-8f31-1d1d38a67dde | >+--------------------------------------+-------------+--------------------------------------+ > >+----------------+-----------------------------------------------------------------------------------+ >[root@intg-vdsb ~(keystone_admin)]$ quantum port-list >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ >| id | name | mac_address | fixed_ips | >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ >| d236108a-fe21-49d3-804d-e5dc4303f1cc | | fa:16:3e:be:8f:d4 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.6"} | >| 180a8f2e-d7f6-410b-81af-55c13652ac0f | | fa:16:3e:1f:22:21 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.2"} | >| e67c9e37-7a47-47ed-bdf5-be8c770677ee | | fa:16:3e:21:fa:69 | {"subnet_id": "8260f96f-195d-4046-8f31-1d1d38a67dde", "ip_address": "32.32.32.1"} | >| | | | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.5"} | >| dc76b188-d14d-4eca-9413-282a90a2f77f | | fa:16:3e:60:82:79 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.4"} | >| 50fc0e21-eeb9-4107-b6a3-0d0823e66fd2 | | fa:16:3e:f1:9e:b1 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.3"} | >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ >[root@intg-vdsb ~(keystone_admin)]$ nova list >+--------------------------------------+------------+--------+------------------------+ >| ID | Name | Status | Networks | >+--------------------------------------+------------+--------+------------------------+ >| 1359df12-08f0-4b91-9971-d32ab373644f | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.3 | >| 23c43998-5d55-44a3-a5a9-3d5aaffce2b9 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.2 | >| a3860d2b-e2ea-472f-be65-71d4dc903e49 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.4 | >| 90a9aaa2-a76d-45f1-a672-485c4a821b10 | VM1 | ACTIVE | NET-SHARE-1=34.34.34.6 | >+--------------------------------------+------------+--------+------------------------+ > >#### Removing ip address from VM1 ############################# > > >[root@intg-vdsb ~(keystone_admin)]$ nova remove-fixed-ip 90a9aaa2-a76d-45f1-a672-485c4a821b10 34.34.34.6 >[root@intg-vdsb ~(keystone_admin)]$ nova list >+--------------------------------------+------------+--------+------------------------+ >| ID | Name | Status | Networks | >+--------------------------------------+------------+--------+------------------------+ >| 1359df12-08f0-4b91-9971-d32ab373644f | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.3 | >| 23c43998-5d55-44a3-a5a9-3d5aaffce2b9 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.2 | >| a3860d2b-e2ea-472f-be65-71d4dc903e49 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.4 | >| 90a9aaa2-a76d-45f1-a672-485c4a821b10 | VM1 | ACTIVE | | >+--------------------------------------+------------+--------+------------------------+ > >############# Checking ip address has be removed ##################### > >[root@intg-vdsb ~(keystone_admin)]$ quantum port-list >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ >| id | name | mac_address | fixed_ips | >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ >| d236108a-fe21-49d3-804d-e5dc4303f1cc | | fa:16:3e:be:8f:d4 | | >| 180a8f2e-d7f6-410b-81af-55c13652ac0f | | fa:16:3e:1f:22:21 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.2"} | >| e67c9e37-7a47-47ed-bdf5-be8c770677ee | | fa:16:3e:21:fa:69 | {"subnet_id": "8260f96f-195d-4046-8f31-1d1d38a67dde", "ip_address": "32.32.32.1"} | >| | | | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.5"} | >| dc76b188-d14d-4eca-9413-282a90a2f77f | | fa:16:3e:60:82:79 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.4"} | >| 50fc0e21-eeb9-4107-b6a3-0d0823e66fd2 | | fa:16:3e:f1:9e:b1 | {"subnet_id": "509b1333-d13d-4128-9ca2-4b5972ce2b53", "ip_address": "34.34.34.3"} | >+--------------------------------------+------+-------------------+-----------------------------------------------------------------------------------+ > > > >[root@intg-vdsb ~(keystone_admin)]$ quantum port-show d236108a-fe21-49d3-804d-e5dc4303f1cc >+----------------+--------------------------------------+ >| Field | Value | >+----------------+--------------------------------------+ >| admin_state_up | True | >| device_id | 90a9aaa2-a76d-45f1-a672-485c4a821b10 | >| device_owner | compute:nova | >| fixed_ips | | >| id | d236108a-fe21-49d3-804d-e5dc4303f1cc | >| mac_address | fa:16:3e:be:8f:d4 | >| name | | >| network_id | 1d67c186-6ba9-4613-89ab-04efb6f1bc3e | >| status | ACTIVE | >| tenant_id | f2ab70e6773146b69c5d9ce5f4d7e8b8 | >+----------------+--------------------------------------+ >[root@intg-vdsb ~(keystone_admin)]$ quantum net-list >+--------------------------------------+-------------+--------------------------------------+ >| id | name | subnets | >+--------------------------------------+-------------+--------------------------------------+ >| 1d67c186-6ba9-4613-89ab-04efb6f1bc3e | NET-SHARE-1 | 509b1333-d13d-4128-9ca2-4b5972ce2b53 | >| | | 8260f96f-195d-4046-8f31-1d1d38a67dde | >+--------------------------------------+-------------+--------------------------------------+ > >####################### ADD new ip address from the NETWORK ( which include two subnets ) ############################## > >[root@intg-vdsb ~(keystone_admin)]$ nova add-fixed-ip 90a9aaa2-a76d-45f1-a672-485c4a821b10 1d67c186-6ba9-4613-89ab-04efb6f1bc3e >[root@intg-vdsb ~(keystone_admin)]$ nova list >+--------------------------------------+------------+--------+------------------------------------+ >| ID | Name | Status | Networks | >+--------------------------------------+------------+--------+------------------------------------+ >| 1359df12-08f0-4b91-9971-d32ab373644f | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.3 | >| 23c43998-5d55-44a3-a5a9-3d5aaffce2b9 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.2 | >| a3860d2b-e2ea-472f-be65-71d4dc903e49 | VM-FED17-2 | ACTIVE | NET-SHARE-1=34.34.34.4 | >| 90a9aaa2-a76d-45f1-a672-485c4a821b10 | VM1 | ACTIVE | NET-SHARE-1=34.34.34.6, 32.32.32.2 | >+--------------------------------------+------------+--------+------------------------------------+ >[root@intg-vdsb ~(keystone_admin)]$ rpm -qa | grep quantum >openstack-quantum-nicira-2012.2.1-6.el6ost.noarch >python-quantumclient-2.1.10-1.el6ost.noarch >openstack-quantum-2012.2.1-6.el6ost.noarch
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 908373
: 693962