Keystone Errors during setup with HP Helion

asked 2015-06-22 09:19:01 -0600

zxcvmp gravatar image

updated 2015-06-22 10:09:58 -0600

mpetason gravatar image

Hello, I have tried to install HP Helion but ran into errors:

++ source /root/tripleo/tripleo-incubator/overcloudrc
+++ export NOVA_VERSION=1.1
+++ NOVA_VERSION=1.1
++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.password
+++ export OS_PASSWORD=4479801b4063f2271ee48e1f1b3eefd057aea6e1
+++ OS_PASSWORD=4479801b4063f2271ee48e1f1b3eefd057aea6e1
++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.endpoint
+++ export OS_AUTH_URL=http://192.0.2.21:5000/v2.0
+++ OS_AUTH_URL=http://192.0.2.21:5000/v2.0
+++ 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 OS_CLOUDNAME=overcloud
+++ OS_CLOUDNAME=overcloud
++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.cacert --key-default ''
+++ export OS_CACERT=/usr/local/share/ca-certificates/ephemeralca-cacert.pem
+++ OS_CACERT=/usr/local/share/ca-certificates/ephemeralca-cacert.pem
++ sed -e 's,\(OS_PASSWORD=\).*$,\14479801b4063f2271ee48e1f1b3eefd057aea6e1,' -e 's,\(OS_AUTH_URL=\).*$,\1http://192.0.2.21:5000/v2.0,' /root/tripleo/tripleo-incubator/overcloudrc
++ scp /root/tripleo/tripleo-incubator/overcloud.stackrc heat-admin@192.0.2.2:
overcloud.stackrc                                                 100%  372     0.4KB/s   00:00
++ ssh heat-admin@192.0.2.2 'sudo su -l -c '\''mv ~heat-admin/overcloud.stackrc ~/'\'''
stdin: is not a tty
++ rm /root/tripleo/tripleo-incubator/overcloud.stackrc
++ set +u
++ export no_proxy=,192.0.2.1,192.0.2.2,192.0.2.21
++ no_proxy=,192.0.2.1,192.0.2.2,192.0.2.21
++ set -u
++ '[' -z '' ']'
++ PUBLIC_API_URL=
++ '[' stack-create = stack-create ']'
++ init-keystone -o 192.0.2.21 -t 5abb72659c4a3dc10a91b71150fd2cad8ef5f693 -e admin.example.com -p 4479801b4063f2271ee48e1f1b3eefd057aea6e1 -u heat-admin
2015-06-22 13:56:23 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1): 192.0.2.21
Traceback (most recent call last):
  File "/usr/local/bin/init-keystone", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/cmd/init_keystone.py", line 76, in main
    args.user, args.timeout, args.pollinterval)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 125, in initialize
    _create_roles(keystone, timeout, poll_interval)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 407, in _create_roles
    _create_role(keystone, 'admin')
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 182, in _create_role
    role = keystone.roles.findall(name=name)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/base.py", line 262, in findall
    for obj in self.list():
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/v2_0/roles.py", line 47, in list
    return self._list("/OS-KSADM/roles", "roles")
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/base.py", line 112, in _list
    resp, body = self.client.get(url, **kwargs)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 611, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 603, in _cs_request
    return self.request(url, method, **kwargs)
  File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 578, in request
    resp = super(HTTPClient, self ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ┬╗ oldest newest most voted
0

answered 2015-06-22 10:19:33 -0600

mpetason gravatar image

You'll need to modify the networking to match what you have configured. You shouldn't be using 192.0.0.0. Instead you may want to change over to 192.168.0.0/24.

+++ export OS_AUTH_URL=http://192.0.2.21:5000/v2.0
+++ OS_AUTH_URL=http://192.0.2.21:5000/v2.0

Modify the networking and then try to install again.

edit flag offensive delete link more
0

answered 2015-06-23 02:56:11 -0600

zxcvmp gravatar image

updated 2015-06-23 03:02:04 -0600

My laptop ip address

Ip : 192.168.1.x

Subnet : 255.255.255.0

GW : 192.168.1.1

HP Helion OpenStack® Community Virtual Installation Server

IBM M2 ( 16GB RAM, 1TB HDD ) < need more RAM ?

Ubuntu 13.10 ip address

192.168.1.32

  1. apt-get update
  2. sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
  3. sudo apt-get install -y libvirt-bin openvswitch-switch python-libvirt qemu-system-x86
  4. ssh-keygen -t rsa
  5. ls -l ~root/.ssh/id_rsa and check the rsa file , it is ok
  6. login the root and download and tar zxvf Helion OpenStack Community Edition
  7. HP_VM_MODE=y bash -x ~root/work/tripleo/tripleo-incubator/scripts/hp_ced_host_manager.sh --create-seed

Install complete

  1. Connect the ssh 192.0.2.1
  2. export OVERCLOUD_NTP_SERVER= 141.223.182.106 -< korea ntp server ip
  3. export UNDERCLOUD_NTP_SERVER=141.223.182.106
  4. export OS_AUTH_URL=http://192.168.1.33:5000/v2.0
  5. bash -x /root/tripleo/tripleo-incubator/scripts/hp_ced_installer.sh

And found error

++ source /root/tripleo/tripleo-incubator/overcloudrc

+++ export NOVA_VERSION=1.1

+++ NOVA_VERSION=1.1

++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.password

+++ export OS_PASSWORD=4479801b4063f2271ee48e1f1b3eefd057aea6e1

+++ OS_PASSWORD=4479801b4063f2271ee48e1f1b3eefd057aea6e1

++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.endpoint

+++ export OS_AUTH_URL=http://192.0.2.21:5000/v2.0

+++ OS_AUTH_URL=http://192.0.2.21:5000/v2.0

+++ 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 OS_CLOUDNAME=overcloud

+++ OS_CLOUDNAME=overcloud

++++ os-apply-config -m /root/tripleo/ce_env.json --type raw --key overcloud.cacert --key-default ''

+++ export OS_CACERT=/usr/local/share/ca-certificates/ephemeralca-cacert.pem

+++ OS_CACERT=/usr/local/share/ca-certificates/ephemeralca-cacert.pem

++ sed -e 's,(OS_PASSWORD=).$,\14479801b4063f2271ee48e1f1b3eefd057aea6e1,' -e 's,(OS_AUTH_URL=).$,\1http://192.0.2.21:5000/v2.0,' /root/tripleo/tripleo-incubator/overcloudrc

++ scp /root/tripleo/tripleo-incubator/overcloud.stackrc heat-admin@192.0.2.2: overcloud.stackrc 100% 372 0.4KB/s 00:00

++ ssh heat-admin@192.0.2.2 'sudo su -l -c '\''mv ~heat-admin/overcloud.stackrc ~/'\''' stdin: is not a tty

++ rm /root/tripleo/tripleo-incubator/overcloud.stackrc

++ set +u

++ export no_proxy=,192.0.2.1,192.0.2.2,192.0.2.21

++ no_proxy=,192.0.2.1,192.0.2.2,192.0.2.21

++ set -u

++ '[' -z '' ']'

++ PUBLIC_API_URL=

++ '[' stack-create = stack-create ']'

++ init-keystone -o 192.0.2.21 -t 5abb72659c4a3dc10a91b71150fd2cad8ef5f693 -e http://admin.example.com -p 4479801b4063f2271ee48e1f1b3eefd057aea6e1 -u heat-admin 2015-06-22 13:56:23 - requests.packages.urllib3.connectionpool - INFO - Starting new HTTP connection (1): 192.0.2.21 Traceback (most recent call last): File "/usr/local/bin/init-keystone", line 10, in sys.exit(main()) File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/cmd/init_keystone.py", line 76, in main args.user, args.timeout, args.pollinterval) File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 125, in initialize _create_roles(keystone, timeout, poll_interval) File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config/keystone.py", line 407, in _create_roles _create_role(keystone, 'admin') File "/opt/stack/venvs/os-cloud-config/local/lib/python2.7/site-packages/os_cloud_config ... (more)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-06-22 09:19:01 -0600

Seen: 195 times

Last updated: Jun 23 '15