rdo packstack installation fail [closed]

asked 2014-10-28 03:36:54 -0500

idzzy gravatar image

updated 2014-10-29 02:30:30 -0500

Hello,

I am installing openstack rdo IceHose using answerfile but during the neutron setup getting below error.

10.32.37.45_provision_demo.pp:                    [ ERROR ]
Applying Puppet manifests                         [ ERROR ]
ERROR : Error appeared during Puppet run: 10.32.37.45_provision_demo.pp
Error: Could not prefetch neutron_network provider 'neutron': Execution of '/usr/bin/neutron net-list --format
=csv --column=id --quote=none' returned 1: Connection to neutron failed: (403, 'Forbidden')

OS: CentOS 6.5 1 x controller, 1 x compute

I changed following because this env is behind proxy.

/etc/yum.conf

proxy=http://x.x.x.x:xxxx

/etc/bashrc

http_proxy=http://10.32.64.31:8080; export http_proxy
no_proxy="local-repo-server,localhost,127.0.0.1,localaddress,.localdomain.com"; export no_proxy

answer file.

# diff -uw packstack-answer.org packstack-answer.txt
@@ -39,7 +39,7 @@

 # Set to 'y' if you would like Packstack to install OpenStack
 # Orchestration (Heat)
-CONFIG_HEAT_INSTALL=n
+CONFIG_HEAT_INSTALL=y

 # Set to 'y' if you would like Packstack to install the OpenStack
 # Client packages. An admin "rc" file will also be installed
@@ -47,7 +47,7 @@

 # Comma separated list of NTP servers. Leave plain if Packstack
 # should not install ntpd on instances.
-CONFIG_NTP_SERVERS=
+CONFIG_NTP_SERVERS=10.16.1.14

 # Set to 'y' if you would like Packstack to install Nagios to monitor
 # OpenStack hosts
@@ -69,7 +69,7 @@

 # The list of IP addresses of the server on which to install the Nova
 # compute service
-CONFIG_COMPUTE_HOSTS=10.32.37.45
+CONFIG_COMPUTE_HOSTS=10.32.37.46

 # The list of IP addresses of the server on which to install the
 # network service such as Nova network or Neutron
@@ -102,7 +102,7 @@
 CONFIG_STORAGE_HOST=10.32.37.45

 # To subscribe each server to EPEL enter "y"
-CONFIG_USE_EPEL=n
+CONFIG_USE_EPEL=y

 # A comma separated list of URLs to any additional yum repositories
 # to install
@@ -249,7 +249,7 @@

 # Cinder's volumes group size. Note that actual volume size will be
 # extended with 3% more space for VG metadata.
-CONFIG_CINDER_VOLUMES_SIZE=20G
+CONFIG_CINDER_VOLUMES_SIZE=200G

 # A single or comma separated list of gluster volume shares to mount,
 # eg: ip-address:/vol-name, domain:/vol-name
@@ -280,22 +280,22 @@
 CONFIG_NOVA_COMPUTE_MIGRATE_PROTOCOL=tcp

 # Private interface for Flat DHCP on the Nova compute servers
-CONFIG_NOVA_COMPUTE_PRIVIF=eth1
+CONFIG_NOVA_COMPUTE_PRIVIF=eth2

 # Nova network manager
 CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager

 # Public interface on the Nova network server
-CONFIG_NOVA_NETWORK_PUBIF=eth0
+CONFIG_NOVA_NETWORK_PUBIF=eth1

 # Private interface for network manager on the Nova network server
-CONFIG_NOVA_NETWORK_PRIVIF=eth1
+CONFIG_NOVA_NETWORK_PRIVIF=eth2

 # IP Range for network manager
-CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22
+CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.10.0/24

 # IP Range for Floating IP's
-CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22
+CONFIG_NOVA_NETWORK_FLOATRANGE=10.10.10.0/22

 # Name of the default floating pool to which the specified floating
 # ranges are added to
@@ -465,7 +465,7 @@
 CONFIG_SWIFT_HASH=70fd0b0267104ff1

 # Size of the swift loopback file storage device
-CONFIG_SWIFT_STORAGE_SIZE=2G
+CONFIG_SWIFT_STORAGE_SIZE=200G

 # Whether to provision for demo usage and testing. Note that
 # provisioning is only supported for all-in-one installations.

Thank you.

Update

It was proxy issue. if http_proxy is not enable, glance error was being output.

ERROR : Error appeared during Puppet run ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rbowen
close date 2014-10-29 12:04:08.531384

Comments

I see that you say you're installing Icehouse, but I wonder if you're using the packstack quickstart, which is currently pointing at Juno packages. Can you clarify? Also, do you have any log file messages that you can share?

rbowen gravatar imagerbowen ( 2014-10-28 13:28:54 -0500 )edit

I used icehouse repo (yum install https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm (https://repos.fedorapeople.org/repos/...) ). because juno is probably required centos7. I'll add some update later about the log.

idzzy gravatar imageidzzy ( 2014-10-29 02:23:38 -0500 )edit

Good deal. I take it from your followup that this issue is now resolved. Closing. Thanks!

rbowen gravatar imagerbowen ( 2014-10-29 12:03:57 -0500 )edit