After the vm's port name is modified, the port status changes from down to active.
Bug #1819446 reported by
feixiang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Low
|
Kailun Qin |
Bug Description
Hello,
I've faced a problem with ml2 plugin in Neutron (Queens).
steps as as follows:
1. stop VM A, The port status of VM A changes from active to down.
2. update the port name.
3. the port status will change from down to active.
Is this phenomenon correct?
Changed in neutron: | |
assignee: | nobody → Kailun Qin (kailun.qin) |
To post a comment you must log in.
Confirmed using openstackclient.
$ openstack port set --debug --name dev_server1 $id
(snippet from output shows only name in dict() passed to PUT, but status active in response)
REQ: curl -g -i -X PUT http:// 10.18.57. 47:9696/ v2.0/ports/ f6c77196- 41f2-4508- 9c2f-8ee2d43f06 ca -H "Content-Type: application/json" -H "User-Agent: openstacksdk/0.25.0 keystoneauth1/ 3.13.1 python- requests/ 2.21.0 CPython/2.7.15rc1" -H "X-Auth-Token: {SHA256} 0e2dc7a61dbaed5 1728d9266c4cb8b b86bb4020df62fa 636ffe95359ce84 2847" -d '{"port": {"name": "dev_server1"}}' 10.18.57. 47:9696 "PUT /v2.0/ports/ f6c77196- 41f2-4508- 9c2f-8ee2d43f06 ca HTTP/1.1" 200 858 Request- Id: req-4cab95b7- da09-4bc9- 95d5-397a603d22 cf :{"status" :"ACTIVE" ,"created_ at":"2019- 03-11T19: 18:55Z" ,"description" :"","allowed_ address_ pairs": [],"tags" :[],"network_ id":"b86c4ae3- 997c-4c6b- b2fb-7c3c4a1ab0 f6","tenant_ id":"a0680cc922 554cdea984c568c 5461629" ,"extra_ dhcp_opts" :[],"admin_ state_up" :true," updated_ at":"2019- 03-11T19: 19:38Z" ,"name" :"dev_server1" ,"device_ owner": "compute: nova"," revision_ number" :5,"mac_ address" :"fa:16: 3e:c2:63: 23","binding: vnic_type" :"normal" ,"port_ security_ enabled" :true," project_ id":"a0680cc922 554cdea984c568c 5461629" ,"fixed_ ips":[{ "subnet_ id":"4f87cab1- 697d-48bf- b9e4-7d8c62a656 55","ip_ address" :"10.0. 0.45"}, {"subnet_ id":"0c3caf2e- 83a2-4222- 927d-e41e0f2a07 ca","ip_ address" :"fd21: 882e:c594: 0:f816: 3eff:fec2: 6323"}] ,"id":" f6c77196- 41f2-4508- 9c2f-8ee2d43f06 ca","security_ groups" :["bd6c3110- dc9a-4e3d- 833f-062dd530a7 d3"],"device_ id":"37a1408b- 27e0-4291- a011-28ddcf02ea 4b"}}
Manager RegionOne ran task network.PUT.ports in 0.00172185897827s
http://
RESP: [200] Connection: keep-alive Content-Length: 858 Content-Type: application/json Date: Mon, 11 Mar 2019 19:19:39 GMT X-Openstack-
RESP BODY: {"port"