Bug 1332525 - Packstack installation fails on 'Could not find data item CONFIG_GNOCCHI_DB_PW in any Hiera data file and no default supplied'
Summary: Packstack installation fails on 'Could not find data item CONFIG_GNOCCHI_DB_P...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 9.0 (Mitaka)
Hardware: All
OS: Linux
medium
medium
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Alfredo Moralejo
QA Contact: Prasanth Anbalagan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-03 11:52 UTC by Arie Bregman
Modified: 2016-08-18 02:40 UTC (History)
13 users (show)

Fixed In Version: openstack-packstack-8.0.0-1.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, Packstack tried to create a gnocchi database when ceilometer installation was disabled. As a result, disabling ceilometer caused Packstack installations to fail, as some parameters required for creating a gnocchi database were not passed. With this release, Packstack no longer attempts to create a gnocchi database if ceilometer is disabled.
Clone Of:
Environment:
Last Closed: 2016-08-11 12:18:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 307738 0 None None None 2016-05-09 16:28:51 UTC
OpenStack gerrit 314201 0 None None None 2016-05-09 16:31:30 UTC
Red Hat Product Errata RHEA-2016:1597 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 Release Candidate Advisory 2016-08-11 16:06:52 UTC

Description Arie Bregman 2016-05-03 11:52:56 UTC
Description of problem: Packstack installation fails due to the following error: "Could not find data item CONFIG_GNOCCHI_DB_PW in any Hiera data file and no default supplied"

Version-Release number of selected component (if applicable): 9

How reproducible: 100%


Steps to Reproduce:

1. Install RHOSP 9 poodle repo

2. Create the following answer file:

      CONFIG_NEUTRON_OVS_VLAN_RANGES: myphysnet
      CONFIG_PROVISION_TEMPEST: n
      CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS: myphysnet:br-myphysnet
      CONFIG_LBAAS_INSTALL: y
      CONFIG_NEUTRON_L2_AGENT: openvswitch
      CONFIG_HEAT_INSTALL: n
      CONFIG_NEUTRON_FWAAS: y
      CONFIG_NEUTRON_L2_PLUGIN: ml2
      CONFIG_HEAT_CFN_INSTALL: n
      CONFIG_NEUTRON_USE_NAMESPACES: y
      CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL: public
      CONFIG_NEUTRON_OVS_TUNNEL_RANGES: 1:1000
      CONFIG_NAGIOS_INSTALL: n
      CONFIG_SWIFT_INSTALL: n
      CONFIG_NEUTRON_ML2_VNI_RANGES: 10:50000
      CONFIG_CEILOMETER_INSTALL: n
      CONFIG_AMQP_BACKEND: rabbitmq
      CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES: 1:1000
      CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES: vxlan
      CONFIG_NEUTRON_L3_EXT_BRIDGE: provider
      CONFIG_NEUTRON_INSTALL: y
      CONFIG_PROVISION_DEMO: n
      CONFIG_NEUTRON_OVS_BRIDGE_IFACES: br-myphysnet:eth2
      CONFIG_NEUTRON_ML2_VLAN_RANGES: myphysnet
      CONFIG_HORIZON_INSTALL: n
      CONFIG_NEUTRON_METERING_AGENT_INSTALL: y
      CONFIG_NEUTRON_ML2_TYPE_DRIVERS: local,flat,vxlan,vlan
      CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE: vxlan

3. Start all-in-one or multi-node installation

Actual results:

Applying 192.168.1.14_mariadb.pp 
192.168.1.14_amqp.pp:                             [ DONE ]
192.168.1.14_mariadb.pp:                          [ ERROR ]
Applying Puppet manifests                         [ ERROR ]
ERROR : Error appeared during Puppet run: 192.168.1.14_mariadb.pp
Error: Could not find data item CONFIG_GNOCCHI_DB_PW in any Hiera data file and no default supplied at /var/tmp/packstack/93c3af06dcaf4789bfa603ae5cae2ffb/manifests/192.168.1.14_mariadb.pp:121 on node 92mh3-rhos-ci-107-rh-pod-pksk-controller.openstacklocal


Expected results:

**** Installation completed successfully ******

Comment 3 Brent Eagles 2016-05-05 17:21:34 UTC
I suspect that this has already been resolved upstream:

https://review.openstack.org/#/c/307738/

Comment 6 Alfredo Moralejo 2016-05-10 16:23:46 UTC
Patch merged in stable/mitaka branch in https://review.openstack.org/#/c/314201/ .

Comment 7 Jon Schlueter 2016-05-11 19:38:29 UTC
rebased to RDO build to pull in fix

Comment 9 Prasanth Anbalagan 2016-05-19 14:08:26 UTC
Installation fails because of https://bugzilla.redhat.com/show_bug.cgi?id=1335688. So unable to verify the problem in the description.

Comment 10 Prasanth Anbalagan 2016-06-01 12:27:56 UTC
Verified as follows,

************
VERSION
************

[root@serverA ~]# yum list installed | grep openstack-packstack
openstack-packstack.noarch           8.0.0-1.el7ost          @rhelosp-9.0-puddle
openstack-packstack-puppet.noarch    8.0.0-1.el7ost          @rhelosp-9.0-puddle
[root@serverA ~]# 

************
LOGS
************

[root@serverA ~]# packstack --answer-file=packstack-answers-20160601-150247.txt
Welcome to the Packstack setup utility

The installation log file is available at: /var/tmp/packstack/20160601-150720-MFXGp6/openstack-setup.log

Installing:
Clean Up                                             [ DONE ]
Discovering ip protocol version                      [ DONE ]
Setting up ssh keys                                  [ DONE ]
Preparing servers                                    [ DONE ]
Pre installing Puppet and discovering hosts' details [ DONE ]
Adding pre install manifest entries                  [ DONE ]
Setting up CACERT                                    [ DONE ]
Adding AMQP manifest entries                         [ DONE ]
Adding MariaDB manifest entries                      [ DONE ]
Adding Apache manifest entries                       [ DONE ]
Fixing Keystone LDAP config parameters to be undef if empty[ DONE ]
Adding Keystone manifest entries                     [ DONE ]
Adding Glance Keystone manifest entries              [ DONE ]
Adding Glance manifest entries                       [ DONE ]
Adding Cinder Keystone manifest entries              [ DONE ]
Checking if the Cinder server has a cinder-volumes vg[ DONE ]
Adding Cinder manifest entries                       [ DONE ]
Adding Nova API manifest entries                     [ DONE ]
Adding Nova Keystone manifest entries                [ DONE ]
Adding Nova Cert manifest entries                    [ DONE ]
Adding Nova Conductor manifest entries               [ DONE ]
Creating ssh keys for Nova migration                 [ DONE ]
Gathering ssh host keys for Nova migration           [ DONE ]
Adding Nova Compute manifest entries                 [ DONE ]
Adding Nova Scheduler manifest entries               [ DONE ]
Adding Nova VNC Proxy manifest entries               [ DONE ]
Adding OpenStack Network-related Nova manifest entries[ DONE ]
Adding Nova Common manifest entries                  [ DONE ]
Adding Neutron VPNaaS Agent manifest entries         [ DONE ]
Adding Neutron FWaaS Agent manifest entries          [ DONE ]
Adding Neutron LBaaS Agent manifest entries          [ DONE ]
Adding Neutron API manifest entries                  [ DONE ]
Adding Neutron Keystone manifest entries             [ DONE ]
Adding Neutron L3 manifest entries                   [ DONE ]
Adding Neutron L2 Agent manifest entries             [ DONE ]
Adding Neutron DHCP Agent manifest entries           [ DONE ]
Adding Neutron Metering Agent manifest entries       [ DONE ]
Adding Neutron Metadata Agent manifest entries       [ DONE ]
Adding Neutron SR-IOV Switch Agent manifest entries  [ DONE ]
Checking if NetworkManager is enabled and running    [ DONE ]
Adding OpenStack Client manifest entries             [ DONE ]
Copying Puppet modules and manifests                 [ DONE ]
Applying X.X.X.X_prescript.pp
X.X.X.X_prescript.pp:                          [ DONE ]         
Applying X.X.X.X_amqp.pp
Applying X.X.X.X_mariadb.pp
X.X.X.X_amqp.pp:                               [ DONE ]       
X.X.X.X_mariadb.pp:                            [ DONE ]       
Applying X.X.X.X_apache.pp
X.X.X.X_apache.pp:                             [ DONE ]      
Applying X.X.X.X_keystone.pp
Applying X.X.X.X_glance.pp
Applying X.X.X.X_cinder.pp
X.X.X.X_keystone.pp:                           [ DONE ]        
X.X.X.X_cinder.pp:                             [ DONE ]        
X.X.X.X_glance.pp:                             [ DONE ]        
Applying X.X.X.X_api_nova.pp
X.X.X.X_api_nova.pp:                           [ DONE ]        
Applying X.X.X.X_nova.pp
Applying X.X.X.X_neutron.pp
Applying X.X.X.X_osclient.pp
X.X.X.X_nova.pp:                               [ DONE ]        
X.X.X.X_neutron.pp:                            [ DONE ]        
X.X.X.X_osclient.pp:                           [ DONE ]        
Applying Puppet manifests                            [ DONE ]
Finalizing                                           [ DONE ]

 **** Installation completed successfully ******

Additional information:
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
 * Warning: NetworkManager is active on X.X.X.X. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host X.X.X.X. To use the command line tools you need to source the file.
 * The installation log file is available at: /var/tmp/packstack/20160601-150720-MFXGp6/openstack-setup.log
 * The generated manifests are available at: /var/tmp/packstack/20160601-150720-MFXGp6/manifests
[root@serverA ~]#

Comment 12 errata-xmlrpc 2016-08-11 12:18:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1597.html


Note You need to log in before you can comment on or make changes to this bug.