Issue with Director/undercloud node installation

Solution Unverified - Updated -

Issue

  • Error executing on openstack undercloud install:
+ echo '--------------------- END PROFILING ---------------------'
--------------------- END PROFILING ---------------------
INFO: 2015-10-13 12:36:13,406 -- ############### End stdout/stderr logging ###############
INFO: 2015-10-13 12:36:13,410 -- Ending run of instack.
Instack completed successfully
Running os-refresh-config
os-refresh-config completed successfully
Copy stackrc failed: cp: cannot stat â/root/stackrcâ: No such file or directory

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 527, in install
    _configure_ssh_keys()
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 491, in _configure_ssh_keys
    _run_command(args, name='Copy stackrc')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 274, in _run_command
    env=env)
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['sudo', 'cp', '/root/stackrc', '/home/stack']' returned non-zero exit status 1
ERROR: openstack Command 'instack-install-undercloud' returned non-zero exit status 1
[stack@rhopdral01 ~]$ sudo -l
Matching Defaults entries for stack on this host:
    env_keep+=EDITOR, logfile=/var/log/sudolog

Environment

  • Red Hat Open Stack 7

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