Public bug reported: I am creating a port and then spawning a VM attached to this port with customised security group. Security group should also be updated on the port during VM creation.
$ openstack server create --flavor 1 --image
341b5f08-43be-4a23-9b8b-277b072c8832 --security-group
b96e1775-a71c-4289-a29a-78a1e446321e --nic
port-id=d1c5b4f4-9ed9-42fb-ae25-c497292e46b6 myvm
+-------------------------------------+-----------------------------------------------------------------+
| Field | Value
|
+-------------------------------------+-----------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL
|
| OS-EXT-AZ:availability_zone |
|
| OS-EXT-SRV-ATTR:host | None
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | None
|
| OS-EXT-SRV-ATTR:instance_name |
|
| OS-EXT-STS:power_state | NOSTATE
|
| OS-EXT-STS:task_state | scheduling
|
| OS-EXT-STS:vm_state | building
|
| OS-SRV-USG:launched_at | None
|
| OS-SRV-USG:terminated_at | None
|
| accessIPv4 |
|
| accessIPv6 |
|
| addresses |
|
| adminPass | xjyYP7viwHMk
|
| config_drive |
|
| created | 2018-04-24T11:49:51Z
|
| flavor | m1.tiny (1)
|
| hostId |
|
| id | c219edd4-abde-4cb5-87a5-b6c14aac80bd
|
| image | cirros-0.3.5-x86_64-disk
(341b5f08-43be-4a23-9b8b-277b072c8832) |
| key_name | None
|
| name | myvm
|
| progress | 0
|
| project_id | 00c278d1bc154eb7b42bde6a5c83742c
|
| properties |
|
| security_groups |
name='b96e1775-a71c-4289-a29a-78a1e446321e' |
| status | BUILD
|
| updated | 2018-04-24T11:49:52Z
|
| user_id | 034125b1cf114bf1a9f66f6e120abc8c
|
| volumes_attached |
|
+-------------------------------------+-----------------------------------------------------------------+
$ openstack port show d1c5b4f4-9ed9-42fb-ae25-c497292e46b6
+-----------------------+-----------------------------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+-----------------------------------------------------------------------------------------------------+
| admin_state_up | UP
|
| allowed_address_pairs |
|
| binding_host_id |
|
| binding_profile |
|
| binding_vif_details |
|
| binding_vif_type | unbound
|
| binding_vnic_type | normal
|
| created_at | 2018-04-24T11:48:54Z
|
| data_plane_status | None
|
| description |
|
| device_id |
|
| device_owner |
|
| dns_assignment | None
|
| dns_domain | None
|
| dns_name | None
|
| extra_dhcp_opts |
|
| fixed_ips | ip_address='10.0.0.5',
subnet_id='31687fc5-8079-43aa-b194-eb3c784dd2c1' |
| | ip_address='fdec:3df9:d23f:0:f816:3eff:fe54:81e3',
subnet_id='a5b60f67-b12d-454f-87f7-eab317a50fca' |
| id | d1c5b4f4-9ed9-42fb-ae25-c497292e46b6
|
| ip_address | None
|
| mac_address | fa:16:3e:54:81:e3
|
| name | myport
|
| network_id | 99aa5942-5930-47fe-a5b8-d92bfe183b78
|
| option_name | None
|
| option_value | None
|
| port_security_enabled | True
|
| project_id | 00c278d1bc154eb7b42bde6a5c83742c
|
| qos_policy_id | None
|
| revision_number | 14
|
| security_group_ids | 705eb330-a820-4e9c-9a28-f85ac8021add
|
| status | DOWN
|
| subnet_id | None
|
| tags |
|
| trunk_details | None
|
| updated_at | 2018-04-24T11:50:04Z
|
+-----------------------+-----------------------------------------------------------------------------------------------------+
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1766623
Title:
Neutron port not updated with customised security group
Status in OpenStack Compute (nova):
New
Bug description:
I am creating a port and then spawning a VM attached to this port with
customised security group. Security group should also be updated on
the port during VM creation.
$ openstack server create --flavor 1 --image
341b5f08-43be-4a23-9b8b-277b072c8832 --security-group
b96e1775-a71c-4289-a29a-78a1e446321e --nic
port-id=d1c5b4f4-9ed9-42fb-ae25-c497292e46b6 myvm
+-------------------------------------+-----------------------------------------------------------------+
| Field | Value
|
+-------------------------------------+-----------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL
|
| OS-EXT-AZ:availability_zone |
|
| OS-EXT-SRV-ATTR:host | None
|
| OS-EXT-SRV-ATTR:hypervisor_hostname | None
|
| OS-EXT-SRV-ATTR:instance_name |
|
| OS-EXT-STS:power_state | NOSTATE
|
| OS-EXT-STS:task_state | scheduling
|
| OS-EXT-STS:vm_state | building
|
| OS-SRV-USG:launched_at | None
|
| OS-SRV-USG:terminated_at | None
|
| accessIPv4 |
|
| accessIPv6 |
|
| addresses |
|
| adminPass | xjyYP7viwHMk
|
| config_drive |
|
| created | 2018-04-24T11:49:51Z
|
| flavor | m1.tiny (1)
|
| hostId |
|
| id | c219edd4-abde-4cb5-87a5-b6c14aac80bd
|
| image | cirros-0.3.5-x86_64-disk
(341b5f08-43be-4a23-9b8b-277b072c8832) |
| key_name | None
|
| name | myvm
|
| progress | 0
|
| project_id | 00c278d1bc154eb7b42bde6a5c83742c
|
| properties |
|
| security_groups |
name='b96e1775-a71c-4289-a29a-78a1e446321e' |
| status | BUILD
|
| updated | 2018-04-24T11:49:52Z
|
| user_id | 034125b1cf114bf1a9f66f6e120abc8c
|
| volumes_attached |
|
+-------------------------------------+-----------------------------------------------------------------+
$ openstack port show d1c5b4f4-9ed9-42fb-ae25-c497292e46b6
+-----------------------+-----------------------------------------------------------------------------------------------------+
| Field | Value
|
+-----------------------+-----------------------------------------------------------------------------------------------------+
| admin_state_up | UP
|
| allowed_address_pairs |
|
| binding_host_id |
|
| binding_profile |
|
| binding_vif_details |
|
| binding_vif_type | unbound
|
| binding_vnic_type | normal
|
| created_at | 2018-04-24T11:48:54Z
|
| data_plane_status | None
|
| description |
|
| device_id |
|
| device_owner |
|
| dns_assignment | None
|
| dns_domain | None
|
| dns_name | None
|
| extra_dhcp_opts |
|
| fixed_ips | ip_address='10.0.0.5',
subnet_id='31687fc5-8079-43aa-b194-eb3c784dd2c1' |
| | ip_address='fdec:3df9:d23f:0:f816:3eff:fe54:81e3',
subnet_id='a5b60f67-b12d-454f-87f7-eab317a50fca' |
| id | d1c5b4f4-9ed9-42fb-ae25-c497292e46b6
|
| ip_address | None
|
| mac_address | fa:16:3e:54:81:e3
|
| name | myport
|
| network_id | 99aa5942-5930-47fe-a5b8-d92bfe183b78
|
| option_name | None
|
| option_value | None
|
| port_security_enabled | True
|
| project_id | 00c278d1bc154eb7b42bde6a5c83742c
|
| qos_policy_id | None
|
| revision_number | 14
|
| security_group_ids | 705eb330-a820-4e9c-9a28-f85ac8021add
|
| status | DOWN
|
| subnet_id | None
|
| tags |
|
| trunk_details | None
|
| updated_at | 2018-04-24T11:50:04Z
|
+-----------------------+-----------------------------------------------------------------------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1766623/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp

