Openstack cli return wrong aggreate when aggreate name starts with a number

Solution In Progress - Updated -

Issue

  • Aggregate name starts with a number that matches the id of another aggregate
    • For example the aggregate 20test starts with the id of 7test
 openstack aggregate create 20test
(overcloud) [stack@undercloud-0 ~]$ openstack aggregate list
+----+--------+-------------------+
| ID | Name   | Availability Zone |
+----+--------+-------------------+
| 14 | 8test  | None              |
| 17 | test   | None              |
| 20 | 7test  | None              |
| 23 | 20test | None              |
+----+--------+-------------------+
  • openstack aggregate show returns wrong aggregate
  • openstack aggregate set applies properties to wrong aggregate
  • openstack aggregate add host adds host to wrong aggregate
  • openstack aggregate delete deletes wrong aggregate

Environment

  • Red Hat Openstack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content