Translated message

A translation of this page exists in English.

undercloud director をインストールするとエラーが発生する

Solution Verified - Updated -

Issue

  • openstack undercloud install コマンドで undercloud をインストールすると、以下のエラーが発生します。
+ source /root/stackrc
++ export NOVA_VERSION=1.1
++ NOVA_VERSION=1.1
+++ sudo hiera admin_password
++ export OS_PASSWORD=36b973ca8882a00f74a6505a82ffc819002baf9d
++ OS_PASSWORD=36b973ca8882a00f74a6505a82ffc819002baf9d
++ export OS_AUTH_URL=https://10.10.10.10/24:13000/v2.0
++ OS_AUTH_URL=https://10.10.10.10/24:13000/v2.0
++ export OS_CACERT=/home/stack/undercloud.pem
++ OS_CACERT=/home/stack/undercloud.pem
++ export OS_USERNAME=admin
++ OS_USERNAME=admin
++ export OS_TENANT_NAME=admin
++ OS_TENANT_NAME=admin
++ export COMPUTE_API_VERSION=1.1
++ COMPUTE_API_VERSION=1.1
++ export OS_NO_CACHE=True
++ OS_NO_CACHE=True
+ export INSTACK_ROOT=
+ INSTACK_ROOT=
+ '[' -n '' ']'
+ '[' '!'-f /root/.ssh/authorized_keys ']'
+ sudo mkdir -p /root/.ssh
+ sudo chmod 7000 /root/.ssh/
+ sudo touch /root/.ssh/authorized_keys
+ sudo chmod 600 /root/.ssh/authorized_keys
+ '[' '!'-f /root/.ssh/id_rsa ']'
+ ssh-keygen -b 1024 -N '' -f /root/.ssh/id_rsa
Generating public/private rsa key pair.
Your identification has been saved in /root/.ssh/id_rsa.
Your public key has been saved in /root/.ssh/id_rsa.pub.
The key fingerprint is:
35:dc:a8:fa:76:d8:b7:85:aa:cb:75:93:5c:e2:7d:ae root@hostname03
The key's randomart image is:
+--[ RSA 1024]----+
|                 |
|         . o     |
|          = .    |
|         o .     |
|        S   ..|
|       .   o *   |
|      .o. B o .|
|       oo.oo.o o |
|       .=+....E..|
+-----------------+
+ cat /root/.ssh/id_rsa.pub
+ KEYSTONE_SERVICE=keystone
+ '[' -f /lib/systemd/system/openstack-keystone.service ']'
+ KEYSTONE_SERVICE=openstack-keystone
+ tripleo wait_for 12 10 service openstack-keystone status
DEPRECATION WARNING:Using positional arguments for wait_for is deprecated.
+ sleep 20
++ os-apply-config --key local-ip --type netaddress
[2015/09/15 03:45:00 PM] [WARNING] DEPRECATED: falling back to /var/run/os-collect-config/os_config_files.json
+ export UNDERCLOUD_IP=10.10.10.11
+ UNDERCLOUD_IP=10.10.10.11
+ REGISTER_SERVICE_OPTS=
+ INIT_KEYSTONE_OPTS=
++ hiera service_certificate
+ '[' /home/stack/undercloud.pem '!=' nil ']'
++ hiera controller_public_vip
+ REGISTER_SERVICE_OPTS='-p 10.10.10.10/24'
++ hiera controller_public_vip
+ INIT_KEYSTONE_OPTS='-s 10.10.10.10/24'
+ init-keystone -o 10.10.10.11 -t 14024c0edab62c32b981f463e5d0c520a7fb4ab4 -e admin@example.com -p 36b973ca8882a00f74a6505a82ffc819002baf9d -u root -s 10.10.10.10/24
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - os_cloud_config.keystone - INFO - Role admin was already created.
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - os_cloud_config.keystone - INFO - Tenant admin was already created.
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - os_cloud_config.keystone - INFO - Admin user already exists, skip creation
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - os_cloud_config.keystone - INFO - Admin user is already granted admin role with admin project
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - os_cloud_config.keystone - INFO - Granting admin role to admin user on default domain.
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
2015-09-15 15:45:01 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1):10.10.10.11
Warning:Permanently added '10.10.10.11' (ECDSA) to the list of known hosts.
The following cert files already exist, use --rebuild to remove the existing files before regenerating:
                                                                                                       /etc/keystone/ssl/certs/ca.pem already exists
                                                                                                                                                    /etc/keystone/ssl/private/signing_key.pem already exists
                                                      /etc/keystone/ssl/certs/signing_cert.pem already exists
                                                                                                             Connection to 10.10.10.11 closed.
PKI initialization in init-keystone is deprecated and will be removed.
+ openstack role show ResellerAdmin
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin.Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin.Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin.Attempting to determine version from URL.
ERROR: openstack Could not determine a suitable URL for the plugin
+ openstack role create ResellerAdmin
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin.Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin.Attempting to determine version from URL.
ERROR: openstack Could not determine a suitable URL for the plugin
[2015-09-15 15:45:04,156] (os-refresh-config) [ERROR] during post-configure phase.[Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status 1]

[2015-09-15 15:45:04,157] (os-refresh-config) [ERROR] Aborting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 526, in install
    _run_orc(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 461, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 297, in _run_live_command
    raise RuntimeError('%s failed.See log for details.', name)
RuntimeError:('%s failed.See log for details.', 'os-refresh-config')
ERROR: openstack Command 'instack-install-undercloud' returned non-zero exit status 1
[stack@hostname02 ~]$

Environment

  • Red Hat OpenStack 7.0 (RHOS)

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