Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 689744 Details for
Bug 893934
Openstack Installer: packstack should verify it is running on RHEL 6.4 and above
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
checks it is running on RHEL6.[4-9]
rhel_check.patch (text/plain), 1.03 KB, created by
Flavio Percoco
on 2013-01-29 11:10:26 UTC
(
hide
)
Description:
checks it is running on RHEL6.[4-9]
Filename:
MIME Type:
Creator:
Flavio Percoco
Created:
2013-01-29 11:10:26 UTC
Size:
1.03 KB
patch
obsolete
>--- a/packstack/plugins/prescript_000.py >+++ a/packstack/plugins/prescript_000.py >@@ -2,6 +2,7 @@ > Plugin responsible for setting Openstack global options > """ > >+import sys > import logging > > import packstack.installer.engine_validators as validate >@@ -105,8 +106,20 @@ def initConfig(controllerObject): > "POST_CONDITION_MATCH" : True} > controller.addGroup(groupDict, paramsList) > >+ >+def check_rhel(): >+ for hostname in gethostlist(controller.CONF): >+ server = utils.ScriptRunner(hostname) >+ server.append('grep "6.[4-9]" /etc/redhat-release') >+ try: >+ server.execute(logerrors=False) >+ except: >+ print "Host %s: RHEL version not supported. RHEL >6.4 required" % hostname >+ sys.exit(1) >+ > def initSequences(controller): > osclientsteps = [ >+ {'title': 'OS support check', 'functions':[check_rhel]}, > {'title': 'Running Pre install scripts', 'functions':[createmanifest]} > ] > controller.addSequence("Running Pre install scripts", [], [], osclientsteps)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 893934
:
686938
| 689744