Cannot use security group name in server create
Bug #1687814 reported by
Guang Yee
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-openstackclient |
Fix Released
|
Undecided
|
Rui Chen | ||
Bug Description
openstack server create --security-group foo_security_group ...
failed with the following error:
"Unable to find security_group with name or id 'foo_security_
Using the security ID instead of name works fine.
Doesn't appear we are doing any name to ID dance here.
To post a comment you must log in.
I can't reproduce this issue, specifying security group name to boot server works for me in my local devstack, according to the nova API[1] and latest novaclient[2], security group name is supported, but security group uuid is not present, I think we should support to create server with security group name or uuid in openstackclient, we can do some conversion in osc and pass name to novaclient.
[1]: https:/ /developer. openstack. org/api- ref/compute/ ?expanded= create- server- detail /github. com/openstack/ python- novaclient/ blob/master/ novaclient/ v2/servers. py#L705- L707
[2]: https:/