openstack-cli: Openstack service "name" attribute issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Health |
New
|
Undecided
|
Unassigned |
Bug Description
openstack: Wallaby
openstack cli version: 5.5.0
It is not possible to set attribute "name" while creating service or editing service using openstack cli.
command: openstack service create --name glance --description "OpenStack Image" image
result:
ubuntu@host1:~$ openstack service show 923db0ac2228b94
+------
| Field | Value |
+------
| description | OpenStack Image |
| enabled | True |
| id | 923db0ac2228b94
| name | |
| type | image |
+------
It is not possible to update available service name using the following command as well:
command: openstack service set --name "glance" 923db0ac2228b94
Result:
{} does not have enough properties
Failed validating 'minProperties' in schema:
{'additiona
'minProper
'properties': {'enabled': {'enum': [True, False, None],
'type': 'object'}
On instance:
{} (HTTP 400) (Request-ID: req-25ddd6f7-
It also cause some problem in horizon "Admin/
Even other commands have "Service name" missing:
openstack endpoint create --region RegionOne \ controller: 9292 ------- -+----- ------- ------- ------- ------- -+ ------- -+----- ------- ------- ------- ------- -+ 1b9f12a3f5b91d4 d3 | e820c9ed7eaa1a4 c6 | controller: 9292 | ------- -+----- ------- ------- ------- ------- -+
> image internal http://
+------
| Field | Value |
+------
| enabled | True |
| id | 1e7def4db8654d7
| interface | internal |
| region | RegionOne |
| region_id | RegionOne |
| service_id | 80dad59810fa495
| service_name | |
| service_type | image |
| url | http://
+------
openstack service create --name placement \ ------- +------ ------- ------- ------- ------- + ------- +------ ------- ------- ------- ------- + 9a6bdf514564095 8c | ------- +------ ------- ------- ------- ------- + ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- controller: 8778 ------- -+----- ------- ------- ------- ------- -+ ------- -+----- ------- ------- ------- ------- -+ 99363747cd81407 23 | 9a6bdf514564095 8c | controller: 8778 | ------- -+----- ------- ------- ------- ------- -+
> --description "Placement API" placement
+------
| Field | Value |
+------
| description | Placement API |
| enabled | True |
| id | a1923350ce4740e
| name | |
| type | placement |
+------
-------
openstack endpoint create --region RegionOne \
> placement public http://
+------
| Field | Value |
+------
| enabled | True |
| id | d32e5b093f944a1
| interface | public |
| region | RegionOne |
| region_id | RegionOne |
| service_id | a1923350ce4740e
| service_name | |
| service_type | placement |
| url | http://
+------
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- ------- +------ ------- ------- ------- ------- + ------- +------ ------- ------- ------- ------- + 9b623a35c9e6aee 34 | ------- +------ ------- ------- ------- ------- +
openstack service create --name nova \
> --description "OpenStack Compute" compute
+------
| Field | Value |
+------
| description | OpenStack Compute |
| enabled | True |
| id | c4cbbd5cbdb4468
| name | |
| type | compute |
+------