port unset failed because of AttributeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
In Progress
|
Undecided
|
Rui Chen |
Bug Description
"port unset" command don't work because of AttributeError, like this:
stack@ubuntu1604 /opt/stack/
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | |
| binding_profile | mykey='myvalue' |
| binding_vif_details | |
| binding_vif_type | unbound |
| binding_vnic_type | normal |
| created_at | 2017-02-
| description | |
| device_id | |
| device_owner | |
| dns_assignment | None |
| dns_name | None |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| | ip_address=
| id | bd161a91-
| ip_address | None |
| mac_address | fa:16:3e:ad:cf:ab |
| name | chenrui_port |
| network_id | 31d87945-
| option_name | None |
| option_value | None |
| port_security_
| project_id | ec3a8427abbf401
| qos_policy_id | None |
| revision_number | 8 |
| security_groups | 2dadea9f-
| status | DOWN |
| subnet_id | None |
| updated_at | 2017-02-
+------
stack@ubuntu1604 /opt/stack/
'Port' object has no attribute 'security_groups'
Changed in python-openstackclient: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
"port set --security-group" command exist same issue.
(openstack) port set --security-group 05c20412- ca08-4efa- ae18-dbca110b55 d0 chenrui_port
'Port' object has no attribute 'security_groups'