[nova] Admin user cannot create vm with user's port?

Ghanshyam Mann gmann at ghanshyammann.com
Thu Jun 13 04:55:42 UTC 2019


 ---- On Thu, 13 Jun 2019 12:32:21 +0900 Lingxian Kong <anlin.kong at gmail.com> wrote ----
 > Hi Nova team,
 > In Nova, even the admin user cannot specify user's port to create a vm, is that designed intentionally or sounds like a bug?

You can specify that in networks object( networks.port field) [1]. This takes port_id of the existing port. 

[1] https://developer.openstack.org/api-ref/compute/?expanded=create-server-detail
 - https://opendev.org/openstack/nova/src/commit/52d8d3d7f65bed99c25f39e7e38f566346586009/nova/api/openstack/compute/schemas/servers.py 

-gmann

 > 
 > Best regards,
 > Lingxian KongCatalyst Cloud 




More information about the openstack-discuss mailing list