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 696883 Details for
Bug 908837
RHEL version not supported. RHEL >6.4 required is not true. True is RHEL >= 6.4 is required.
[?]
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]
Patch
rhel-check-bz893934.patch (text/plain), 1.37 KB, created by
Martin Magr
on 2013-02-13 16:02:25 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Martin Magr
Created:
2013-02-13 16:02:25 UTC
Size:
1.37 KB
patch
obsolete
>--- a/packstack/plugins/prescript_000.py >+++ b/packstack/plugins/prescript_000.py >@@ -2,11 +2,13 @@ > Plugin responsible for setting OpenStack global options > """ > >+import sys > import uuid > import logging > > import packstack.installer.engine_validators as validate > import packstack.installer.common_utils as utils >+from packstack.installer.exceptions import ScriptRuntimeError > > from packstack.modules.ospluginutils import gethostlist,\ > getManifestTemplate, \ >@@ -117,8 +119,22 @@ 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 ScriptRuntimeError: >+ print ("Host %s: RHEL version is not supported. " >+ "RHEL >= 6.4 is required." % hostname) >+ sys.exit(1) >+ >+ > def initSequences(controller): > osclientsteps = [ >+ {'title': 'OS support check', 'functions': [check_rhel]}, > {'title': 'Adding pre install manifest entries', 'functions':[createmanifest]} > ] > controller.addSequence("Running pre install scripts", [], [], osclientsteps) >-- >1.7.11.7
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 908837
: 696883