ceilometer_snmpd_password unset with --no-undercloud

Bug #1428726 reported by Steven Hardy on 2015-03-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Undecided
Steven Hardy

Bug Description

When running in an environment where you deploy from the seed (no undercloud), it seems that we're missing a variable for the SNMP password, which later causes an error when puppet finds an empty key on the controller/compute nodes:

devtest_overcloud.sh does this:

os-apply-config -m /home/shardy/tripleo/testenv.json --key undercloud.ceilometer_snmpd_password --type raw --key-default ''

but we get an empty string because testenv doesn't contain the password.

Fix proposed to branch: master
Review: https://review.openstack.org/161882

Changed in tripleo:
assignee: nobody → Steven Hardy (shardy)
status: New → In Progress

Reviewed: https://review.openstack.org/161882
Committed: https://git.openstack.org/cgit/openstack/tripleo-incubator/commit/?id=310b557430a7dc6fbf6db892fde7fd4ad7ce6a58
Submitter: Jenkins
Branch: master

commit 310b557430a7dc6fbf6db892fde7fd4ad7ce6a58
Author: Steven Hardy <email address hidden>
Date: Thu Mar 5 15:37:05 2015 -0500

    Fall back to generated snmp password with --no-undercloud

    Running devtest_overcloud.sh via devtest with --no-undercloud seems
    to result in some puppet errors recently, due to the zero-length
    password in the heiradata key.

    So instead of passing a zero length password, fall back to generating
    one in the event no password is found via the undercloud key of the
    test environment.

    Change-Id: Ia5f9fff1ea3b50f372489a42647e3f47bc219df8
    Closes-Bug: #1428726

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers