Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes Facts string comparisons in CentOS 7
CentOS Project has adopted a new rule for versioning numbers. The major number matches the RHEL major number, but the minor number is generated from the release date. For example, CentOS 7.1407. Change-Id: I16876d033bdb8ee47fa7b3c2d25c41e6f1c1c83e Fixes: rhbz#1117035 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0040c63There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi ,strider :
I got some error when i install opstack allinon mode on centos 7 use packstack . And i just cover the 3 file of your commit in /usr/lib/python2.7/site-packages/packstack/puppet/templates/ . Hope you can help find where is the problem exact locate.
Command is like this:
packstack --allinone // packstack --answer-file=/root/packstack-answers-20140809-050728.txt
Preparing servers [ DONE ]
Adding AMQP manifest entries [ ERROR ]
ERROR : float argument required, not dict
Please check log file /var/tmp/packstack/20140809-060353-hPzqeJ/openstack-setup.log for more information
and the log in tmp show me that:
rpm -q epel-release && yum-config-manager --setopt="rhel-server-ost-6-4-rpms.priority=1" --save rhel-server-ost-6-4-rpms
yum clean metadata
2014-08-09 06:04:30::ERROR::run_setup::920::root:: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 915, in main
_main(confFile)
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 605, in _main
runSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 584, in runSequences
controller.runAllSequences()
File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSequences
sequence.run(config=self.CONF, messages=self.MESSAGES)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 98, in run
step.run(config=config, messages=messages)
File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 44, in run
raise SequenceError(str(ex))
SequenceError: float argument required, not dict