show server, security_groups does not say which interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
OS is Kilo.
A VM assigned multiple interfaces.
After successfully booted. The server_show command result (attached) will show each interface's add, version and mac on the addresses attributes.
However, the security_groups show a list of security_groups being applied to the VM, not which interface.
It is possible to have different security_groups assigned to interface based on the network an interface attached to.
We need to enhance the security_groups, like the addresses field to indicating which interface, the security_groups belong to.
Here is a return from a server-show command:
In [60]: j1.nova(
OS-Nova:
Out[60]:
{u'OS-DCF:
u'OS-EXT-
u'OS-EXT-
u'OS-EXT-
u'OS-EXT-
u'OS-SRV-
u'OS-SRV-
u'accessIPv4': u'',
u'accessIPv6': u'',
u'addresses': {u'j1-hill-
u'OS-
u'addr': u'10.168.11.3',
u'version': 4}],
u'j1-
u'OS-
u'addr': u'10.168.33.4',
u'version': 4}]},
u'config_drive': u'',
u'created': u'2015-
u'flavor': {u'id': u'2',
u'links': [{u'href': u'http://
u'rel': u'bookmark'}]},
u'hostId': u'9d8ad1717b82e
u'id': u'77d4e009-
u'image': {u'id': u'71bc5bfa-
u'links': [{u'href': u'http://
u'rel': u'bookmark'}]},
u'key_name': None,
u'links': [{u'href': u'http://
u'rel': u'self'},
{u'href': u'http://
u'rel': u'bookmark'}],
u'metadata': {},
u'name': u'j1-hill-top',
u'os-extended-
u'progress': 0,
u'security_
u'status': u'ACTIVE',
u'tenant_id': u'33e12c344b4b4
u'updated': u'2015-
u'user_id': u'1bec88c034174
In [61]:
Changed in nova: | |
assignee: | nobody → Amandeep (rattenpal-amandeep) |
Changed in nova: | |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | Amandeep (rattenpal-amandeep) → nobody |
@Amandeep (rattenpal- amandeep) :
Since you are set as assignee, I switch the status to "In Progress".