Bug 1117255
| Summary: | packstack allinone fails during prescript on centos7 | ||
|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Lee Yarwood <lyarwood> |
| Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ami Jeain <ajeain> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | aortega, derekh, yeylon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-16 20:48:36 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: | |||
|
Description
Lee Yarwood
2014-07-08 11:59:44 UTC
The following patch works around this but I have no idea where to send it :
# rpm -qa | grep facter
facter-2.0.1-2.el7.x86_64
# facter operatingsystemrelease
7.0.1406
# diff -c /usr/share/ruby/vendor_ruby/facter/operatingsystemrelease.rb.org /usr/share/ruby/vendor_ruby/facter/operatingsystemrelease.rb
*** /usr/share/ruby/vendor_ruby/facter/operatingsystemrelease.rb.org 2014-07-08 08:34:40.473000000 -0400
--- /usr/share/ruby/vendor_ruby/facter/operatingsystemrelease.rb 2014-07-08 08:38:23.099000000 -0400
***************
*** 41,46 ****
--- 41,48 ----
line = release.split("\n").first.chomp
if match = /\(Rawhide\)$/.match(line)
"Rawhide"
+ elsif match = /release (\d.\d)(\.(\d))/.match(line)
+ match[1]
elsif match = /release (\d[\d.]*)/.match(line)
match[1]
end
# facter operatingsystemrelease
7.0
I've submitted a bug [1] and PR [2] upstream for this, again I'm not sure if this is the correct process so I'm keeping this assigned to the packstack component for now. [1] https://tickets.puppetlabs.com/browse/FACT-616 [2] https://github.com/puppetlabs/facter/pull/719 *** This bug has been marked as a duplicate of bug 1117035 *** |