overcloud deployment fails with "No such file or directory: '/home/root'

Solution Verified - Updated -

Issue

  • The "openstack overcloud deploy" command fails with the following traceback message
2021-03-10 12:00:00Z [overcloud-AllNodesDeploySteps-6ddpe3nshivh]: UPDATE_COMPLETE  Stack UPDATE completed successfully
2021-03-10 12:00:01Z [AllNodesDeploySteps]: UPDATE_COMPLETE  state changed
2021-03-10 12:00:02Z [overcloud]: UPDATE_COMPLETE  Stack UPDATE completed successfully

 Stack overcloud/2a4eb057-cc1c-42aa-881c-9915bbdfb95f UPDATE_COMPLETE 

Waiting for messages on queue 'tripleo' with no timeout.
Deploying overcloud configuration
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run 
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run 
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run 
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_deploy.py", line 1085, in take_action
    utils.copy_clouds_yaml(user)
  File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 2045, in copy_clouds_yaml
    clouds_user_id = os.stat(clouds_home_dir).st_uid
FileNotFoundError: [Errno 2] No such file or directory: '/home/root'
[Errno 2] No such file or directory: '/home/root'

Environment

  • Red Hat OpenStack Platform 16.1

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