If segment name is specified when executing openstack segment host list command, NotFoundException is output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-masakariclient |
Fix Released
|
Medium
|
takahara.kengo |
Bug Description
If segment name is specified when executing openstack segment host list command, masakariclient output NotFoundException.
$ openstack segment list
+------
| uuid | name | description | service_type | recovery_method |
+------
| aef73c83-
+------
$
$ openstack segment host list testSegment
NotFoundException: Not Found
$
I confirmed the openstack command and the masakari command, and found the following problems.
- When executing openstack segment command, segment name cannot be specified instead of segment id.
- When executing masakari segment-* command and masakari host-* command, segment name cannot be specified instead of segment id.
- When executing masakari host-* command, hostname cannot be specified instead of host id.
Changed in python-masakariclient: | |
assignee: | nobody → Rohanil Raje (rohanil) |
Changed in python-masakariclient: | |
importance: | Undecided → Medium |
Is it expected to work that command for segment_name? Or do you want it to throw more specific error message like "'testsegment' is not uuid" ?