"Get neutron agents ID" play fails when compute node is removed because of "Cloud cloudname was not found."

Solution Verified - Updated -

Issue

  • openstack overcloud node delete ... command fails to remove Neutron agents and prints the following messages:

    Ansible failed, check log at /var/lib/mistral/overcloud/ansible.log.
    WARNING: Scale-down configuration error. Manual cleanup of some actions may be necessary. Continuing with node removal.
    
  • Get neutron agents ID play fails during compute node scale-in because of Cloud <cloudname> was not found. error:

    2024-02-29 13:06:55.252174 | 5254005b-1c73-f14e-456e-00000000008c |      FATAL | Get neutron agents ID | compute-2 -> localhost | error={"changed": false, "cmd": ["openstack", "network", "agent", "list", "--column", "ID", "--column", "Host", "--column", "Binary", "--format", "yaml"], "delta": "0:00:01.932399", "end": "2024-02-29 13:06:55.203192", "msg": "non-zero return code", "rc": 1, "start": "2024-02-29 13:06:53.270793", "stderr": "Cloud overcloud was not found.", "stderr_lines": ["Cloud overcloud was not found."], "stdout": "", "stdout_lines": []}
    

Environment

  • Red Hat OpenStack Platform 16.2

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