Bug 1059815
| Summary: | Error: 87 lines match pattern '\[DEFAULT\]' in file '/etc/nova/nova.conf'. One or no line must match the pattern. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | wes hayutin <whayutin> | ||||
| Component: | openstack-puppet-modules | Assignee: | Martin Magr <mmagr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Nir Magnezi <nmagnezi> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | ndipanov, p, rbryant, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-02-03 21:31:00 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
So I think this may be due to incorrect matching by this packstack ceilometer code. It's trying to add the following options after the [DEFAULT] section, but it hitting an issue because [DEFAULT] is now used in 86 comments. Is there not a more standard ini editing puppet logic we could use? #NOTE(dprince): This is using a custom (inline) file_line provider # until this lands upstream: # https://github.com/puppetlabs/puppetlabs-stdlib/pull/174 Nova_config<| |> { before +> File_line_after[ 'nova-notification-driver-common', 'nova-notification-driver-ceilometer' ], } A workaround we could do in the nova package would be to adjust these comment lines to avoid the issue. Built openstack-nova-2014.1-0.9.b2.el6 openstack-nova-2014.1-0.11.b2.el7 openstack-nova-2014.1-0.11.b2.fc21 to avoid this This appears to be fixed.. waiting for another install to finish looks fixed.. updated package is in http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/ |
Created attachment 857607 [details] log file of the install Description of problem: Error in packstack aio install of nova: Error: 87 lines match pattern '\[DEFAULT\]' in file '/etc/nova/nova.conf'. One or no line must match the pattern. Attaching logs of install, and will continue to debug