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 686938 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 RHEL64
check_rhel.patch (text/plain), 1.14 KB, created by
Flavio Percoco
on 2013-01-24 19:43:05 UTC
(
hide
)
Description:
checks it is running on RHEL64
Filename:
MIME Type:
Creator:
Flavio Percoco
Created:
2013-01-24 19:43:05 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/packstack/plugins/prescript_000.py b/packstack/plugins/prescript_000.py >index 7829bbd..10b2adf 100644 >--- a/packstack/plugins/prescript_000.py >+++ b/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 /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
Flags:
apevec
: review-
Actions:
View
|
Diff
Attachments on
bug 893934
:
686938
|
689744