<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/02/13 18:59, James Labocki wrote:<br>
</div>
<blockquote
cite="mid:545339275.10224864.1359997149709.JavaMail.root@redhat.com"
type="cite">
<pre wrap="">
----- Original Message -----
</pre>
<blockquote type="cite">
<pre wrap="">From: "Yaniv Kaul" <a class="moz-txt-link-rfc2396E" href="mailto:ykaul@redhat.com"><ykaul@redhat.com></a>
To: "James Labocki" <a class="moz-txt-link-rfc2396E" href="mailto:jlabocki@redhat.com"><jlabocki@redhat.com></a>
Cc: "rhos-list" <a class="moz-txt-link-rfc2396E" href="mailto:rhos-list@redhat.com"><rhos-list@redhat.com></a>
Sent: Monday, February 4, 2013 11:53:18 AM
Subject: Re: [rhos-list] Packstack Interactive Error
On 04/02/13 18:36, James Labocki wrote:
----- Original Message -----
From: "Yaniv Kaul" <a class="moz-txt-link-rfc2396E" href="mailto:ykaul@redhat.com"><ykaul@redhat.com></a> To: "James Labocki"
<a class="moz-txt-link-rfc2396E" href="mailto:jlabocki@redhat.com"><jlabocki@redhat.com></a> Cc: "rhos-list" <a class="moz-txt-link-rfc2396E" href="mailto:rhos-list@redhat.com"><rhos-list@redhat.com></a> Sent:
Monday, February 4, 2013 11:27:34 AM
Subject: Re: [rhos-list] Packstack Interactive Error
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 <a class="moz-txt-link-abbreviated" href="mailto:keys...root@10.16.46.104">keys...root@10.16.46.104</a> 's password:
<a class="moz-txt-link-abbreviated" href="mailto:root@10.16.46.104">root@10.16.46.104</a> '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=
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
Are you running upstream or downstream? Why do you need stuff
from
EPEL?
Y. Version = openstack-packstack-2012.2.2-0.5.dev318.el6ost.noarch
This is an ancient (relatively) build, please use
<a class="moz-txt-link-freetext" href="https://brewweb.devel.redhat.com/buildinfo?buildID=253313">https://brewweb.devel.redhat.com/buildinfo?buildID=253313</a>
</pre>
</blockquote>
<pre wrap="">
Thanks Yaniv. That is what is included in RHN when I install following the product documentation at access.redhat.com. Should we push a new version to the CDN?</pre>
</blockquote>
<br>
My apologies. Above internal URLs are what we currently test and
hope to release soon as an update on RHN. <br>
We'll push when it's ready (it's already in QE hands).<br>
But now you made me look at the traceback. Perhaps
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=904670">https://bugzilla.redhat.com/show_bug.cgi?id=904670</a>
?<br>
<br>
Y.<br>
<br>
<blockquote
cite="mid:545339275.10224864.1359997149709.JavaMail.root@redhat.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">
I didn't know if I would need something from EPEL, so I defaulted to
enabling it. Is this causing the problem?
Perhaps, but you shouldn't need it.
I suggest
<a class="moz-txt-link-freetext" href="http://download.lab.bos.redhat.com/rel-eng/OpenStack/Folsom/2013-01-30.1">http://download.lab.bos.redhat.com/rel-eng/OpenStack/Folsom/2013-01-30.1</a>
Y.
+
EPEL_RPM_URL=
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
+ grep 'Red Hat Enterprise Linux' /etc/redhat-release
+ rpm -q epel-releasef
+ rpm -Uvh
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
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@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=
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
+
EPEL_RPM_URL=
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
+ grep 'Red Hat Enterprise Linux' /etc/redhat-release
+ rpm -q epel-release
+ rpm -Uvh
<a class="moz-txt-link-freetext" href="http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm">http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</a>
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 <a class="moz-txt-link-abbreviated" href="mailto:rhos-list@redhat.com">rhos-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/rhos-list">https://www.redhat.com/mailman/listinfo/rhos-list</a>
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>