[rhos-list] Packstack Interactive Error

James Labocki jlabocki at redhat.com
Mon Feb 4 19:47:06 UTC 2013


I attempted using openstack-packstack-2012.2.2-0.8.dev346.el6ost.noarch.rpm that you directed me to. Unfortunately it appears it requires RHEL 6.4.

"OS support check... Host 10.16.46.104: RHEL version not supported. RHEL >6.4 required"

RHEL 6.4 is not unavailable in RHN at this time. I believe that anyone outside of Red Hat trying to use the Folsom installation documentation might conclude that they could use packstack and RHEL 6.3, but I'm worried they would run into this same problem that I have encountered and not be able to complete installation using packstack. Is the correct action:

1. Amend the installation documentation at access.redhat.com to remove the references to packstack until openstack-packstack-2012.2.2-0.8.dev346.el6ost.noarch.rpm and RHEL 6.4 are available in RHN.

2. Continue to find the root cause of the issue I am encountering with openstack-packstack-2012.2.2-0.5.dev318.el6ost.noarch and RHEL 6.3

-James

----- Original Message -----
> From: "Martin Magr" <mmagr at redhat.com>
> To: "Yaniv Kaul" <ykaul at redhat.com>
> Cc: "James Labocki" <jlabocki at redhat.com>, "rhos-list" <rhos-list at redhat.com>
> Sent: Monday, February 4, 2013 12:37:32 PM
> Subject: Re: [rhos-list] Packstack Interactive Error
> 
> 
> On 02/04/2013 06:10 PM, Yaniv Kaul wrote:
> 
> 
> 
> On 04/02/13 18:59, James Labocki wrote:
> 
> 
> ----- Original Message -----
> 
> From: "Yaniv Kaul" <ykaul at redhat.com> To: "James Labocki"
> <jlabocki at redhat.com> Cc: "rhos-list" <rhos-list at redhat.com> 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" <ykaul at redhat.com> To: "James Labocki"
> <jlabocki at redhat.com> Cc: "rhos-list" <rhos-list at redhat.com> 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 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. Version = openstack-packstack-2012.2.2-0.5.dev318.el6ost.noarch
> This is an ancient (relatively) build, please use
> https://brewweb.devel.redhat.com/buildinfo?buildID=253313 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?
> My apologies. Above internal URLs are what we currently test and hope
> to release soon as an update on RHN.
> We'll push when it's ready (it's already in QE hands).
> But now you made me look at the traceback. Perhaps
> https://bugzilla.redhat.com/show_bug.cgi?id=904670 ?
> 
> Y.
> 
> This is the same problem IMHO. Following says that you are missing
> /etc/yum.repos.d/redhat.repo file.
> 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'
> And I think this happens, when packstack tries to set priority of
> folsom repo.
> 
> 
> 
> 
> 
> 
> 
> 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
> http://download.lab.bos.redhat.com/rel-eng/OpenStack/Folsom/2013-01-30.1
> 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-releasef
>      + 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
> 
> 
> _______________________________________________
> rhos-list mailing list rhos-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rhos-list
> 
> --
> 
> Martin Mágr
> Openstack
> Red Hat Czech
> 
> cell:  +420-775-291-585
> phone: +420-532-294-183
> ext.:  82-62183
> irc:   mmagr @ #brno, #cloud, #openstack




More information about the rhos-list mailing list