Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1324842 - The readonly_user_name generated in ceilometer.conf post undercloud upgrade is too long
The readonly_user_name generated in ceilometer.conf post undercloud upgrade i...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
8.0 (Liberty)
Unspecified Unspecified
unspecified Severity high
: rc
: 10.0 (Newton)
Assigned To: Pradeep Kilambi
Arik Chernetsky
: TestOnly, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-07 08:33 EDT by Marius Cornea
Modified: 2016-12-14 10:31 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the director auto-generated a value for 'readonly_user_name' (in /etc/ceilometer/ceilometer.conf) that exceeded the 32-characters. This resulted in ValueSizeConstraint errors during upgrades. With this release, the director now sets 'readonly_user_name' to 'ro_snmp_user' by default, which ensures compliance with the character limit.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-14 10:31:55 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2948 normal SHIPPED_LIVE Red Hat OpenStack Platform 10 enhancement update 2016-12-14 14:55:27 EST

  None (edit)
Description Marius Cornea 2016-04-07 08:33:35 EDT
Description of problem:
The readonly_user_name generated in ceilometer.conf post undercloud upgrade is too long 

Version-Release number of selected component (if applicable):
instack-0.0.8-2.el7ost.noarch
instack-undercloud-2.2.7-2.el7ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Deploy 7.3 undercloud
2. Upgrade to 8 

Actual results:
root@instack:/home/stack# grep readonly_user_name /etc/ceilometer/ceilometer.conf
readonly_user_name=6dd2a919d43c1d29d5e6e4751f0747c1003f8e9b

/var/log/ceilometer/central.log shows the following error:
2016-04-07 08:28:39.980 28543 ERROR ceilometer.hardware.pollsters.generic ValueConstraintError: ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(ConstraintsIntersection(), ValueSizeConstraint(0, 65535)), ValueSizeConstraint(0, 255)), ValueSizeConstraint(1, 32)) failed at: "ValueSizeConstraint(1, 32) failed at: "6dd2a919d43c1d29d5e6e4751f0747c1003f8e9b"" at SnmpAdminString


Expected results:
The generated snmp user is within 32 characters limit.
Comment 2 Mike Burns 2016-04-07 17:36:02 EDT
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.
Comment 7 errata-xmlrpc 2016-12-14 10:31:55 EST
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-2948.html

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