Empty output of openstack server list when using pre-provisioned nodes

Solution Verified - Updated -

Environment

  • Red Hat OpenStack Platform 16

Issue

Some commands as openstack server list returns empty in undercloud when using pre-provisioned nodes.

Resolution

This results is expected because the command is based on nodes provisioned by ironic.

Root Cause

The command in undercloud openstack server list is based on ironic database and since the environment not uses ironic, is expected to the output be empty.

Diagnostic Steps

  1. Confirm provisioned nodes in the environment;
  2. Run the command to list the server in undercloud;
(undercloud) [stack@undercloud ~]$ openstack server list
(undercloud) [stack@undercloud ~]$ 
  1. The nodes not provisioned by ironic should not be listed.
  • Component
  • cli

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments