[rhos-list] Packstack Interactive Error
Yaniv Kaul
ykaul at redhat.com
Mon Feb 4 16:27:34 UTC 2013
On 04/02/13 18:16, James Labocki wrote:
> I ran into the following exception when installing via packstack interactively. I'm not sure if anyone can help debug it or figure out what I am doing incorrect.
>
> -James
>
>
> # packstack
> Welcome to Installer setup utility
> Should Packstack install Glance ['y'| 'n'] [y] : y
> Should Packstack install Cinder ['y'| 'n'] [y] : y
> Should Packstack install Nova ['y'| 'n'] [y] : y
> Should Packstack install Horizon ['y'| 'n'] [y] : y
> Should Packstack install Swift ['y'| 'n'] [n] : y
> Should Packstack install openstack client tools ['y'| 'n'] [y] : y
> Enter the path to your ssh Public key to install on servers [/root/.ssh/id_rsa.pub] :
> Enter the IP address of the MySQL server [10.16.46.104] :
> Enter the password for the MySQL admin user :
> Enter the IP address of the QPID service [10.16.46.104] :
> Enter the IP address of the Keystone server [10.16.46.104] :
> Enter the IP address of the Glance server [10.16.46.104] :
> Enter the IP address of the Cinder server [10.16.46.104] :
> Enter the IP address of the Nova API service [10.16.46.104] :
> Enter the IP address of the Nova Cert service [10.16.46.104] :
> Enter the IP address of the Nova VNC proxy [10.16.46.104] :
> Enter a comma separated list of IP addresses on which to install the Nova Compute services [10.16.46.104] : 10.16.46.104,10.16.46.106
> Enter the Private interface for Flat DHCP on the Nova compute servers [eth1] :
> Enter the IP address of the Nova Network service [10.16.46.104] :
> Enter the Public interface on the Nova network server [eth0] :
> Enter the Private interface for Flat DHCP on the Nova network server [eth1] :
> Enter the IP Range for Flat DHCP ['^([\\d]{1|3}\\.){3}[\\d]{1|3}/\\d\\d?$'] [192.168.32.0/22] :
> Enter the IP Range for Floating IP's ['^([\\d]{1|3}\\.){3}[\\d]{1|3}/\\d\\d?$'] [10.3.4.0/22] :
> Enter the IP address of the Nova Scheduler service [10.16.46.104] :
> Enter the IP address of the client server [10.16.46.104] :
> Enter the IP address of the Horizon server [10.16.46.104] :
> Enter the IP address of the Swift proxy service [10.16.46.104] :
> Enter the Swift Storage servers e.g. host/dev,host/dev [10.16.46.104] :
> Enter the number of swift storage zones, MUST be no bigger than the number of storage devices configured [1] :
> Enter the number of swift storage replicas, MUST be no bigger than the number of storage zones configured [1] :
> Enter FileSystem type for storage nodes ['xfs'| 'ext4'] [ext4] :
> Should packstack install EPEL on each server ['y'| 'n'] [n] : y
> Enter a comma separated list of URLs to any additional yum repositories to install:
> To subscribe each server to Red Hat enter a username here: james.labocki
> To subscribe each server to Red Hat enter your password here :
>
> Installer will be installed using the following configuration:
> ==============================================================
> os-glance-install: y
> os-cinder-install: y
> os-nova-install: y
> os-horizon-install: y
> os-swift-install: y
> os-client-install: y
> ssh-public-key: /root/.ssh/id_rsa.pub
> mysql-host: 10.16.46.104
> mysql-pw: ********
> qpid-host: 10.16.46.104
> keystone-host: 10.16.46.104
> glance-host: 10.16.46.104
> cinder-host: 10.16.46.104
> novaapi-host: 10.16.46.104
> novacert-host: 10.16.46.104
> novavncproxy-hosts: 10.16.46.104
> novacompute-hosts: 10.16.46.104,10.16.46.106
> novacompute-privif: eth1
> novanetwork-host: 10.16.46.104
> novanetwork-pubif: eth0
> novanetwork-privif: eth1
> novanetwork-fixed-range: 192.168.32.0/22
> novanetwork-floating-range: 10.3.4.0/22
> novasched-host: 10.16.46.104
> osclient-host: 10.16.46.104
> os-horizon-host: 10.16.46.104
> os-swift-proxy: 10.16.46.104
> os-swift-storage: 10.16.46.104
> os-swift-storage-zones: 1
> os-swift-storage-replicas: 1
> os-swift-storage-fstype: ext4
> use-epel: y
> additional-repo:
> rh-username: james.labocki
> rh-password: ********
> Proceed with the configuration listed above? (yes|no): yes
>
> Installing:
> Clean Up... [ DONE ]
> Running Pre install scripts... [ DONE ]
> Setting Up ssh keys...root at 10.16.46.104's password:
> root at 10.16.46.104's password:
> [ DONE ]
> Create MySQL Manifest... [ DONE ]
> Creating QPID Manifest... [ DONE ]
> Creating Keystone Manifest... [ DONE ]
> Adding Glance Keystone Manifest entries... [ DONE ]
> Creating Galnce Manifest... [ DONE ]
> Adding Cinder Keystone Manifest entries... [ DONE ]
> Checking if the Cinder server has a cinder-volumes vg... [ DONE ]
> Creating Cinder Manifest... [ DONE ]
> Adding Nova API Manifest entries... [ DONE ]
> Adding Nova Keystone Manifest entries... [ DONE ]
> Adding Nova Cert Manifest entries... [ DONE ]
> Adding Nova Compute Manifest entries... [ DONE ]
> Adding Nova Network Manifest entries... [ DONE ]
> Adding Nova Scheduler Manifest entries... [ DONE ]
> Adding Nova VNC Proxy Manifest entries... [ DONE ]
> Adding Nova Common Manifest entries... [ DONE ]
> Creating OS Client Manifest... [ DONE ]
> Creating OS Horizon Manifest... [ DONE ]
> Adding Swift Keystone Manifest entries... [ DONE ]
> Creating OS Swift builder Manifests... [ DONE ]
> Creating OS Swift proxy Manifests... [ DONE ]
> Creating OS Swift storage Manifests... [ DONE ]
> Creating OS Swift Common Manifests... [ DONE ]
> Preparing Servers...ERROR:root:============= STDERR ==========
> ERROR:root:Warning: Permanently added '10.16.46.104' (RSA) to the list of known hosts.
> + trap t ERR
> +++ uname -i
> ++ '[' x86_64 = x86_64 ']'
> ++ echo x86_64
> + export EPEL_RPM_URL=http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Are you running upstream or downstream? Why do you need stuff from EPEL?
Y.
> + EPEL_RPM_URL=http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> + grep 'Red Hat Enterprise Linux' /etc/redhat-release
> + rpm -q epel-release
> + rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> warning: /var/tmp/rpm-tmp.WAbeqC: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
> + mkdir -p /var/tmp/ecf8e442-fd38-4510-a370-c385e1460387/manifests
> + rpm -q epel-release
> + yum install -y yum-plugin-priorities
> Unable to read consumer identity
> Warning: RPMDB altered outside of yum.
> + rpm -q epel-release
> + openstack-config --set /etc/yum.repos.d/redhat.repo rhel-server-ost-6-folsom-rpms priority 1
> Traceback (most recent call last):
> File "/usr/bin/openstack-config", line 49, in <module>
> conf.readfp(open(cfgfile))
> IOError: [Errno 2] No such file or directory: '/etc/yum.repos.d/redhat.repo'
> + true
> + subscription-manager register --username=james.labocki '--password=********' --autosubscribe
> + subscription-manager list --consumed
> + grep -i openstack
> ++ subscription-manager list --available
> ++ grep -e 'Red Hat OpenStack' -m 1 -A 2
> ++ grep 'Pool Id'
> ++ awk '{print $3}'
> + subscription-manager subscribe --pool
> Usage: subscription-manager subscribe [OPTIONS]
>
> ++ t
> ++ exit 2
>
> [ ERROR ]
> ERROR:root:Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 795, in main
> _main(confFile)
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 591, in _main
> runSequences()
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 567, in runSequences
> controller.runAllSequences()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 57, in runAllSequences
> sequence.run()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 154, in run
> step.run()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run
> function()
> File "/usr/lib/python2.6/site-packages/packstack/plugins/serverprep_901.py", line 139, in serverprep
> server.execute(maskList=[controller.CONF["CONFIG_RH_PASSWORD"].strip()])
> File "/usr/lib/python2.6/site-packages/packstack/installer/common_utils.py", line 399, in execute
> raise ScriptRuntimeError("Error running remote script")
> ScriptRuntimeError: Error running remote script
>
> Error running remote script
> Please check log file /var/tmp/ecf8e442-fd38-4510-a370-c385e1460387/openstack-setup_2013_02_01_15_19_12.log for more information
> [root at rhc-05 ~]# cat /var/tmp/ecf8e442-fd38-4510-a370-c385e1460387/openstack-setup_2013_02_01_15_19_12.log
> 2013-02-01 15:22:45::ERROR::common_utils::394::root:: ============= STDERR ==========
> 2013-02-01 15:22:45::ERROR::common_utils::395::root:: Warning: Permanently added '10.16.46.104' (RSA) to the list of known hosts.
> + trap t ERR
> +++ uname -i
> ++ '[' x86_64 = x86_64 ']'
> ++ echo x86_64
> + export EPEL_RPM_URL=http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> + EPEL_RPM_URL=http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> + grep 'Red Hat Enterprise Linux' /etc/redhat-release
> + rpm -q epel-release
> + rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
> warning: /var/tmp/rpm-tmp.WAbeqC: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
> + mkdir -p /var/tmp/ecf8e442-fd38-4510-a370-c385e1460387/manifests
> + rpm -q epel-release
> + yum install -y yum-plugin-priorities
> Unable to read consumer identity
> Warning: RPMDB altered outside of yum.
> + rpm -q epel-release
> + openstack-config --set /etc/yum.repos.d/redhat.repo rhel-server-ost-6-folsom-rpms priority 1
> Traceback (most recent call last):
> File "/usr/bin/openstack-config", line 49, in <module>
> conf.readfp(open(cfgfile))
> IOError: [Errno 2] No such file or directory: '/etc/yum.repos.d/redhat.repo'
> + true
> + subscription-manager register --username=james.labocki '--password=********' --autosubscribe
> + subscription-manager list --consumed
> + grep -i openstack
> ++ subscription-manager list --available
> ++ grep -e 'Red Hat OpenStack' -m 1 -A 2
> ++ grep 'Pool Id'
> ++ awk '{print $3}'
> + subscription-manager subscribe --pool
> Usage: subscription-manager subscribe [OPTIONS]
>
> ++ t
> ++ exit 2
>
> 2013-02-01 15:22:45::ERROR::run_setup::803::root:: Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 795, in main
> _main(confFile)
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 591, in _main
> runSequences()
> File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 567, in runSequences
> controller.runAllSequences()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 57, in runAllSequences
> sequence.run()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 154, in run
> step.run()
> File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run
> function()
> File "/usr/lib/python2.6/site-packages/packstack/plugins/serverprep_901.py", line 139, in serverprep
> server.execute(maskList=[controller.CONF["CONFIG_RH_PASSWORD"].strip()])
> File "/usr/lib/python2.6/site-packages/packstack/installer/common_utils.py", line 399, in execute
> raise ScriptRuntimeError("Error running remote script")
> ScriptRuntimeError: Error running remote script
>
>
>
> _______________________________________________
> rhos-list mailing list
> rhos-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhos-list
More information about the rhos-list
mailing list