add api and db to compass-core
Change-Id: Ic5219943f52848b4e8554023bce21fa1588b27a6
This commit is contained in:
parent
97eea73f65
commit
1ef039fca3
@ -4,7 +4,7 @@
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@ -12,33 +12,24 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
__all__ = ['Flask', 'SQLAlchemy', 'compass_api']
|
||||
import datetime
|
||||
import jinja2
|
||||
import os
|
||||
|
||||
from compass.db.model import SECRET_KEY
|
||||
|
||||
from flask.ext.login import LoginManager
|
||||
from flask import Flask
|
||||
|
||||
|
||||
from compass.api.v1.api import v1_app
|
||||
from compass.db.models import SECRET_KEY
|
||||
|
||||
|
||||
app = Flask(__name__)
|
||||
app.debug = True
|
||||
app.register_blueprint(v1_app, url_prefix='/v1.0')
|
||||
|
||||
|
||||
app.secret_key = SECRET_KEY
|
||||
app.config['AUTH_HEADER_NAME'] = 'X-Auth-Token'
|
||||
app.config['REMEMBER_COOKIE_DURATION'] = datetime.timedelta(minutes=30)
|
||||
|
||||
templates_dir = "/".join((os.path.dirname(
|
||||
os.path.dirname(os.path.realpath(__file__))),
|
||||
'templates/'))
|
||||
|
||||
template_loader = jinja2.ChoiceLoader([
|
||||
app.jinja_loader,
|
||||
jinja2.FileSystemLoader(templates_dir),
|
||||
])
|
||||
|
||||
app.jinja_loader = template_loader
|
||||
|
||||
login_manager = LoginManager()
|
||||
login_manager.login_view = 'login'
|
||||
|
1535
compass/api/api.py
1535
compass/api/api.py
File diff suppressed because it is too large
Load Diff
@ -4,7 +4,7 @@
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
@ -15,11 +15,10 @@
|
||||
from itsdangerous import BadData
|
||||
import logging
|
||||
|
||||
from compass.db.model import login_serializer
|
||||
from compass.db.model import User
|
||||
from compass.db.models import login_serializer
|
||||
|
||||
|
||||
def get_user_info_from_token(token, max_age):
|
||||
def get_user_id_from_token(token, max_age):
|
||||
"""Return user's ID and hased password from token."""
|
||||
|
||||
user_id = None
|
||||
@ -34,14 +33,14 @@ def get_user_info_from_token(token, max_age):
|
||||
|
||||
|
||||
def authenticate_user(email, pwd):
|
||||
"""Authenticate a use by email and password."""
|
||||
"""Authenticate a user by email and password."""
|
||||
|
||||
from compass.db.models import User
|
||||
try:
|
||||
user = User.query.filter_by(email=email).first()
|
||||
if user and user.valid_password(pwd):
|
||||
return user
|
||||
except Exception as err:
|
||||
print '[auth][authenticate_user]Exception: %s' % err
|
||||
logging.info('[auth][authenticate_user]Exception: %s', err)
|
||||
|
||||
return None
|
||||
|
@ -1,145 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Exception and its handler."""
|
||||
from compass.api import app
|
||||
from compass.api import util
|
||||
|
||||
|
||||
class ObjectDoesNotExist(Exception):
|
||||
"""Define the exception for referring non-existing object."""
|
||||
def __init__(self, message):
|
||||
super(ObjectDoesNotExist, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class UserInvalidUsage(Exception):
|
||||
"""Define the exception for fault usage of users."""
|
||||
def __init__(self, message):
|
||||
super(UserInvalidUsage, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class ObjectDuplicateError(Exception):
|
||||
"""Define the duplicated object exception."""
|
||||
def __init__(self, message):
|
||||
super(ObjectDuplicateError, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class InputMissingError(Exception):
|
||||
"""Define the insufficient input exception."""
|
||||
def __init__(self, message):
|
||||
super(InputMissingError, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class MethodNotAllowed(Exception):
|
||||
"""Define the exception which invalid method is called."""
|
||||
def __init__(self, message):
|
||||
super(MethodNotAllowed, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class InvalidUserInfo(Exception):
|
||||
"""Define the Exception for incorrect user information."""
|
||||
def __init__(self, message):
|
||||
super(InvalidUserInfo, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
|
||||
@app.errorhandler(ObjectDoesNotExist)
|
||||
def handle_not_exist(error, failed_objs=None):
|
||||
"""Handler of ObjectDoesNotExist Exception."""
|
||||
|
||||
message = {'status': 'Not Found',
|
||||
'message': error.message}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return util.make_json_response(404, message)
|
||||
|
||||
|
||||
@app.errorhandler(UserInvalidUsage)
|
||||
def handle_invalid_usage(error):
|
||||
"""Handler of UserInvalidUsage Exception."""
|
||||
|
||||
message = {
|
||||
'status': 'Invalid parameters',
|
||||
'message': error.message
|
||||
}
|
||||
|
||||
return util.make_json_response(400, message)
|
||||
|
||||
|
||||
@app.errorhandler(InputMissingError)
|
||||
def handle_mssing_input(error):
|
||||
"""Handler of InputMissingError Exception."""
|
||||
|
||||
message = {
|
||||
'status': 'Insufficient data',
|
||||
'message': error.message
|
||||
}
|
||||
|
||||
return util.make_json_response(400, message)
|
||||
|
||||
|
||||
@app.errorhandler(ObjectDuplicateError)
|
||||
def handle_duplicate_object(error, failed_objs=None):
|
||||
"""Handler of ObjectDuplicateError Exception."""
|
||||
|
||||
message = {
|
||||
'status': 'Conflict Error',
|
||||
'message': error.message
|
||||
}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return util.make_json_response(409, message)
|
||||
|
||||
|
||||
@app.errorhandler(MethodNotAllowed)
|
||||
def handle_not_allowed_method(error):
|
||||
"""Handler of MethodNotAllowed Exception."""
|
||||
|
||||
message = {
|
||||
"status": "Method Not Allowed",
|
||||
"message": "The method is not allowed to use"
|
||||
}
|
||||
return util.make_json_response(405, message)
|
||||
|
||||
|
||||
@app.errorhandler(InvalidUserInfo)
|
||||
def handle_invalid_user_info(error):
|
||||
"""Handler of InvalidUserInfo Exception."""
|
||||
message = {"status": "Incorrect User Info",
|
||||
"message": error.message}
|
||||
return util.make_json_response(401, message)
|
91
compass/api/exception.py
Normal file
91
compass/api/exception.py
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Exceptions for RESTful API."""
|
||||
|
||||
|
||||
class ItemNotFound(Exception):
|
||||
"""Define the exception for referring non-existing object."""
|
||||
def __init__(self, message):
|
||||
super(ItemNotFound, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class BadRequest(Exception):
|
||||
"""Define the exception for invalid/missing parameters or a user makes
|
||||
a request in invalid state and cannot be processed at this moment.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(BadRequest, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class Unauthorized(Exception):
|
||||
"""Define the exception for invalid user login."""
|
||||
def __init__(self, message):
|
||||
super(Unauthorized, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class UserDisabled(Exception):
|
||||
"""Define the exception that a disabled user tries to do some operations.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(UserDisabled, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class Forbidden(Exception):
|
||||
"""Define the exception that a user tries to do some operations without
|
||||
valid permissions.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(Forbidden, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class BadMethod(Exception):
|
||||
"""Define the exception for invoking unsupprted or unimplemented methods.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(BadMethod, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
||||
|
||||
|
||||
class ConflictObject(Exception):
|
||||
"""Define the exception for creating an existing object."""
|
||||
def __init__(self, message):
|
||||
super(ConflictObject, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return repr(self.message)
|
@ -4,10 +4,25 @@
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Custom flask restful."""
|
||||
from flask.ext.restful import Api
|
||||
|
||||
|
||||
class CompassApi(Api):
|
||||
"""Override the Flask_Restful error routing for 500."""
|
||||
|
||||
def error_router(self, original_handler, e):
|
||||
code = getattr(e, 'code', 500)
|
||||
# for HTTP 500 errors return custom response
|
||||
if code >= 500:
|
||||
return original_handler(e)
|
||||
|
||||
return super(CompassApi, self).error_router(original_handler, e)
|
@ -1,411 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Utils for API usage."""
|
||||
import netaddr
|
||||
import re
|
||||
|
||||
from flask.ext.restful import Api
|
||||
from flask import make_response
|
||||
import simplejson as json
|
||||
|
||||
from compass.api import app
|
||||
|
||||
|
||||
API = Api(app)
|
||||
|
||||
|
||||
def make_json_response(status_code, data):
|
||||
"""Wrap json format to the reponse object."""
|
||||
|
||||
result = json.dumps(data, indent=4) + '\r\n'
|
||||
resp = make_response(result, status_code)
|
||||
resp.headers['Content-type'] = 'application/json'
|
||||
return resp
|
||||
|
||||
|
||||
def make_csv_response(status_code, csv_data, fname):
|
||||
"""Wrap CSV format to the reponse object."""
|
||||
fname = '.'.join((fname, 'csv'))
|
||||
resp = make_response(csv_data, status_code)
|
||||
resp.mimetype = 'text/csv'
|
||||
resp.headers['Content-Disposition'] = 'attachment; filename="%s"' % fname
|
||||
return resp
|
||||
|
||||
|
||||
def add_resource(*args, **kwargs):
|
||||
"""Add resource."""
|
||||
API.add_resource(*args, **kwargs)
|
||||
|
||||
|
||||
def is_valid_ip(ip_address):
|
||||
"""Valid the format of an Ip address."""
|
||||
if not ip_address:
|
||||
return False
|
||||
|
||||
regex = (r'^(([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])\.)'
|
||||
r'{3}'
|
||||
r'([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])')
|
||||
|
||||
if re.match(regex, ip_address):
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_ipnetowrk(ip_network):
|
||||
"""Valid the format of an Ip network."""
|
||||
|
||||
if not ip_network:
|
||||
return False
|
||||
|
||||
regex = (r'^(([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])\.)'
|
||||
r'{3}'
|
||||
r'([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])'
|
||||
r'((\/[0-9]|\/[1-2][0-9]|\/[1-3][0-2]))$')
|
||||
|
||||
if re.match(regex, ip_network):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_netmask(ip_addr):
|
||||
"""Valid the format of a netmask."""
|
||||
try:
|
||||
ip_address = netaddr.IPAddress(ip_addr)
|
||||
return ip_address.is_netmask()
|
||||
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_gateway(ip_addr):
|
||||
"""Valid the format of gateway."""
|
||||
|
||||
invalid_ip_prefix = ['0', '224', '169', '127']
|
||||
try:
|
||||
# Check if ip_addr is an IP address and not start with 0
|
||||
ip_addr_prefix = ip_addr.split('.')[0]
|
||||
if is_valid_ip(ip_addr) and ip_addr_prefix not in invalid_ip_prefix:
|
||||
ip_address = netaddr.IPAddress(ip_addr)
|
||||
if not ip_address.is_multicast():
|
||||
# Check if ip_addr is not multicast and reserved IP
|
||||
return True
|
||||
return False
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
|
||||
def _is_valid_nameservers(value):
|
||||
"""Valid the format of nameservers."""
|
||||
if value:
|
||||
nameservers = value.strip(",").split(",")
|
||||
for elem in nameservers:
|
||||
if not is_valid_ip(elem):
|
||||
return False
|
||||
else:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def is_valid_security_config(config):
|
||||
"""Valid the format of security section in config."""
|
||||
outer_format = {
|
||||
"server_credentials": {}, "service_credentials": {},
|
||||
"console_credentials": {}
|
||||
}
|
||||
inner_format = {
|
||||
"username": {}, "password": {}
|
||||
}
|
||||
valid_outter, err = is_valid_keys(outer_format, config, "Security")
|
||||
if not valid_outter:
|
||||
return (False, err)
|
||||
|
||||
for key in config:
|
||||
content = config[key]
|
||||
valid_inner, err = is_valid_keys(inner_format, content, key)
|
||||
if not valid_inner:
|
||||
return (False, err)
|
||||
|
||||
for sub_key in content:
|
||||
if not content[sub_key]:
|
||||
return (False, ("The value of %s in %s in security config "
|
||||
"cannot be None!") % (sub_key, key))
|
||||
return (True, '')
|
||||
|
||||
|
||||
def is_valid_networking_config(config):
|
||||
"""Valid the format of networking config."""
|
||||
|
||||
def _is_valid_interfaces_config(interfaces_config):
|
||||
"""Valid the format of interfaces section in config."""
|
||||
interfaces_section = {
|
||||
"management": {}, "tenant": {}, "public": {}, "storage": {}
|
||||
}
|
||||
section = {
|
||||
"ip_start": {"req": 1, "validator": is_valid_ip},
|
||||
"ip_end": {"req": 1, "validator": is_valid_ip},
|
||||
"netmask": {"req": 1, "validator": is_valid_netmask},
|
||||
"gateway": {"req": 0, "validator": is_valid_gateway},
|
||||
"nic": {},
|
||||
"promisc": {}
|
||||
}
|
||||
|
||||
# Check if interfaces outer layer keywords
|
||||
is_valid_outer, err = is_valid_keys(interfaces_section,
|
||||
interfaces_config, "interfaces")
|
||||
if not is_valid_outer:
|
||||
return (False, err)
|
||||
|
||||
promisc_nics = []
|
||||
nonpromisc_nics = []
|
||||
|
||||
for key in interfaces_config:
|
||||
content = interfaces_config[key]
|
||||
is_valid_inner, err = is_valid_keys(section, content, key)
|
||||
if not is_valid_inner:
|
||||
return (False, err)
|
||||
|
||||
if content["promisc"] not in [0, 1]:
|
||||
return (False, ("The value of Promisc in %s section of "
|
||||
"interfaces can only be either 0 or 1!") % key)
|
||||
if not content["nic"]:
|
||||
return (False, ("The NIC in %s cannot be None!") % key)
|
||||
|
||||
if content["promisc"]:
|
||||
if content["nic"] not in nonpromisc_nics:
|
||||
promisc_nics.append(content["nic"])
|
||||
continue
|
||||
else:
|
||||
return (False,
|
||||
("The NIC in %s cannot be assigned in promisc "
|
||||
"and nonpromisc mode at the same time!" % key))
|
||||
else:
|
||||
if content["nic"] not in promisc_nics:
|
||||
nonpromisc_nics.append(content["nic"])
|
||||
else:
|
||||
return (False,
|
||||
("The NIC in %s cannot be assigned in promisc "
|
||||
"and nonpromisc mode at the same time!" % key))
|
||||
|
||||
# Validate other keywords in the section
|
||||
for sub_key in content:
|
||||
if sub_key == "promisc" or sub_key == "nic":
|
||||
continue
|
||||
value = content[sub_key]
|
||||
is_required = section[sub_key]["req"]
|
||||
validator = section[sub_key]["validator"]
|
||||
if value:
|
||||
if validator and not validator(value):
|
||||
error_msg = "The format of %s in %s is invalid!" % \
|
||||
(sub_key, key)
|
||||
return (False, error_msg)
|
||||
|
||||
elif is_required:
|
||||
return (False,
|
||||
("%s in %s section in interfaces of networking "
|
||||
"config cannot be None!") % (sub_key, key))
|
||||
|
||||
return (True, '')
|
||||
|
||||
def _is_valid_global_config(global_config):
|
||||
"""Valid the format of 'global' section in config."""
|
||||
global_section = {
|
||||
"nameservers": {"req": 1, "validator": _is_valid_nameservers},
|
||||
"search_path": {"req": 1, "validator": ""},
|
||||
"gateway": {"req": 1, "validator": is_valid_gateway},
|
||||
"proxy": {"req": 0, "validator": ""},
|
||||
"ntp_server": {"req": 0, "validator": ""},
|
||||
"ha_vip": {"req": 0, "validator": is_valid_ip}
|
||||
}
|
||||
is_valid_format, err = is_valid_keys(global_section, global_config,
|
||||
"global")
|
||||
if not is_valid_format:
|
||||
return (False, err)
|
||||
|
||||
for key in global_section:
|
||||
value = global_config[key]
|
||||
is_required = global_section[key]["req"]
|
||||
validator = global_section[key]["validator"]
|
||||
|
||||
if value:
|
||||
if validator and not validator(value):
|
||||
return (False, ("The format of %s in global section of "
|
||||
"networking config is invalid!") % key)
|
||||
elif is_required:
|
||||
return (False, ("The value of %s in global section of "
|
||||
"netowrking config cannot be None!") % key)
|
||||
|
||||
return (True, '')
|
||||
|
||||
networking_config = {
|
||||
"interfaces": _is_valid_interfaces_config,
|
||||
"global": _is_valid_global_config
|
||||
}
|
||||
|
||||
valid_format, err = is_valid_keys(networking_config, config, "networking")
|
||||
if not valid_format:
|
||||
return (False, err)
|
||||
|
||||
for key in networking_config:
|
||||
validator = networking_config[key]
|
||||
is_valid, err = validator(config[key])
|
||||
if not is_valid:
|
||||
return (False, err)
|
||||
|
||||
return (True, '')
|
||||
|
||||
|
||||
def is_valid_partition_config(config):
|
||||
"""Valid the configuration format."""
|
||||
|
||||
if not config:
|
||||
return (False, '%s in partition cannot be null!' % config)
|
||||
|
||||
return (True, '')
|
||||
|
||||
|
||||
def valid_host_config(config):
|
||||
"""Valid the host configuration format.
|
||||
|
||||
.. note::
|
||||
Valid_format is used to check if the input config is qualified
|
||||
the required fields and format.
|
||||
The key is the required field and format of the input config
|
||||
The value is the validator function name of the config value
|
||||
"""
|
||||
|
||||
from api import errors
|
||||
valid_format = {"/networking/interfaces/management/ip": "is_valid_ip",
|
||||
"/networking/interfaces/tenant/ip": "is_valid_ip",
|
||||
"/networking/global/gateway": "is_valid_gateway",
|
||||
"/networking/global/nameserver": "",
|
||||
"/networking/global/search_path": "",
|
||||
"/roles": ""}
|
||||
flat_config = {}
|
||||
flatten_dict(config, flat_config)
|
||||
|
||||
config_keys = flat_config.keys()
|
||||
for key in config_keys:
|
||||
validator = None
|
||||
try:
|
||||
validator = valid_format[key]
|
||||
except Exception:
|
||||
continue
|
||||
else:
|
||||
value = flat_config[key]
|
||||
if validator:
|
||||
is_valid_format = globals()[validator](value)
|
||||
if not is_valid_format:
|
||||
error_msg = "The format '%s' is incorrect!" % value
|
||||
raise errors.UserInvalidUsage(error_msg)
|
||||
|
||||
|
||||
def flatten_dict(dictionary, output, flat_key=""):
|
||||
"""This function will convert the dictionary into a flatten dict.
|
||||
|
||||
.. note::
|
||||
For example:
|
||||
dict = {'a':{'b': 'c'}, 'd': 'e'} ==>
|
||||
flatten dict = {'a/b': 'c', 'd': 'e'}
|
||||
"""
|
||||
|
||||
keywords = dictionary.keys()
|
||||
for key in keywords:
|
||||
tmp = '/'.join((flat_key, key))
|
||||
if isinstance(dictionary[key], dict):
|
||||
flatten_dict(dictionary[key], output, tmp)
|
||||
else:
|
||||
output[tmp] = dictionary[key]
|
||||
|
||||
|
||||
def update_dict_value(searchkey, dictionary):
|
||||
"""Update dictionary value."""
|
||||
|
||||
keywords = dictionary.keys()
|
||||
for key in keywords:
|
||||
if key == searchkey:
|
||||
if isinstance(dictionary[key], str):
|
||||
dictionary[key] = ''
|
||||
elif isinstance(dictionary[key], list):
|
||||
dictionary[key] = []
|
||||
|
||||
elif isinstance(dictionary[key], dict):
|
||||
update_dict_value(searchkey, dictionary[key])
|
||||
else:
|
||||
continue
|
||||
|
||||
|
||||
def is_valid_keys(expected, input_dict, section=""):
|
||||
"""Validate keys."""
|
||||
excepted_keys = set(expected.keys())
|
||||
input_keys = set(input_dict.keys())
|
||||
if excepted_keys != input_keys:
|
||||
invalid_keys = list(excepted_keys - input_keys) if \
|
||||
len(excepted_keys) > len(input_keys) else\
|
||||
list(input_keys - excepted_keys)
|
||||
error_msg = ("Invalid or missing keywords in the %s "
|
||||
"section of networking config. Please check these "
|
||||
"keywords %s") % (section, invalid_keys)
|
||||
return (False, error_msg)
|
||||
|
||||
return (True, "")
|
||||
|
||||
|
||||
def get_col_val_from_dict(result, data):
|
||||
"""Convert a dict's values to a list.
|
||||
|
||||
:param result: a list of values for each column
|
||||
:param data: input data
|
||||
|
||||
.. note::
|
||||
for example:
|
||||
data = {"a": {"b": {"c": 1}, "d": 2}}
|
||||
the result will be [1, 2]
|
||||
"""
|
||||
if not isinstance(data, dict):
|
||||
data = str(data) if str(data) else 'None'
|
||||
result.append(data)
|
||||
return
|
||||
|
||||
for key in data:
|
||||
get_col_val_from_dict(result, data[key])
|
||||
|
||||
|
||||
def get_headers_from_dict(headers, colname, data):
|
||||
"""Convert a column which value is dict to a list of column name and keys.
|
||||
|
||||
.. note::
|
||||
nested keys in dict will be joined by '.' as a column name in CSV.
|
||||
for example:
|
||||
the column name is 'config_data', and
|
||||
the value is {"a": {"b": {"c": 1}, "d": 2}}
|
||||
then headers will be ['config_data.a.b.c', 'config_data.a.d']
|
||||
|
||||
:param headers: the result list to hold dict keys
|
||||
:param colname: the column name
|
||||
:param data: input data
|
||||
|
||||
"""
|
||||
if not colname:
|
||||
raise "colname cannot be None!"
|
||||
|
||||
if not isinstance(data, dict):
|
||||
headers.append(colname)
|
||||
return
|
||||
|
||||
for key in data:
|
||||
tmp_header = '.'.join((colname, key))
|
||||
get_headers_from_dict(headers, tmp_header, data[key])
|
35
compass/api/utils.py
Normal file
35
compass/api/utils.py
Normal file
@ -0,0 +1,35 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Utils for API usage."""
|
||||
from flask import make_response
|
||||
import simplejson as json
|
||||
|
||||
|
||||
def make_json_response(status_code, data):
|
||||
"""Wrap json format to the reponse object."""
|
||||
|
||||
result = json.dumps(data, indent=4) + '\r\n'
|
||||
resp = make_response(result, status_code)
|
||||
resp.headers['Content-type'] = 'application/json'
|
||||
return resp
|
||||
|
||||
|
||||
def make_csv_response(status_code, csv_data, fname):
|
||||
"""Wrap CSV format to the reponse object."""
|
||||
fname = '.'.join((fname, 'csv'))
|
||||
resp = make_response(csv_data, status_code)
|
||||
resp.mimetype = 'text/csv'
|
||||
resp.headers['Content-Disposition'] = 'attachment; filename="%s"' % fname
|
||||
return resp
|
248
compass/api/v1/api.py
Normal file
248
compass/api/v1/api.py
Normal file
@ -0,0 +1,248 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Define all the RestfulAPI entry points."""
|
||||
import logging
|
||||
import simplejson as json
|
||||
|
||||
from flask import Blueprint
|
||||
from flask import request
|
||||
|
||||
from flask.ext.restful import Resource
|
||||
|
||||
from compass.api.exception import BadRequest
|
||||
from compass.api.exception import Forbidden
|
||||
from compass.api.exception import ItemNotFound
|
||||
from compass.api.exception import Unauthorized
|
||||
from compass.api.restfulAPI import CompassApi
|
||||
from compass.api import utils
|
||||
|
||||
from compass.db import db_api
|
||||
from compass.db.exception import InvalidParameter
|
||||
from compass.db.exception import RecordNotExists
|
||||
|
||||
|
||||
v1_app = Blueprint('v1_app', __name__)
|
||||
api = CompassApi(v1_app)
|
||||
PREFIX = '/v1.0'
|
||||
|
||||
|
||||
@v1_app.route('/users', methods=['GET'])
|
||||
def list_users():
|
||||
"""List details of all users filtered by user email and admin role."""
|
||||
|
||||
emails = request.args.getlist('email')
|
||||
is_admin = request.args.get('admin')
|
||||
filters = {}
|
||||
|
||||
if emails:
|
||||
filters['email'] = emails
|
||||
|
||||
if is_admin is not None:
|
||||
if is_admin == 'true':
|
||||
filters['is_admin'] = True
|
||||
elif is_admin == 'false':
|
||||
filters['is_admin'] = False
|
||||
|
||||
users_list = db_api.user.list_users(filters)
|
||||
|
||||
return utils.make_json_response(200, users_list)
|
||||
|
||||
|
||||
class User(Resource):
|
||||
ENDPOINT = PREFIX + '/users'
|
||||
|
||||
def get(self, user_id):
|
||||
"""Get user's information for the specified ID."""
|
||||
try:
|
||||
user_data = db_api.user.get_user(user_id)
|
||||
logging.debug("user_data is===>%s", user_data)
|
||||
|
||||
except RecordNotExists as ex:
|
||||
error_msg = ex.message
|
||||
raise ItemNotFound(error_msg)
|
||||
|
||||
return utils.make_json_response(200, user_data)
|
||||
|
||||
|
||||
class Adapter(Resource):
|
||||
ENDPOINT = PREFIX + "/adapters"
|
||||
|
||||
def get(self, adapter_id):
|
||||
"""Get information for a specified adapter."""
|
||||
|
||||
try:
|
||||
adapter_info = db_api.adapter.get_adapter(adapter_id)
|
||||
except RecordNotExists as ex:
|
||||
error_msg = ex.message
|
||||
raise ItemNotFound(error_msg)
|
||||
|
||||
return utils.make_json_response(200, adapter_info)
|
||||
|
||||
|
||||
@v1_app.route('/adapters', methods=['GET'])
|
||||
def list_adapters():
|
||||
"""List details of all adapters filtered by the adapter name(s)."""
|
||||
|
||||
names = request.args.getlist('name')
|
||||
filters = {}
|
||||
if names:
|
||||
filters['name'] = names
|
||||
|
||||
adapters_list = db_api.adapter.list_adapters(filters)
|
||||
return utils.make_json_response(200, adapters_list)
|
||||
|
||||
|
||||
@v1_app.route('/adapters/<int:adapter_id>/config-schema', methods=['GET'])
|
||||
def get_adapter_config_schema(adapter_id):
|
||||
"""Get the config schema for a specified adapter."""
|
||||
|
||||
os_id = request.args.get("os-id", type=int)
|
||||
|
||||
try:
|
||||
schema = db_api.adapter.get_adapter_config_schema(adapter_id, os_id)
|
||||
except RecordNotExists as ex:
|
||||
raise ItemNotFound(ex.message)
|
||||
|
||||
return utils.make_json_response(200, schema)
|
||||
|
||||
|
||||
@v1_app.route('/adapters/<int:adapter_id>/roles', methods=['GET'])
|
||||
def get_adapter_roles(adapter_id):
|
||||
"""Get roles for a specified adapter."""
|
||||
|
||||
try:
|
||||
roles = db_api.adapter.get_adapter(adapter_id, True)
|
||||
except RecordNotExists as ex:
|
||||
raise ItemNotFound(ex.message)
|
||||
|
||||
return utils.make_json_response(200, roles)
|
||||
|
||||
|
||||
class Cluster(Resource):
|
||||
def get(self, cluster_id):
|
||||
"""Get information for a specified cluster."""
|
||||
|
||||
try:
|
||||
cluster_info = db_api.cluster.get_cluster(cluster_id)
|
||||
|
||||
except RecordNotExists as ex:
|
||||
error_msg = ex.message
|
||||
raise ItemNotFound(error_msg)
|
||||
|
||||
return utils.make_json_response(200, cluster_info)
|
||||
|
||||
|
||||
@v1_app.route('/clusters/<int:cluster_id>/config', methods=['PUT', 'PATCH'])
|
||||
def add_cluster_config(cluster_id):
|
||||
"""Update the config information for a specified cluster."""
|
||||
config = json.loads(request.data)
|
||||
if not config:
|
||||
raise BadRequest("Config cannot be None!")
|
||||
|
||||
root_elems = ['os_config', 'package_config']
|
||||
if len(config.keys()) != 1 or config.keys()[0] not in root_elems:
|
||||
error_msg = ("Config root elements must be either"
|
||||
"'os_config' or 'package_config'")
|
||||
raise BadRequest(error_msg)
|
||||
|
||||
result = None
|
||||
is_patch_method = request.method == 'PATCH'
|
||||
try:
|
||||
if "os_config" in config:
|
||||
result = db_api.cluster\
|
||||
.update_cluster_config(cluster_id,
|
||||
'os_config',
|
||||
config,
|
||||
patch=is_patch_method)
|
||||
elif "package_config" in config:
|
||||
result = db_api.cluster\
|
||||
.update_cluster_config(cluster_id,
|
||||
'package_config', config,
|
||||
patch=is_patch_method)
|
||||
|
||||
except InvalidParameter as ex:
|
||||
raise BadRequest(ex.message)
|
||||
|
||||
except RecordNotExists as ex:
|
||||
raise ItemNotFound(ex.message)
|
||||
|
||||
return utils.make_json_response(200, result)
|
||||
|
||||
|
||||
api.add_resource(User,
|
||||
'/users',
|
||||
'/users/<int:user_id>')
|
||||
api.add_resource(Adapter,
|
||||
'/adapters',
|
||||
'/adapters/<int:adapter_id>')
|
||||
api.add_resource(Cluster,
|
||||
'/clusters',
|
||||
'/clusters/<int:cluster_id>')
|
||||
|
||||
|
||||
@v1_app.errorhandler(ItemNotFound)
|
||||
def handle_not_exist(error, failed_objs=None):
|
||||
"""Handler of ItemNotFound Exception."""
|
||||
|
||||
message = {'type': 'itemNotFound',
|
||||
'message': error.message}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return utils.make_json_response(404, message)
|
||||
|
||||
|
||||
@v1_app.errorhandler(Unauthorized)
|
||||
def handle_invalid_user(error, failed_objs=None):
|
||||
"""Handler of Unauthorized Exception."""
|
||||
|
||||
message = {'type': 'unathorized',
|
||||
'message': error.message}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return utils.make_json_response(401, message)
|
||||
|
||||
|
||||
@v1_app.errorhandler(Forbidden)
|
||||
def handle_no_permission(error, failed_objs=None):
|
||||
"""Handler of Forbidden Exception."""
|
||||
|
||||
message = {'type': 'Forbidden',
|
||||
'message': error.message}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return utils.make_json_response(403, message)
|
||||
|
||||
|
||||
@v1_app.errorhandler(BadRequest)
|
||||
def handle_bad_request(error, failed_objs=None):
|
||||
"""Handler of badRequest Exception."""
|
||||
|
||||
message = {'type': 'badRequest',
|
||||
'message': error.message}
|
||||
|
||||
if failed_objs and isinstance(failed_objs, dict):
|
||||
message.update(failed_objs)
|
||||
|
||||
return utils.make_json_response(400, message)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
v1_app.run(debug=True)
|
44
compass/db/api/__init__.py
Normal file
44
compass/db/api/__init__.py
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Common database query."""
|
||||
|
||||
from compass.db.models import BASE
|
||||
|
||||
|
||||
def model_query(session, model, *args, **kwargs):
|
||||
|
||||
if not issubclass(model, BASE):
|
||||
raise Exception("model should be sublass of BASE!")
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
query = session.query(model)
|
||||
|
||||
return query
|
||||
|
||||
|
||||
def model_filter(query, model, filters, legal_keys):
|
||||
for key in filters:
|
||||
if key not in legal_keys:
|
||||
continue
|
||||
|
||||
value = filters[key]
|
||||
col_attr = getattr(model, key)
|
||||
|
||||
if isinstance(value, list):
|
||||
query = query.filter(col_attr.in_(value))
|
||||
else:
|
||||
query = query.filter(col_attr == value)
|
||||
|
||||
return query
|
158
compass/db/api/adapter.py
Normal file
158
compass/db/api/adapter.py
Normal file
@ -0,0 +1,158 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Adapter database operations."""
|
||||
|
||||
from compass.db import api
|
||||
from compass.db.api import database
|
||||
from compass.db.api.utils import wrap_to_dict
|
||||
from compass.db.exception import RecordNotExists
|
||||
from compass.db.models import Adapter
|
||||
from compass.db.models import OSConfigMetadata
|
||||
# from compass.db.models import PackageConfigMetadata
|
||||
|
||||
|
||||
SUPPORTED_FILTERS = ['name']
|
||||
|
||||
ERROR_MSG = {
|
||||
'findNoAdapter': 'Cannot find the Adapter, ID is %d',
|
||||
'findNoOs': 'Cannot find OS, ID is %d'
|
||||
}
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def get_adapter(adapter_id, return_roles=False):
|
||||
|
||||
with database.session() as session:
|
||||
adapter = _get_adapter(session, adapter_id)
|
||||
info = adapter.to_dict()
|
||||
|
||||
if return_roles:
|
||||
roles = adapter.roles
|
||||
info = [role.name for role in roles]
|
||||
|
||||
return info
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def get_adapter_config_schema(adapter_id, os_id):
|
||||
|
||||
with database.session() as session:
|
||||
adapter = _get_adapter(session, adapter_id)
|
||||
|
||||
os_list = []
|
||||
if not os_id:
|
||||
os_list = [os.id for os in adapter.support_os]
|
||||
else:
|
||||
os_list = [os_id]
|
||||
|
||||
schema = _get_adapter_config_schema(session, adapter_id, os_list)
|
||||
|
||||
return schema
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def list_adapters(filters=None):
|
||||
"""List all users, optionally filtered by some fields."""
|
||||
with database.session() as session:
|
||||
adapters = _list_adapters(session, filters)
|
||||
adapters_list = [adapter.to_dict() for adapter in adapters]
|
||||
|
||||
return adapters_list
|
||||
|
||||
|
||||
def _get_adapter(session, adapter_id):
|
||||
"""Get the adapter by ID."""
|
||||
with session.begin(subtransactions=True):
|
||||
adapter = api.model_query(session, Adapter).first()
|
||||
if not adapter:
|
||||
err_msg = ERROR_MSG['findNoAdapter'] % adapter_id
|
||||
raise RecordNotExists(err_msg)
|
||||
|
||||
return adapter
|
||||
|
||||
|
||||
def _list_adapters(session, filters=None):
|
||||
"""Get all adapters, optionally filtered by some fields."""
|
||||
|
||||
filters = filters or {}
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
query = api.model_query(session, Adapter)
|
||||
adapters = api.model_filter(query, Adapter,
|
||||
filters, SUPPORTED_FILTERS).all()
|
||||
|
||||
return adapters
|
||||
|
||||
|
||||
#TODO(Grace): TMP method
|
||||
def _get_adapter_config_schema(session, adapter_id, os_list):
|
||||
output_dict = {}
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
os_root = session.query(OSConfigMetadata).filter_by(name="os_config")\
|
||||
.first()
|
||||
# pk_root = session.query(PackageConfigMetadata\
|
||||
# .filter_by(name="os_config").first()
|
||||
|
||||
os_config_list = []
|
||||
for os_id in os_list:
|
||||
os_config_dict = {"_name": "os_config"}
|
||||
output_dict = {}
|
||||
output_dict["os_config"] = os_config_dict
|
||||
_get_adapter_config_helper(os_root, os_config_dict,
|
||||
output_dict, "os_id", os_id)
|
||||
result = {"os_id": os_id}
|
||||
result.update(output_dict)
|
||||
os_config_list.append(result)
|
||||
"""
|
||||
package_config_dict = {"_name": "package_config"}
|
||||
output_dict = {}
|
||||
output_dict["package_config"] = package_config_dict
|
||||
_get_adapter_config_internal(pk_root, package_config_dict,
|
||||
output_dict, "adapter_id", adapter_id)
|
||||
"""
|
||||
output_dict = {}
|
||||
output_dict["os_config"] = os_config_list
|
||||
|
||||
return output_dict
|
||||
|
||||
|
||||
# A recursive function
|
||||
# This assumes that only leaf nodes have field entry and that
|
||||
# an intermediate node in config_metadata table does not have field entries
|
||||
def _get_adapter_config_helper(node, current_dict, parent_dict,
|
||||
id_name, id_value):
|
||||
children = node.children
|
||||
|
||||
if children:
|
||||
for c in children:
|
||||
col_value = getattr(c, id_name)
|
||||
if col_value is None or col_value == id_value:
|
||||
child_dict = {"_name": c.name}
|
||||
current_dict[c.name] = child_dict
|
||||
_get_adapter_config_helper(c, child_dict, current_dict,
|
||||
id_name, id_value)
|
||||
del current_dict["_name"]
|
||||
else:
|
||||
fields = node.fields
|
||||
fields_dict = {}
|
||||
|
||||
for field in fields:
|
||||
info = field.to_dict()
|
||||
name = info['field']
|
||||
del info['field']
|
||||
fields_dict[name] = info
|
||||
|
||||
parent_dict[current_dict["_name"]] = fields_dict
|
148
compass/db/api/cluster.py
Normal file
148
compass/db/api/cluster.py
Normal file
@ -0,0 +1,148 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Cluster database operations."""
|
||||
|
||||
import simplejson as json
|
||||
|
||||
from compass.db import api
|
||||
from compass.db.api import database
|
||||
from compass.db.api.utils import merge_dict
|
||||
from compass.db.api.utils import wrap_to_dict
|
||||
from compass.db.exception import InvalidParameter
|
||||
from compass.db.exception import RecordNotExists
|
||||
|
||||
from compass.db.config_validation import default_validator
|
||||
# from compass.db.config_validation import extension
|
||||
|
||||
from compass.db.models import Cluster
|
||||
|
||||
|
||||
SUPPORTED_FILTERS = ['name', 'adapter', 'owner']
|
||||
|
||||
ERROR_MSG = {
|
||||
'findNoCluster': 'Cannot find the Cluster, ID is %d',
|
||||
}
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def get_cluster(cluster_id):
|
||||
|
||||
with database.session() as session:
|
||||
cluster = _get_cluster(session, cluster_id)
|
||||
info = cluster.to_dict()
|
||||
|
||||
return info
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def list_clusters(filters=None):
|
||||
"""List all users, optionally filtered by some fields."""
|
||||
|
||||
filters = filters or {}
|
||||
with database.session() as session:
|
||||
clusters = _list_clusters(session, filters)
|
||||
clusters_info = [cluster.to_dict() for cluster in clusters]
|
||||
|
||||
return clusters_info
|
||||
|
||||
|
||||
@wrap_to_dict()
|
||||
def get_cluster_config(cluster_id):
|
||||
"""Get configuration info for a specified cluster."""
|
||||
|
||||
with database.session() as session:
|
||||
config = _get_cluster_config(session, cluster_id)
|
||||
|
||||
return config
|
||||
|
||||
|
||||
def _get_cluster_config(session, cluster_id):
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
cluster = _get_cluster(cluster_id)
|
||||
config = cluster.config
|
||||
|
||||
return config
|
||||
|
||||
|
||||
def _get_cluster(session, cluster_id):
|
||||
"""Get the adapter by ID."""
|
||||
with session.begin(subtransactions=True):
|
||||
cluster = session.query(Cluster).filter_by(id=cluster_id).first()
|
||||
if not cluster:
|
||||
err_msg = ERROR_MSG['findNoCluster'] % cluster_id
|
||||
raise RecordNotExists(err_msg)
|
||||
return cluster
|
||||
|
||||
|
||||
def _list_clusters(session, filters=None):
|
||||
"""Get all clusters, optionally filtered by some fields."""
|
||||
|
||||
filters = filters or {}
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
query = api.model_query(session, Cluster)
|
||||
clusters = api.model_filter(query, Cluster,
|
||||
filters, SUPPORTED_FILTERS).all()
|
||||
|
||||
return clusters
|
||||
|
||||
|
||||
def update_cluster_config(cluster_id, root_elem, config, patch=True):
|
||||
result = None
|
||||
if root_elem not in ["os_config", "package_config"]:
|
||||
raise InvalidParameter("Invalid parameter %s" % root_elem)
|
||||
|
||||
with database.session() as session:
|
||||
cluster = _get_cluster(session, cluster_id)
|
||||
|
||||
id_name = None
|
||||
id_value = None
|
||||
if root_elem == "os_config":
|
||||
id_name = "os_id"
|
||||
id_value = getattr(cluster, "os_id")
|
||||
else:
|
||||
id_name = "adapter_id"
|
||||
id_value = getattr(cluster, "adapter_id")
|
||||
|
||||
# Validate config format and values
|
||||
is_valid, message = default_validator.validate_config(session,
|
||||
config, id_name,
|
||||
id_value, patch)
|
||||
if not is_valid:
|
||||
raise InvalidParameter(message)
|
||||
|
||||
# For addtional validation, you can define functions in extension,
|
||||
# for example:
|
||||
# os_name = get_os(cluster.os_id)['name']
|
||||
# if getattr(extension, os_name):
|
||||
# func = getattr(getattr(extension, os_name), 'validate_config')
|
||||
# if not func(session, os_id, config, patch):
|
||||
# return False
|
||||
|
||||
if root_elem == 'os_config':
|
||||
os_config = cluster.os_global_config
|
||||
os_config = json.loads(json.dumps(os_config))
|
||||
merge_dict(os_config, config)
|
||||
cluster.os_global_config = os_config
|
||||
result = cluster.os_global_config
|
||||
else:
|
||||
package_config = cluster.package_global_config
|
||||
package_config = json.loads(json.dumps(os_config))
|
||||
merge_dict(package_config, config)
|
||||
cluster.package_global_config = package_config
|
||||
result = cluster.package_global_config
|
||||
|
||||
return result
|
273
compass/db/api/database.py
Normal file
273
compass/db/api/database.py
Normal file
@ -0,0 +1,273 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Provider interface to manipulate database."""
|
||||
import logging
|
||||
|
||||
from contextlib import contextmanager
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import scoped_session
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
from threading import local
|
||||
|
||||
from compass.db import models
|
||||
# from compass.utils import setting_wrapper as setting
|
||||
|
||||
SQLALCHEMY_DATABASE_URI = "sqlite:////tmp/app.db"
|
||||
ENGINE = create_engine(SQLALCHEMY_DATABASE_URI, convert_unicode=True)
|
||||
SESSION = sessionmaker()
|
||||
SESSION.configure(bind=ENGINE)
|
||||
SCOPED_SESSION = scoped_session(SESSION)
|
||||
SESSION_HOLDER = local()
|
||||
|
||||
models.BASE.query = SCOPED_SESSION.query_property()
|
||||
|
||||
# Default permissions for Permission table
|
||||
DEFAULT_PERMS = [
|
||||
{"name": "create_user", "alias": "create a user"},
|
||||
{"name": "delete_user", "alias": "delete a user"},
|
||||
{"name": "change_permission", "alias": "change permissions of a user"},
|
||||
{"name": "delete_cluster", "alias": "delete a cluster"}
|
||||
]
|
||||
|
||||
# Adapter
|
||||
ADAPTERS = ['openstack', 'ceph', 'centos', 'ubuntu']
|
||||
|
||||
# OS
|
||||
OS = ['CentOS', 'Ubuntu']
|
||||
|
||||
# adapter_os (adater_id, os_id)
|
||||
ADAPTER_OS_DEF = {
|
||||
1: [1, 2],
|
||||
2: [1],
|
||||
3: [1],
|
||||
4: [2]
|
||||
}
|
||||
|
||||
# adapter roles
|
||||
ROLES = [
|
||||
{"name": "compute", "adapter_id": 1},
|
||||
{"name": "controller", "adapter_id": 1},
|
||||
{"name": "metering", "adapter_id": 1},
|
||||
{"name": "network", "adapter_id": 1},
|
||||
{"name": "storage", "adapter_id": 1}
|
||||
]
|
||||
|
||||
# OS config metatdata
|
||||
OS_CONFIG_META_DEF = [
|
||||
{"name": "os_config", "p_id": None, 'os_id': None},
|
||||
{"name": "general", "p_id": 1, 'os_id': None},
|
||||
{"name": "network", "p_id": 1, 'os_id': None},
|
||||
{"name": "$interface", "p_id": 3, 'os_id': None},
|
||||
{"name": "ext_example_meta", "p_id": 1, 'os_id': 2},
|
||||
{"name": "server_credentials", "p_id": 1, 'os_id': None}
|
||||
]
|
||||
# OS config field
|
||||
OS_CONFIG_FIELD_DEF = [
|
||||
{"name": "language", "validator": None, 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "timezone", "validator": None, 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "ip", "validator": 'is_valid_ip', 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "netmask", "validator": 'is_valid_netmask', 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "gateway", "validator": 'is_valid_gateway', 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "ext_example_field", "validator": None, 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "username", "validator": None, 'is_required': True,
|
||||
'ftype': 'str'},
|
||||
{"name": "password", "validator": None, 'is_required': True,
|
||||
'ftype': 'str'}
|
||||
]
|
||||
|
||||
# OS config metadata field (metadata_id, field_id)
|
||||
OS_CONFIG_META_FIELD_DEF = {
|
||||
2: [1, 2],
|
||||
4: [3, 4, 5],
|
||||
5: [6],
|
||||
6: [7, 8]
|
||||
}
|
||||
|
||||
# Cluster: Demo purpose
|
||||
CLUSTER = {
|
||||
"name": "demo",
|
||||
"adapter_id": 1,
|
||||
"os_id": 2,
|
||||
"created_by": 1
|
||||
}
|
||||
|
||||
|
||||
def init(database_url):
|
||||
"""Initialize database.
|
||||
|
||||
:param database_url: string, database url.
|
||||
"""
|
||||
global ENGINE
|
||||
global SCOPED_SESSION
|
||||
ENGINE = create_engine(database_url, convert_unicode=True)
|
||||
SESSION.configure(bind=ENGINE)
|
||||
SCOPED_SESSION = scoped_session(SESSION)
|
||||
models.BASE.query = SCOPED_SESSION.query_property()
|
||||
|
||||
|
||||
def in_session():
|
||||
"""check if in database session scope."""
|
||||
if hasattr(SESSION_HOLDER, 'session'):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
@contextmanager
|
||||
def session():
|
||||
"""database session scope.
|
||||
|
||||
.. note::
|
||||
To operate database, it should be called in database session.
|
||||
"""
|
||||
if hasattr(SESSION_HOLDER, 'session'):
|
||||
logging.error('we are already in session')
|
||||
raise Exception('session already exist')
|
||||
else:
|
||||
new_session = SCOPED_SESSION()
|
||||
SESSION_HOLDER.session = new_session
|
||||
|
||||
try:
|
||||
yield new_session
|
||||
new_session.commit()
|
||||
except Exception as error:
|
||||
new_session.rollback()
|
||||
#logging.error('failed to commit session')
|
||||
#logging.exception(error)
|
||||
raise error
|
||||
finally:
|
||||
new_session.close()
|
||||
SCOPED_SESSION.remove()
|
||||
del SESSION_HOLDER.session
|
||||
|
||||
|
||||
def current_session():
|
||||
"""Get the current session scope when it is called.
|
||||
|
||||
:return: database session.
|
||||
"""
|
||||
try:
|
||||
return SESSION_HOLDER.session
|
||||
except Exception as error:
|
||||
logging.error('It is not in the session scope')
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
|
||||
def create_db():
|
||||
"""Create database."""
|
||||
try:
|
||||
models.BASE.metadata.create_all(bind=ENGINE)
|
||||
except Exception as e:
|
||||
print e
|
||||
with session() as _session:
|
||||
# Initialize default user
|
||||
user = models.User(email='admin@abc.com',
|
||||
password='admin', is_admin=True)
|
||||
_session.add(user)
|
||||
print "Checking .....\n"
|
||||
# Initialize default permissions
|
||||
permissions = []
|
||||
for perm in DEFAULT_PERMS:
|
||||
permissions.append(models.Permission(**perm))
|
||||
|
||||
_session.add_all(permissions)
|
||||
|
||||
# Populate adapter table
|
||||
adapters = []
|
||||
for name in ADAPTERS:
|
||||
adapters.append(models.Adapter(name=name))
|
||||
|
||||
_session.add_all(adapters)
|
||||
|
||||
# Populate adapter roles
|
||||
roles = []
|
||||
for entry in ROLES:
|
||||
roles.append(models.AdapterRole(**entry))
|
||||
_session.add_all(roles)
|
||||
|
||||
# Populate os table
|
||||
oses = []
|
||||
for name in OS:
|
||||
oses.append(models.OperatingSystem(name=name))
|
||||
_session.add_all(oses)
|
||||
|
||||
# Populate adapter_os table
|
||||
for key in ADAPTER_OS_DEF:
|
||||
adapter = adapters[key - 1]
|
||||
for os_id in ADAPTER_OS_DEF[key]:
|
||||
os = oses[os_id - 1]
|
||||
adapter.support_os.append(os)
|
||||
|
||||
# Populate OS config metatdata
|
||||
os_meta = []
|
||||
for key in OS_CONFIG_META_DEF:
|
||||
if key['p_id'] is None:
|
||||
meta = models.OSConfigMetadata(name=key['name'],
|
||||
os_id=key['os_id'])
|
||||
else:
|
||||
parent = os_meta[key['p_id'] - 1]
|
||||
meta = models.OSConfigMetadata(name=key['name'],
|
||||
os_id=key['os_id'],
|
||||
parent=parent)
|
||||
os_meta.append(meta)
|
||||
|
||||
_session.add_all(os_meta)
|
||||
|
||||
# Populate OS config field
|
||||
os_fields = []
|
||||
for field in OS_CONFIG_FIELD_DEF:
|
||||
os_fields.append(models.OSConfigField(
|
||||
field=field['name'], validator=field['validator'],
|
||||
is_required=field['is_required'], ftype=field['ftype']))
|
||||
_session.add_all(os_fields)
|
||||
|
||||
# Populate OS config metatdata field
|
||||
for meta_id in OS_CONFIG_META_FIELD_DEF:
|
||||
meta = os_meta[meta_id - 1]
|
||||
for field_id in OS_CONFIG_META_FIELD_DEF[meta_id]:
|
||||
field = os_fields[field_id - 1]
|
||||
meta.fields.append(field)
|
||||
|
||||
# Populate one cluster -- DEMO PURPOSE
|
||||
cluster = models.Cluster(**CLUSTER)
|
||||
_session.add(cluster)
|
||||
|
||||
|
||||
def drop_db():
|
||||
"""Drop database."""
|
||||
models.BASE.metadata.drop_all(bind=ENGINE)
|
||||
|
||||
|
||||
def create_table(table):
|
||||
"""Create table.
|
||||
|
||||
:param table: Class of the Table defined in the model.
|
||||
"""
|
||||
table.__table__.create(bind=ENGINE, checkfirst=True)
|
||||
|
||||
|
||||
def drop_table(table):
|
||||
"""Drop table.
|
||||
|
||||
:param table: Class of the Table defined in the model.
|
||||
"""
|
||||
table.__table__.drop(bind=ENGINE, checkfirst=True)
|
138
compass/db/api/user.py
Normal file
138
compass/db/api/user.py
Normal file
@ -0,0 +1,138 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""User database operations."""
|
||||
|
||||
from compass.db import api
|
||||
from compass.db.api import database
|
||||
from compass.db.api.utils import wrap_to_dict
|
||||
from compass.db.exception import DuplicatedRecord
|
||||
from compass.db.exception import Forbidden
|
||||
from compass.db.exception import RecordNotExists
|
||||
from compass.db.models import User
|
||||
|
||||
|
||||
SUPPORTED_FILTERS = ['email', 'admin']
|
||||
UPDATED_FIELDS = ['firstname', 'lastname', 'password']
|
||||
RESP_FIELDS = ['id', 'email', 'is_admin', 'active', 'firstname',
|
||||
'lastname', 'created_at', 'last_login_at']
|
||||
|
||||
ERROR_MSG = {
|
||||
'findNoUser': 'Cannot find the user, ID is %d',
|
||||
'duplicatedUser': 'User already exists!',
|
||||
'forbidden': 'User has no permission to make this request.'
|
||||
}
|
||||
|
||||
|
||||
@wrap_to_dict(RESP_FIELDS)
|
||||
def get_user(user_id):
|
||||
with database.session() as session:
|
||||
user = _get_user(session, user_id)
|
||||
user_info = user.to_dict()
|
||||
|
||||
return user_info
|
||||
|
||||
|
||||
@wrap_to_dict(RESP_FIELDS)
|
||||
def list_users(filters=None):
|
||||
"""List all users, optionally filtered by some fields."""
|
||||
with database.session() as session:
|
||||
users = _list_users(session, filters)
|
||||
users_list = [user.to_dict() for user in users]
|
||||
|
||||
return users_list
|
||||
|
||||
|
||||
@wrap_to_dict(RESP_FIELDS)
|
||||
def add_user(creator_id, email, password, firstname=None, lastname=None):
|
||||
"""Create a user."""
|
||||
REQUIRED_PERM = 'create_user'
|
||||
|
||||
with database.session() as session:
|
||||
|
||||
creator = _get_user(session, creator_id)
|
||||
|
||||
if not creator.is_admin or REQUIRED_PERM not in creator.permissions:
|
||||
# The user is not allowed to create a user.
|
||||
err_msg = ERROR_MSG['forbidden']
|
||||
raise Forbidden(err_msg)
|
||||
|
||||
if session.query(User).filter_by(email=email).first():
|
||||
# The user already exists!
|
||||
err_msg = ERROR_MSG['duplicatedUser']
|
||||
raise DuplicatedRecord(err_msg)
|
||||
|
||||
new_user = _add_user(email, password, firstname, lastname)
|
||||
new_user_info = new_user.to_dict()
|
||||
|
||||
return new_user_info
|
||||
|
||||
|
||||
@wrap_to_dict(RESP_FIELDS)
|
||||
def update_user(user_id, **kwargs):
|
||||
"""Update a user."""
|
||||
with database.session() as session:
|
||||
user = _get_user(session, user_id)
|
||||
|
||||
update_info = {}
|
||||
for key in kwargs:
|
||||
if key in UPDATED_FIELDS:
|
||||
update_info[key] = kwargs[key]
|
||||
|
||||
user = _update_user(**update_info)
|
||||
user_info = user.to_dict()
|
||||
|
||||
return user_info
|
||||
|
||||
|
||||
def _get_user(session, user_id):
|
||||
"""Get the user by ID."""
|
||||
with session.begin(subtransactions=True):
|
||||
user = session.query(User).filter_by(id=user_id).first()
|
||||
if not user:
|
||||
err_msg = ERROR_MSG['findNoUser'] % user_id
|
||||
raise RecordNotExists(err_msg)
|
||||
|
||||
return user
|
||||
|
||||
|
||||
def _list_users(session, filters=None):
|
||||
"""Get all users, optionally filtered by some fields."""
|
||||
|
||||
filters = filters if filters else {}
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
query = api.model_query(session, User)
|
||||
users = api.model_filter(query, User, filters, SUPPORTED_FILTERS).all()
|
||||
|
||||
return users
|
||||
|
||||
|
||||
def _add_user(session, email, password, firstname=None, lastname=None):
|
||||
"""Create a user."""
|
||||
with session.begin(subtransactions=True):
|
||||
user = User(email=email, password=password,
|
||||
firstname=firstname, lastname=lastname)
|
||||
session.add(user)
|
||||
|
||||
return user
|
||||
|
||||
|
||||
def _update_user(session, user_id, **kwargs):
|
||||
"""Update user information."""
|
||||
with session.begin(subtransactions=True):
|
||||
session.query(User).filter_by(id=user_id).update(kwargs)
|
||||
user = _get_user(session, user_id)
|
||||
|
||||
return user
|
80
compass/db/api/utils.py
Normal file
80
compass/db/api/utils.py
Normal file
@ -0,0 +1,80 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Utils for database usage."""
|
||||
import copy
|
||||
from functools import wraps
|
||||
|
||||
|
||||
def wrap_to_dict(support_keys=None):
|
||||
def decorator(func):
|
||||
@wraps(func)
|
||||
def wrapper(*args, **kwargs):
|
||||
obj = func(*args, **kwargs)
|
||||
obj_info = None
|
||||
if isinstance(obj, list):
|
||||
obj_info = [_wrapper_dict(o, support_keys) for o in obj]
|
||||
else:
|
||||
obj_info = _wrapper_dict(obj, support_keys)
|
||||
|
||||
return obj_info
|
||||
return wrapper
|
||||
return decorator
|
||||
|
||||
|
||||
def _wrapper_dict(data, support_keys=None):
|
||||
"""Helper for warpping db object into dictionaryi."""
|
||||
if support_keys is None:
|
||||
return data
|
||||
|
||||
info = {}
|
||||
for key in support_keys:
|
||||
if key in data:
|
||||
info[key] = data[key]
|
||||
|
||||
return info
|
||||
|
||||
|
||||
def merge_dict(lhs, rhs, override=True):
|
||||
"""Merge nested right dict into left nested dict recursively.
|
||||
|
||||
:param lhs: dict to be merged into.
|
||||
:type lhs: dict
|
||||
:param rhs: dict to merge from.
|
||||
:type rhs: dict
|
||||
:param override: the value in rhs overide the value in left if True.
|
||||
:type override: str
|
||||
|
||||
:raises: TypeError if lhs or rhs is not a dict.
|
||||
"""
|
||||
if not rhs:
|
||||
return
|
||||
|
||||
if not isinstance(lhs, dict):
|
||||
raise TypeError('lhs type is %s while expected is dict' % type(lhs),
|
||||
lhs)
|
||||
|
||||
if not isinstance(rhs, dict):
|
||||
raise TypeError('rhs type is %s while expected is dict' % type(rhs),
|
||||
rhs)
|
||||
|
||||
for key, value in rhs.items():
|
||||
if (
|
||||
isinstance(value, dict) and key in lhs and
|
||||
isinstance(lhs[key], dict)
|
||||
):
|
||||
merge_dict(lhs[key], value, override)
|
||||
else:
|
||||
if override or key not in lhs:
|
||||
lhs[key] = copy.deepcopy(value)
|
129
compass/db/config_validation/default_validator.py
Normal file
129
compass/db/config_validation/default_validator.py
Normal file
@ -0,0 +1,129 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Default config validation function."""
|
||||
|
||||
from sqlalchemy import or_
|
||||
|
||||
from compass.db.models import OSConfigField
|
||||
from compass.db.models import OSConfigMetadata
|
||||
from compass.db import validator
|
||||
|
||||
MAPPER = {
|
||||
"os_id": {
|
||||
"metaTable": OSConfigMetadata,
|
||||
"metaFieldTable": OSConfigField
|
||||
}
|
||||
# "adapter_id": {
|
||||
# "metaTable": AdapterConfigMetadata,
|
||||
# "metaFieldTable": AdapterConfigField
|
||||
# }
|
||||
}
|
||||
|
||||
|
||||
def validate_config(session, config, id_name, id_value, patch=True):
|
||||
"""Validates the given config value according to the config
|
||||
metadata of the asscoiated os_id or adapter_id. Returns
|
||||
a tuple (status, message).
|
||||
"""
|
||||
if id_name not in MAPPER.keys():
|
||||
return (False, "Invalid id type %s" % id_name)
|
||||
|
||||
meta_table = MAPPER[id_name]['metaTable']
|
||||
metafield_table = MAPPER[id_name]['metaFieldTable']
|
||||
with session.begin(subtransactions=True):
|
||||
name_col = name_col = getattr(meta_table, 'name')
|
||||
id_col = getattr(meta_table, id_name)
|
||||
|
||||
return _validate_config_helper(session, config,
|
||||
name_col, id_col, id_value,
|
||||
meta_table, metafield_table,
|
||||
patch)
|
||||
|
||||
|
||||
def _validate_config_helper(session, config,
|
||||
name_col, id_col, id_value,
|
||||
meta_table, metafield_table, patch=True):
|
||||
|
||||
with session.begin(subtransactions=True):
|
||||
for elem in config:
|
||||
|
||||
obj = session.query(meta_table).filter(name_col == elem)\
|
||||
.filter(or_(id_col is None,
|
||||
id_col == id_value)).first()
|
||||
|
||||
if not obj and "_type" not in config[elem]:
|
||||
return (False, "Invalid metadata '%s'!" % elem)
|
||||
|
||||
if "_type" in config[elem]:
|
||||
# Metadata is a variable
|
||||
metadata_name = config[elem]['_type']
|
||||
obj = session.query(meta_table).filter_by(name=metadata_name)\
|
||||
.first()
|
||||
|
||||
if not obj:
|
||||
err_msg = ("Invalid metatdata '%s' or missing '_type'"
|
||||
"to indicate this is a variable metatdata."
|
||||
% elem)
|
||||
return (False, err_msg)
|
||||
|
||||
# TODO(Grace): validate metadata here
|
||||
del config[elem]['_type']
|
||||
|
||||
fields = obj.fields
|
||||
|
||||
if not fields:
|
||||
is_valid, message = _validate_config_helper(session,
|
||||
config[elem],
|
||||
name_col, id_col,
|
||||
id_value,
|
||||
meta_table,
|
||||
metafield_table,
|
||||
patch)
|
||||
if not is_valid:
|
||||
return (False, message)
|
||||
|
||||
else:
|
||||
field_config = config[elem]
|
||||
for key in field_config:
|
||||
field = session.query(metafield_table)\
|
||||
.filter_by(field=key).first()
|
||||
if not field:
|
||||
# The field is not in schema
|
||||
return (False, "Invalid field '%s'!" % key)
|
||||
|
||||
value = field_config[key]
|
||||
if field.is_required and value is None:
|
||||
# The value of this field is required
|
||||
# and cannot be none
|
||||
err = "The value of field '%s' cannot be null!" % key
|
||||
return (False, err)
|
||||
|
||||
if field.validator:
|
||||
func = getattr(validator, field.validator)
|
||||
if not func or not func(value):
|
||||
err_msg = ("The value of the field '%s' is "
|
||||
"invalid format or None!" % key)
|
||||
return (False, err_msg)
|
||||
|
||||
# This is a PUT request. We need to check presence of all
|
||||
# required fields.
|
||||
if not patch:
|
||||
for field in fields:
|
||||
name = field.field
|
||||
if field.is_required and name not in field_config:
|
||||
return (False,
|
||||
"Missing required field '%s'" % name)
|
||||
|
||||
return (True, None)
|
@ -4,10 +4,15 @@
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
def validate_cluster_config():
|
||||
# TODO(xiaodong): Add openstack specific validation here.
|
||||
pass
|
@ -1,130 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Provider interface to manipulate database."""
|
||||
import logging
|
||||
|
||||
from contextlib import contextmanager
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import scoped_session
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
from threading import local
|
||||
|
||||
from compass.db import model
|
||||
from compass.utils import setting_wrapper as setting
|
||||
|
||||
|
||||
ENGINE = create_engine(setting.SQLALCHEMY_DATABASE_URI, convert_unicode=True)
|
||||
SESSION = sessionmaker(autocommit=False, autoflush=False)
|
||||
SESSION.configure(bind=ENGINE)
|
||||
SCOPED_SESSION = scoped_session(SESSION)
|
||||
|
||||
model.BASE.query = SCOPED_SESSION.query_property()
|
||||
|
||||
SESSION_HOLDER = local()
|
||||
|
||||
model.BASE.query = SCOPED_SESSION.query_property()
|
||||
|
||||
|
||||
def init(database_url):
|
||||
"""Initialize database.
|
||||
|
||||
:param database_url: string, database url.
|
||||
"""
|
||||
global ENGINE
|
||||
global SCOPED_SESSION
|
||||
ENGINE = create_engine(database_url, convert_unicode=True)
|
||||
SESSION.configure(bind=ENGINE)
|
||||
SCOPED_SESSION = scoped_session(SESSION)
|
||||
model.BASE.query = SCOPED_SESSION.query_property()
|
||||
|
||||
|
||||
def in_session():
|
||||
"""check if in database session scope."""
|
||||
if hasattr(SESSION_HOLDER, 'session'):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
@contextmanager
|
||||
def session():
|
||||
"""database session scope.
|
||||
|
||||
.. note::
|
||||
To operate database, it should be called in database session.
|
||||
"""
|
||||
if hasattr(SESSION_HOLDER, 'session'):
|
||||
logging.error('we are already in session')
|
||||
raise Exception('session already exist')
|
||||
else:
|
||||
new_session = SCOPED_SESSION()
|
||||
SESSION_HOLDER.session = new_session
|
||||
|
||||
try:
|
||||
yield new_session
|
||||
new_session.commit()
|
||||
except Exception as error:
|
||||
new_session.rollback()
|
||||
logging.error('failed to commit session')
|
||||
logging.exception(error)
|
||||
raise error
|
||||
finally:
|
||||
new_session.close()
|
||||
SCOPED_SESSION.remove()
|
||||
del SESSION_HOLDER.session
|
||||
|
||||
|
||||
def current_session():
|
||||
"""Get the current session scope when it is called.
|
||||
|
||||
:return: database session.
|
||||
"""
|
||||
try:
|
||||
return SESSION_HOLDER.session
|
||||
except Exception as error:
|
||||
logging.error('It is not in the session scope')
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
|
||||
def create_db():
|
||||
"""Create database."""
|
||||
model.BASE.metadata.create_all(bind=ENGINE)
|
||||
with session() as _s:
|
||||
# Initialize default user
|
||||
user = model.User(email='admin@abc.com', password='admin')
|
||||
logging.info('Init user: %s, %s' % (user.email, user.get_password()))
|
||||
_s.add(user)
|
||||
|
||||
|
||||
def drop_db():
|
||||
"""Drop database."""
|
||||
model.BASE.metadata.drop_all(bind=ENGINE)
|
||||
|
||||
|
||||
def create_table(table):
|
||||
"""Create table.
|
||||
|
||||
:param table: Class of the Table defined in the model.
|
||||
"""
|
||||
table.__table__.create(bind=ENGINE, checkfirst=True)
|
||||
|
||||
|
||||
def drop_table(table):
|
||||
"""Drop table.
|
||||
|
||||
:param table: Class of the Table defined in the model.
|
||||
"""
|
||||
table.__table__.drop(bind=ENGINE, checkfirst=True)
|
@ -12,4 +12,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# TODO(Grace): Add the initial API code here.
|
||||
from compass.db.api import adapter
|
||||
from compass.db.api import cluster
|
||||
from compass.db.api import user
|
46
compass/db/exception.py
Normal file
46
compass/db/exception.py
Normal file
@ -0,0 +1,46 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Custom exception"""
|
||||
|
||||
|
||||
class RecordNotExists(Exception):
|
||||
"""Define the exception for referring non-existing object in DB."""
|
||||
def __init__(self, message):
|
||||
super(RecordNotExists, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
|
||||
class DuplicatedRecord(Exception):
|
||||
"""Define the exception for trying to insert an existing object in DB."""
|
||||
def __init__(self, message):
|
||||
super(DuplicatedRecord, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
|
||||
class Forbidden(Exception):
|
||||
"""Define the exception that a user is trying to make some action
|
||||
without the right permission.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(Forbidden, self).__init__(message)
|
||||
self.message = message
|
||||
|
||||
|
||||
class InvalidParameter(Exception):
|
||||
"""Define the exception that the request has invalid or missing parameters.
|
||||
"""
|
||||
def __init__(self, message):
|
||||
super(InvalidParameter, self).__init__(message)
|
||||
self.message = message
|
@ -1,711 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""database model."""
|
||||
from datetime import datetime
|
||||
from hashlib import md5
|
||||
import logging
|
||||
import simplejson as json
|
||||
import uuid
|
||||
|
||||
from sqlalchemy import Column, ColumnDefault, Integer, String
|
||||
from sqlalchemy import Float, Enum, DateTime, ForeignKey, Text, Boolean
|
||||
from sqlalchemy import UniqueConstraint
|
||||
from sqlalchemy.orm import relationship, backref
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy.ext.hybrid import hybrid_property
|
||||
|
||||
from compass.utils import util
|
||||
|
||||
from flask.ext.login import UserMixin
|
||||
from itsdangerous import URLSafeTimedSerializer
|
||||
|
||||
BASE = declarative_base()
|
||||
#TODO(grace) SECRET_KEY should be generated when installing compass
|
||||
#and save to a config file or DB
|
||||
SECRET_KEY = "abcd"
|
||||
|
||||
#This is used for generating a token by user's ID and
|
||||
#decode the ID from this token
|
||||
login_serializer = URLSafeTimedSerializer(SECRET_KEY)
|
||||
|
||||
|
||||
class User(BASE, UserMixin):
|
||||
"""User table."""
|
||||
__tablename__ = 'user'
|
||||
id = Column(Integer, primary_key=True)
|
||||
email = Column(String(80), unique=True)
|
||||
password = Column(String(225))
|
||||
active = Column(Boolean, default=True)
|
||||
|
||||
def __init__(self, email, password, **kwargs):
|
||||
self.email = email
|
||||
self.password = self._set_password(password)
|
||||
|
||||
def __repr__(self):
|
||||
return '<User name: %s>' % self.email
|
||||
|
||||
def _set_password(self, password):
|
||||
return self._hash_password(password)
|
||||
|
||||
def get_password(self):
|
||||
return self.password
|
||||
|
||||
def valid_password(self, password):
|
||||
return self.password == self._hash_password(password)
|
||||
|
||||
def get_auth_token(self):
|
||||
return login_serializer.dumps(self.id)
|
||||
|
||||
def is_active(self):
|
||||
return self.active
|
||||
|
||||
def _hash_password(self, password):
|
||||
return md5(password).hexdigest()
|
||||
|
||||
|
||||
class SwitchConfig(BASE):
|
||||
"""Swtich Config table.
|
||||
|
||||
:param id: The unique identifier of the switch config.
|
||||
:param ip: The IP address of the switch.
|
||||
:param filter_port: The port of the switch which need to be filtered.
|
||||
"""
|
||||
__tablename__ = 'switch_config'
|
||||
id = Column(Integer, primary_key=True)
|
||||
ip = Column(String(80))
|
||||
filter_port = Column(String(16))
|
||||
__table_args__ = (UniqueConstraint('ip', 'filter_port', name='filter1'), )
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(SwitchConfig, self).__init__(**kwargs)
|
||||
|
||||
|
||||
class Switch(BASE):
|
||||
"""Switch table.
|
||||
|
||||
:param id: the unique identifier of the switch. int as primary key.
|
||||
:param ip: the IP address of the switch.
|
||||
:param vendor_info: the name of the vendor
|
||||
:param credential_data: used for accessing and retrieving information
|
||||
from the switch. Store json format as string.
|
||||
:param state: Enum.'initialized/repolling': polling switch not complete to
|
||||
learn all MAC addresses of devices connected to the switch;
|
||||
'unreachable': one of the final state, indicates that the
|
||||
switch is unreachable at this time, no MAC address could be
|
||||
retrieved from the switch.
|
||||
'notsupported': one of the final state, indicates that the
|
||||
vendor found is not supported yet, no MAC address will be
|
||||
retrieved from the switch.
|
||||
'error': one of the final state, indicates that something
|
||||
wrong happend.
|
||||
'under_monitoring': one of the final state, indicates that
|
||||
MAC addresses has been learned successfully from the switch.
|
||||
:param err_msg: Error message when polling switch failed.
|
||||
:param machines: refer to list of Machine connected to the switch.
|
||||
"""
|
||||
__tablename__ = 'switch'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
ip = Column(String(80), unique=True)
|
||||
credential_data = Column(Text)
|
||||
vendor_info = Column(String(256), nullable=True)
|
||||
state = Column(Enum('initialized', 'unreachable', 'notsupported',
|
||||
'repolling', 'error', 'under_monitoring',
|
||||
name='switch_state'),
|
||||
default='initialized')
|
||||
err_msg = Column(Text)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(Switch, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<Switch ip: %r, credential: %r, vendor: %r, state: %s>'\
|
||||
% (self.ip, self.credential, self.vendor, self.state)
|
||||
|
||||
@hybrid_property
|
||||
def vendor(self):
|
||||
"""vendor property getter"""
|
||||
return self.vendor_info
|
||||
|
||||
@vendor.setter
|
||||
def vendor(self, value):
|
||||
"""vendor property setter"""
|
||||
self.vendor_info = value
|
||||
|
||||
@property
|
||||
def credential(self):
|
||||
"""credential data getter.
|
||||
|
||||
:returns: python primitive dictionary object.
|
||||
"""
|
||||
if self.credential_data:
|
||||
try:
|
||||
credential = json.loads(self.credential_data)
|
||||
return credential
|
||||
except Exception as error:
|
||||
logging.error('failed to load credential data %s: %s',
|
||||
self.id, self.credential_data)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
return {}
|
||||
|
||||
@credential.setter
|
||||
def credential(self, value):
|
||||
"""credential property setter
|
||||
|
||||
:param value: dict of configuration data needed to update.
|
||||
"""
|
||||
if value:
|
||||
try:
|
||||
credential = {}
|
||||
if self.credential_data:
|
||||
credential = json.loads(self.credential_data)
|
||||
|
||||
credential.update(value)
|
||||
self.credential_data = json.dumps(credential)
|
||||
|
||||
except Exception as error:
|
||||
logging.error('failed to dump credential data %s: %s',
|
||||
self.id, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
else:
|
||||
self.credential_data = json.dumps({})
|
||||
|
||||
logging.debug('switch now is %s', self)
|
||||
|
||||
|
||||
class Machine(BASE):
|
||||
"""Machine table.
|
||||
|
||||
.. note::
|
||||
currently, we are taking care of management plane.
|
||||
Therefore, we assume one machine is connected to one switch.
|
||||
|
||||
:param id: int, identity as primary key
|
||||
:param mac: string, the MAC address of the machine.
|
||||
:param switch_id: switch id that this machine connected on to.
|
||||
:param port: nth port of the switch that this machine connected.
|
||||
:param vlan: vlan id that this machine connected on to.
|
||||
:param update_timestamp: last time this entry got updated.
|
||||
:param switch: refer to the Switch the machine connects to.
|
||||
"""
|
||||
__tablename__ = 'machine'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
mac = Column(String(24), default='')
|
||||
port = Column(String(16), default='')
|
||||
vlan = Column(Integer, default=0)
|
||||
update_timestamp = Column(DateTime, default=datetime.now,
|
||||
onupdate=datetime.now)
|
||||
switch_id = Column(Integer, ForeignKey('switch.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='SET NULL'))
|
||||
__table_args__ = (UniqueConstraint('mac', 'vlan', 'switch_id',
|
||||
name='unique_machine'),)
|
||||
switch = relationship('Switch', backref=backref('machines',
|
||||
lazy='dynamic'))
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(Machine, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<Machine %r: port=%r vlan=%r switch=%r>' % (
|
||||
self.mac, self.port, self.vlan, self.switch)
|
||||
|
||||
|
||||
class HostState(BASE):
|
||||
"""The state of the ClusterHost.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param state: Enum. 'UNINITIALIZED': the host is ready to setup.
|
||||
'INSTALLING': the host is not installing.
|
||||
'READY': the host is setup.
|
||||
'ERROR': the host has error.
|
||||
:param progress: float, the installing progress from 0 to 1.
|
||||
:param message: the latest installing message.
|
||||
:param severity: Enum, the installing message severity.
|
||||
('INFO', 'WARNING', 'ERROR')
|
||||
:param update_timestamp: the lastest timestamp the entry got updated.
|
||||
:param host: refer to ClusterHost.
|
||||
"""
|
||||
__tablename__ = "host_state"
|
||||
|
||||
id = Column(Integer, ForeignKey('cluster_host.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='CASCADE'),
|
||||
primary_key=True)
|
||||
state = Column(Enum('UNINITIALIZED', 'INSTALLING', 'READY', 'ERROR'),
|
||||
ColumnDefault('UNINITIALIZED'))
|
||||
progress = Column(Float, ColumnDefault(0.0))
|
||||
message = Column(String)
|
||||
severity = Column(Enum('INFO', 'WARNING', 'ERROR'), ColumnDefault('INFO'))
|
||||
update_timestamp = Column(DateTime, default=datetime.now,
|
||||
onupdate=datetime.now)
|
||||
host = relationship('ClusterHost', backref=backref('state',
|
||||
uselist=False))
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(HostState, self).__init__(**kwargs)
|
||||
|
||||
@hybrid_property
|
||||
def hostname(self):
|
||||
"""hostname getter"""
|
||||
return self.host.hostname
|
||||
|
||||
@hybrid_property
|
||||
def fullname(self):
|
||||
"""fullname getter"""
|
||||
return self.host.fullname
|
||||
|
||||
def __repr__(self):
|
||||
return (
|
||||
'<HostState %r: state=%r, progress=%s, '
|
||||
'message=%s, severity=%s>'
|
||||
) % (
|
||||
self.hostname, self.state, self.progress,
|
||||
self.message, self.severity
|
||||
)
|
||||
|
||||
|
||||
class ClusterState(BASE):
|
||||
"""The state of the Cluster.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param state: Enum, 'UNINITIALIZED': the cluster is ready to setup.
|
||||
'INSTALLING': the cluster is not installing.
|
||||
'READY': the cluster is setup.
|
||||
'ERROR': the cluster has error.
|
||||
:param progress: float, the installing progress from 0 to 1.
|
||||
:param message: the latest installing message.
|
||||
:param severity: Enum, the installing message severity.
|
||||
('INFO', 'WARNING', 'ERROR').
|
||||
:param update_timestamp: the lastest timestamp the entry got updated.
|
||||
:param cluster: refer to Cluster.
|
||||
"""
|
||||
__tablename__ = 'cluster_state'
|
||||
id = Column(Integer, ForeignKey('cluster.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='CASCADE'),
|
||||
primary_key=True)
|
||||
state = Column(Enum('UNINITIALIZED', 'INSTALLING', 'READY', 'ERROR'),
|
||||
ColumnDefault('UNINITIALIZED'))
|
||||
progress = Column(Float, ColumnDefault(0.0))
|
||||
message = Column(String)
|
||||
severity = Column(Enum('INFO', 'WARNING', 'ERROR'), ColumnDefault('INFO'))
|
||||
update_timestamp = Column(DateTime, default=datetime.now,
|
||||
onupdate=datetime.now)
|
||||
cluster = relationship('Cluster', backref=backref('state',
|
||||
uselist=False))
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(ClusterState, self).__init__(**kwargs)
|
||||
|
||||
@hybrid_property
|
||||
def clustername(self):
|
||||
"""clustername getter"""
|
||||
return self.cluster.name
|
||||
|
||||
def __repr__(self):
|
||||
return (
|
||||
'<ClusterState %r: state=%r, progress=%s, '
|
||||
'message=%s, severity=%s>'
|
||||
) % (
|
||||
self.clustername, self.state, self.progress,
|
||||
self.message, self.severity
|
||||
)
|
||||
|
||||
|
||||
class Cluster(BASE):
|
||||
"""Cluster configuration information.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param name: str, cluster name.
|
||||
:param mutable: bool, if the Cluster is mutable.
|
||||
:param security_config: str stores json formatted security information.
|
||||
:param networking_config: str stores json formatted networking information.
|
||||
:param partition_config: string stores json formatted parition information.
|
||||
:param adapter_id: the refer id in the Adapter table.
|
||||
:param raw_config: str stores json formatted other cluster information.
|
||||
:param adapter: refer to the Adapter.
|
||||
:param state: refer to the ClusterState.
|
||||
"""
|
||||
__tablename__ = 'cluster'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String, unique=True)
|
||||
mutable = Column(Boolean, default=True)
|
||||
security_config = Column(Text)
|
||||
networking_config = Column(Text)
|
||||
partition_config = Column(Text)
|
||||
adapter_id = Column(Integer, ForeignKey('adapter.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='SET NULL'),
|
||||
nullable=True)
|
||||
raw_config = Column(Text)
|
||||
adapter = relationship("Adapter", backref=backref('clusters',
|
||||
lazy='dynamic'))
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
if 'name' not in kwargs or not kwargs['name']:
|
||||
kwargs['name'] = str(uuid.uuid4())
|
||||
|
||||
super(Cluster, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<Cluster %r: config=%r>' % (self.name, self.config)
|
||||
|
||||
@property
|
||||
def partition(self):
|
||||
"""partition getter"""
|
||||
if self.partition_config:
|
||||
try:
|
||||
return json.loads(self.partition_config)
|
||||
except Exception as error:
|
||||
logging.error('failed to load security config %s: %s',
|
||||
self.id, self.partition_config)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
return {}
|
||||
|
||||
@partition.setter
|
||||
def partition(self, value):
|
||||
"""partition setter"""
|
||||
logging.debug('cluster %s set partition %s', self.id, value)
|
||||
if value:
|
||||
try:
|
||||
self.partition_config = json.dumps(value)
|
||||
except Exception as error:
|
||||
logging.error('failed to dump partition config %s: %s',
|
||||
self.id, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
self.partition_config = None
|
||||
|
||||
@property
|
||||
def security(self):
|
||||
"""security getter"""
|
||||
if self.security_config:
|
||||
try:
|
||||
return json.loads(self.security_config)
|
||||
except Exception as error:
|
||||
logging.error('failed to load security config %s: %s',
|
||||
self.id, self.security_config)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
return {}
|
||||
|
||||
@security.setter
|
||||
def security(self, value):
|
||||
"""security setter"""
|
||||
logging.debug('cluster %s set security %s', self.id, value)
|
||||
if value:
|
||||
try:
|
||||
self.security_config = json.dumps(value)
|
||||
except Exception as error:
|
||||
logging.error('failed to dump security config %s: %s',
|
||||
self.id, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
self.security_config = None
|
||||
|
||||
@property
|
||||
def networking(self):
|
||||
"""networking getter"""
|
||||
if self.networking_config:
|
||||
try:
|
||||
return json.loads(self.networking_config)
|
||||
except Exception as error:
|
||||
logging.error('failed to load networking config %s: %s',
|
||||
self.id, self.networking_config)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
return {}
|
||||
|
||||
@networking.setter
|
||||
def networking(self, value):
|
||||
"""networking setter."""
|
||||
logging.debug('cluster %s set networking %s', self.id, value)
|
||||
if value:
|
||||
try:
|
||||
self.networking_config = json.dumps(value)
|
||||
except Exception as error:
|
||||
logging.error('failed to dump networking config %s: %s',
|
||||
self.id, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
else:
|
||||
self.networking_config = None
|
||||
|
||||
@hybrid_property
|
||||
def config(self):
|
||||
"""get config from security, networking, partition."""
|
||||
config = {}
|
||||
if self.raw_config:
|
||||
try:
|
||||
config = json.loads(self.raw_config)
|
||||
except Exception as error:
|
||||
logging.error('failed to load raw config %s: %s',
|
||||
self.id, self.raw_config)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
util.merge_dict(config, {'security': self.security})
|
||||
util.merge_dict(config, {'networking': self.networking})
|
||||
util.merge_dict(config, {'partition': self.partition})
|
||||
util.merge_dict(config, {'clusterid': self.id,
|
||||
'clustername': self.name})
|
||||
return config
|
||||
|
||||
@config.setter
|
||||
def config(self, value):
|
||||
"""set config to security, networking, partition."""
|
||||
logging.debug('cluster %s set config %s', self.id, value)
|
||||
if not value:
|
||||
self.security = None
|
||||
self.networking = None
|
||||
self.partition = None
|
||||
self.raw_config = None
|
||||
return
|
||||
|
||||
self.security = value.get('security')
|
||||
self.networking = value.get('networking')
|
||||
self.partition = value.get('partition')
|
||||
|
||||
try:
|
||||
self.raw_config = json.dumps(value)
|
||||
except Exception as error:
|
||||
logging.error('failed to dump raw config %s: %s',
|
||||
self.id, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
|
||||
class ClusterHost(BASE):
|
||||
"""ClusterHost information.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param machine_id: int, the id of the Machine.
|
||||
:param cluster_id: int, the id of the Cluster.
|
||||
:param mutable: if the ClusterHost information is mutable.
|
||||
:param hostname: str, host name.
|
||||
:param config_data: string, json formatted config data.
|
||||
:param cluster: refer to Cluster the host in.
|
||||
:param machine: refer to the Machine the host on.
|
||||
:param state: refer to HostState indicates the host state.
|
||||
"""
|
||||
__tablename__ = 'cluster_host'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
||||
machine_id = Column(Integer, ForeignKey('machine.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='CASCADE'),
|
||||
nullable=True, unique=True)
|
||||
|
||||
cluster_id = Column(Integer, ForeignKey('cluster.id',
|
||||
onupdate='CASCADE',
|
||||
ondelete='SET NULL'),
|
||||
nullable=True)
|
||||
|
||||
hostname = Column(String)
|
||||
config_data = Column(Text)
|
||||
mutable = Column(Boolean, default=True)
|
||||
__table_args__ = (UniqueConstraint('cluster_id', 'hostname',
|
||||
name='unique_host'),)
|
||||
|
||||
cluster = relationship("Cluster",
|
||||
backref=backref('hosts', lazy='dynamic'))
|
||||
machine = relationship("Machine",
|
||||
backref=backref('host', uselist=False))
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
if 'hostname' not in kwargs or not kwargs['hostname']:
|
||||
kwargs['hostname'] = str(uuid.uuid4())
|
||||
|
||||
super(ClusterHost, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<ClusterHost %r: cluster=%r machine=%r>' % (
|
||||
self.hostname, self.cluster, self.machine)
|
||||
|
||||
@hybrid_property
|
||||
def fullname(self):
|
||||
return '%s.%s' % (self.hostname, self.cluster.id)
|
||||
|
||||
@property
|
||||
def config(self):
|
||||
"""config getter."""
|
||||
config = {}
|
||||
try:
|
||||
if self.config_data:
|
||||
config.update(json.loads(self.config_data))
|
||||
|
||||
config.update({
|
||||
'hostid': self.id,
|
||||
'hostname': self.hostname,
|
||||
})
|
||||
if self.cluster:
|
||||
config.update({
|
||||
'clusterid': self.cluster.id,
|
||||
'clustername': self.cluster.name,
|
||||
'fullname': self.fullname,
|
||||
})
|
||||
|
||||
if self.machine:
|
||||
util.merge_dict(
|
||||
config, {
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'mac': self.machine.mac
|
||||
}
|
||||
}
|
||||
},
|
||||
'switch_port': self.machine.port,
|
||||
'vlan': self.machine.vlan,
|
||||
})
|
||||
if self.machine.switch:
|
||||
util.merge_dict(
|
||||
config, {'switch_ip': self.machine.switch.ip})
|
||||
|
||||
except Exception as error:
|
||||
logging.error('failed to load config %s: %s',
|
||||
self.hostname, self.config_data)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
return config
|
||||
|
||||
@config.setter
|
||||
def config(self, value):
|
||||
"""config setter"""
|
||||
if not self.config_data:
|
||||
config = {
|
||||
}
|
||||
self.config_data = json.dumps(config)
|
||||
|
||||
if value:
|
||||
try:
|
||||
config = json.loads(self.config_data)
|
||||
util.merge_dict(config, value)
|
||||
|
||||
self.config_data = json.dumps(config)
|
||||
except Exception as error:
|
||||
logging.error('failed to dump config %s: %s',
|
||||
self.hostname, value)
|
||||
logging.exception(error)
|
||||
raise error
|
||||
|
||||
|
||||
class LogProgressingHistory(BASE):
|
||||
"""host installing log history for each file.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param pathname: str, the full path of the installing log file. unique.
|
||||
:param position: int, the position of the log file it has processed.
|
||||
:param partial_line: str, partial line of the log.
|
||||
:param progressing: float, indicate the installing progress between 0 to 1.
|
||||
:param message: str, str, the installing message.
|
||||
:param severity: Enum, the installing message severity.
|
||||
('ERROR', 'WARNING', 'INFO')
|
||||
:param line_matcher_name: str, the line matcher name of the log processor.
|
||||
:param update_timestamp: datetime, the latest timestamp the entry updated.
|
||||
"""
|
||||
__tablename__ = 'log_progressing_history'
|
||||
id = Column(Integer, primary_key=True)
|
||||
pathname = Column(String, unique=True)
|
||||
position = Column(Integer, ColumnDefault(0))
|
||||
partial_line = Column(Text)
|
||||
progress = Column(Float, ColumnDefault(0.0))
|
||||
message = Column(Text)
|
||||
severity = Column(Enum('ERROR', 'WARNING', 'INFO'), ColumnDefault('INFO'))
|
||||
line_matcher_name = Column(String, ColumnDefault('start'))
|
||||
update_timestamp = Column(DateTime, default=datetime.now,
|
||||
onupdate=datetime.now)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(LogProgressingHistory, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return (
|
||||
'LogProgressingHistory[%r: position %r,'
|
||||
'partial_line %r,progress %r,message %r,'
|
||||
'severity %r]'
|
||||
) % (
|
||||
self.pathname, self.position,
|
||||
self.partial_line,
|
||||
self.progress,
|
||||
self.message,
|
||||
self.severity
|
||||
)
|
||||
|
||||
|
||||
class Adapter(BASE):
|
||||
"""Table stores ClusterHost installing Adapter information.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param name: string, adapter name, unique.
|
||||
:param os: string, os name for installing the host.
|
||||
:param target_system: string, target system to be installed on the host.
|
||||
:param clusters: refer to the list of Cluster.
|
||||
"""
|
||||
__tablename__ = 'adapter'
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String, unique=True)
|
||||
os = Column(String)
|
||||
target_system = Column(String)
|
||||
__table_args__ = (
|
||||
UniqueConstraint('os', 'target_system', name='unique_adapter'),)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(Adapter, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<Adapter %r: os %r, target_system %r>' % (
|
||||
self.name, self.os, self.target_system
|
||||
)
|
||||
|
||||
|
||||
class Role(BASE):
|
||||
"""The Role table stores avaiable roles of one target system.
|
||||
|
||||
.. note::
|
||||
the host can be deployed to one or several roles in the cluster.
|
||||
|
||||
:param id: int, identity as primary key.
|
||||
:param name: role name.
|
||||
:param target_system: str, the target_system.
|
||||
:param description: str, the description of the role.
|
||||
"""
|
||||
__tablename__ = 'role'
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String, unique=True)
|
||||
target_system = Column(String)
|
||||
description = Column(Text)
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super(Role, self).__init__(**kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
return '<Role %r : target_system %r, description:%r>' % (
|
||||
self.name, self.target_system, self.description)
|
346
compass/db/models.py
Normal file
346
compass/db/models.py
Normal file
@ -0,0 +1,346 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
"""Database model"""
|
||||
from datetime import datetime
|
||||
from hashlib import md5
|
||||
import simplejson as json
|
||||
|
||||
|
||||
from sqlalchemy import Table
|
||||
from sqlalchemy import Column, Integer, String
|
||||
from sqlalchemy import Enum, DateTime, ForeignKey, Text, Boolean
|
||||
from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy.ext.mutable import Mutable
|
||||
from sqlalchemy.orm import relationship, backref
|
||||
from sqlalchemy.types import TypeDecorator
|
||||
|
||||
|
||||
from flask.ext.login import UserMixin
|
||||
from itsdangerous import URLSafeTimedSerializer
|
||||
|
||||
|
||||
BASE = declarative_base()
|
||||
# TODO(grace) SECRET_KEY should be generated when installing compass
|
||||
# and save to a config file or DB
|
||||
SECRET_KEY = "abcd"
|
||||
|
||||
# This is used for generating a token by user's ID and
|
||||
# decode the ID from this token
|
||||
login_serializer = URLSafeTimedSerializer(SECRET_KEY)
|
||||
|
||||
|
||||
class JSONEncodedDict(TypeDecorator):
|
||||
"""Represents an immutable structure as a json-encoded string."""
|
||||
|
||||
impl = Text
|
||||
|
||||
def process_bind_param(self, value, dialect):
|
||||
if value is not None:
|
||||
value = json.dumps(value)
|
||||
return value
|
||||
|
||||
def process_result_value(self, value, dialect):
|
||||
if value is not None:
|
||||
value = json.loads(value)
|
||||
return value
|
||||
|
||||
|
||||
class MutationDict(Mutable, dict):
|
||||
@classmethod
|
||||
def coerce(cls, key, value):
|
||||
"""Convert plain dictionaries to MutationDict."""
|
||||
|
||||
if not isinstance(value, MutationDict):
|
||||
if isinstance(value, dict):
|
||||
return MutationDict(value)
|
||||
|
||||
# this call will raise ValueError
|
||||
return Mutable.coerce(key, value)
|
||||
else:
|
||||
return value
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
"""Detect dictionary set events and emit change events."""
|
||||
|
||||
dict.__setitem__(self, key, value)
|
||||
self.changed()
|
||||
|
||||
def __delitem__(self, key):
|
||||
"""Detect dictionary del events and emit change events."""
|
||||
|
||||
dict.__delitem__(self, key)
|
||||
self.changed()
|
||||
|
||||
|
||||
class TimestampMixin(object):
|
||||
created_at = Column(DateTime, default=lambda: datetime.now())
|
||||
updated_at = Column(DateTime, default=lambda: datetime.now(),
|
||||
onupdate=lambda: datetime.now())
|
||||
|
||||
|
||||
class MetadataMixin(object):
|
||||
name = Column(String(80), unique=True)
|
||||
description = Column(String(200))
|
||||
|
||||
|
||||
class MetadataFieldMixin(object):
|
||||
field = Column(String(80), unique=True)
|
||||
ftype = Column(Enum('str', 'int', 'float', 'list', 'dict', 'bool'))
|
||||
validator = Column(String(80))
|
||||
is_required = Column(Boolean, default=True)
|
||||
description = Column(String(200))
|
||||
|
||||
|
||||
class HelperMixin(object):
|
||||
def to_dict(self):
|
||||
dict_info = self.__dict__.copy()
|
||||
return self._to_dict(dict_info)
|
||||
|
||||
def _to_dict(self, dict_info, extra_dict=None):
|
||||
columns = ['created_at', 'updated_at', 'last_login_at']
|
||||
for key in columns:
|
||||
if key in dict_info:
|
||||
dict_info[key] = dict_info[key].ctime()
|
||||
|
||||
dict_info.pop('_sa_instance_state')
|
||||
if extra_dict:
|
||||
dict_info.update(extra_dict)
|
||||
|
||||
return dict_info
|
||||
|
||||
|
||||
# User, Permission relation table
|
||||
user_permission = Table('user_permission', BASE.metadata,
|
||||
Column('user_id', Integer, ForeignKey('user.id')),
|
||||
Column('permission_id', Integer,
|
||||
ForeignKey('permission.id')))
|
||||
|
||||
|
||||
class User(BASE, UserMixin, HelperMixin):
|
||||
"""User table."""
|
||||
__tablename__ = 'user'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
email = Column(String(80), unique=True)
|
||||
password = Column(String(225))
|
||||
firstname = Column(String(80))
|
||||
lastname = Column(String(80))
|
||||
is_admin = Column(Boolean, default=False)
|
||||
active = Column(Boolean, default=True)
|
||||
created_at = Column(DateTime, default=lambda: datetime.now())
|
||||
last_login_at = Column(DateTime, default=lambda: datetime.now())
|
||||
permissions = relationship("Permission", secondary=user_permission)
|
||||
|
||||
def __init__(self, email, password, **kwargs):
|
||||
self.email = email
|
||||
self.password = self._set_password(password)
|
||||
|
||||
def __repr__(self):
|
||||
return '<User name: %s>' % self.email
|
||||
|
||||
def _set_password(self, password):
|
||||
return self._hash_password(password)
|
||||
|
||||
def get_password(self):
|
||||
return self.password
|
||||
|
||||
def valid_password(self, password):
|
||||
return self.password == self._hash_password(password)
|
||||
|
||||
def get_auth_token(self):
|
||||
return login_serializer.dumps(self.id)
|
||||
|
||||
def is_active(self):
|
||||
return self.active
|
||||
|
||||
def _hash_password(self, password):
|
||||
return md5(password).hexdigest()
|
||||
|
||||
|
||||
class Permission(BASE):
|
||||
"""Permission table."""
|
||||
__tablename__ = 'permission'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(80), unique=True)
|
||||
alias = Column(String(100))
|
||||
|
||||
def __init__(self, name, alias):
|
||||
self.name = name
|
||||
self.alias = alias
|
||||
|
||||
|
||||
adapter_os = Table('adapter_os', BASE.metadata,
|
||||
Column('adapter_id', Integer, ForeignKey('adapter.id')),
|
||||
Column('os_id', Integer, ForeignKey('os.id')))
|
||||
|
||||
|
||||
class OperatingSystem(BASE):
|
||||
"""OS table."""
|
||||
__tablename__ = 'os'
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(80), unique=True)
|
||||
|
||||
|
||||
class Adapter(BASE, HelperMixin):
|
||||
"""Adapter table."""
|
||||
__tablename__ = "adapter"
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(80), unique=True)
|
||||
|
||||
roles = relationship("AdapterRole")
|
||||
support_os = relationship("OperatingSystem", secondary=adapter_os)
|
||||
# package_config = xxxx
|
||||
|
||||
def to_dict(self):
|
||||
oses = []
|
||||
for os in self.support_os:
|
||||
oses.append({"name": os.name, "os_id": os.id})
|
||||
|
||||
extra_dict = {
|
||||
"compatible_os": oses
|
||||
}
|
||||
dict_info = self.__dict__.copy()
|
||||
del dict_info['support_os']
|
||||
|
||||
return self._to_dict(dict_info, extra_dict)
|
||||
|
||||
|
||||
class AdapterRole(BASE):
|
||||
"""Adapter's roles."""
|
||||
|
||||
__tablename__ = "adapter_role"
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(80))
|
||||
adapter_id = Column(Integer, ForeignKey('adapter.id'))
|
||||
|
||||
|
||||
package_config_metatdata_field = \
|
||||
Table('package_config_metadata_field',
|
||||
BASE.metadata,
|
||||
Column('package_config_metadata_id',
|
||||
Integer,
|
||||
ForeignKey('package_config_metadata.id')),
|
||||
Column('package_config_field_id',
|
||||
Integer,
|
||||
ForeignKey('package_config_field.id')))
|
||||
|
||||
|
||||
class PackageConfigMetadata(BASE, MetadataMixin):
|
||||
"""Adapter config metadata."""
|
||||
|
||||
__tablename__ = "package_config_metadata"
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
parent_id = Column(Integer, ForeignKey(id))
|
||||
adapter_id = Column(Integer, ForeignKey('adapter.id'))
|
||||
children = relationship("PackageConfigMetadata",
|
||||
backref=backref('parent', remote_side=id))
|
||||
fields = relationship("PackageConfigField",
|
||||
secondary=package_config_metatdata_field)
|
||||
|
||||
def __init__(self, name, adapter_id, parent=None):
|
||||
self.name = name
|
||||
self.adapter_id = adapter_id
|
||||
self.parent = parent
|
||||
|
||||
|
||||
class PackageConfigField(BASE, MetadataFieldMixin):
|
||||
"""Adapter cofig metadata fields."""
|
||||
|
||||
__tablename__ = "package_config_field"
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
||||
|
||||
os_config_metadata_field = Table('os_config_metadata_field', BASE.metadata,
|
||||
Column('os_config_metadata_id',
|
||||
Integer,
|
||||
ForeignKey('os_config_metadata.id')),
|
||||
Column('os_config_field_id',
|
||||
Integer,
|
||||
ForeignKey('os_config_field.id')))
|
||||
|
||||
|
||||
class OSConfigMetadata(BASE, MetadataMixin):
|
||||
"""OS config metadata."""
|
||||
|
||||
__tablename__ = "os_config_metadata"
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
os_id = Column(Integer, ForeignKey('os.id'))
|
||||
parent_id = Column(Integer, ForeignKey(id))
|
||||
children = relationship("OSConfigMetadata",
|
||||
backref=backref("parent", remote_side=id))
|
||||
fields = relationship('OSConfigField',
|
||||
secondary=os_config_metadata_field)
|
||||
|
||||
def __init__(self, name, os_id, parent=None):
|
||||
self.name = name
|
||||
self.os_id = os_id
|
||||
self.parent = parent
|
||||
|
||||
|
||||
class OSConfigField(BASE, MetadataFieldMixin, HelperMixin):
|
||||
"""OS config metadata fields."""
|
||||
|
||||
__tablename__ = 'os_config_field'
|
||||
id = Column(Integer, primary_key=True)
|
||||
|
||||
|
||||
class Cluster(BASE, TimestampMixin, HelperMixin):
|
||||
"""Cluster table."""
|
||||
|
||||
__tablename__ = "cluster"
|
||||
|
||||
id = Column(Integer, primary_key=True)
|
||||
name = Column(String(80), unique=True)
|
||||
editable = Column(Boolean, default=True)
|
||||
os_global_config = Column(MutationDict.as_mutable(JSONEncodedDict),
|
||||
default={})
|
||||
package_global_config = Column(MutationDict.as_mutable(JSONEncodedDict),
|
||||
default={})
|
||||
adapter_id = Column(Integer, ForeignKey('adapter.id'))
|
||||
os_id = Column(Integer, ForeignKey('os.id'))
|
||||
created_by = Column(Integer, ForeignKey('user.id'))
|
||||
|
||||
owner = relationship('User')
|
||||
# hosts = relationship('Host', secondary=cluster_host)
|
||||
|
||||
def __init__(self, name, adapter_id, os_id, created_by):
|
||||
self.name = name
|
||||
self.adapter_id = adapter_id
|
||||
self.os_id = os_id
|
||||
self.created_by = created_by
|
||||
|
||||
@property
|
||||
def config(self):
|
||||
config = {}
|
||||
config.update(self.os_global_config)
|
||||
config.update(self.package_global_config)
|
||||
|
||||
return config
|
||||
|
||||
def to_dict(self):
|
||||
extra_info = {
|
||||
'created_by': self.owner.email,
|
||||
'hosts': []
|
||||
}
|
||||
dict_info = self.__dict__.copy()
|
||||
del dict_info['owner']
|
||||
|
||||
return self._to_dict(dict_info, extra_info)
|
91
compass/db/validator.py
Normal file
91
compass/db/validator.py
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Validator methods. Please note that functions below may not the best way
|
||||
to do the validation.
|
||||
"""
|
||||
# TODO(xiaodong): please refactor/rewrite the following functions as necessary
|
||||
import netaddr
|
||||
import re
|
||||
import socket
|
||||
|
||||
|
||||
def is_valid_ip(ip_addr):
|
||||
"""Valid the format of an IP address."""
|
||||
if not ip_addr:
|
||||
return False
|
||||
|
||||
try:
|
||||
socket.inet_aton(ip_addr)
|
||||
except socket.error:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
||||
|
||||
def is_valid_ipNetowrk(ip_network):
|
||||
"""Valid the format of an Ip network."""
|
||||
|
||||
if not ip_network:
|
||||
return False
|
||||
|
||||
regex = (r'^(([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])\.)'
|
||||
r'{3}'
|
||||
r'([0-9]|[1-9][0-9]|1[0-9]{2}|[1-2][0-4][0-9]|25[0-5])'
|
||||
r'((\/[0-9]|\/[1-2][0-9]|\/[1-3][0-2]))$')
|
||||
|
||||
if re.match(regex, ip_network):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_netmask(ip_addr):
|
||||
"""Valid the format of a netmask."""
|
||||
if not ip_addr:
|
||||
return False
|
||||
|
||||
try:
|
||||
ip_address = netaddr.IPAddress(ip_addr)
|
||||
return ip_address.is_netmask()
|
||||
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_gateway(ip_addr):
|
||||
"""Valid the format of gateway."""
|
||||
|
||||
if not ip_addr:
|
||||
return False
|
||||
|
||||
invalid_ip_prefix = ['0', '224', '169', '127']
|
||||
try:
|
||||
# Check if ip_addr is an IP address and not start with 0
|
||||
ip_addr_prefix = ip_addr.split('.')[0]
|
||||
if is_valid_ip(ip_addr) and ip_addr_prefix not in invalid_ip_prefix:
|
||||
ip_address = netaddr.IPAddress(ip_addr)
|
||||
if not ip_address.is_multicast():
|
||||
# Check if ip_addr is not multicast and reserved IP
|
||||
return True
|
||||
return False
|
||||
except Exception:
|
||||
return False
|
||||
|
||||
|
||||
def is_valid_dnsServer(dns):
|
||||
"""Valid the format of DNS."""
|
||||
if dns and not is_valid_ip(dns):
|
||||
return False
|
||||
|
||||
return True
|
@ -1,13 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
@ -1,64 +0,0 @@
|
||||
networking = {
|
||||
'global': {
|
||||
'default_no_proxy': ['127.0.0.1', 'localhost'],
|
||||
'search_path_pattern': '%(clusterid)s.%(search_path)s %(search_path)s',
|
||||
'noproxy_pattern': '%(hostname)s.%(clusterid)s,%(ip)s'
|
||||
},
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'dns_pattern': '%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
},
|
||||
'tenant': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'virtual-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
'public': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth1',
|
||||
'dns_pattern': 'floating-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 1,
|
||||
},
|
||||
'storage': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'storage-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
security = {
|
||||
'server_credentials': {
|
||||
'username': 'root',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
}
|
||||
|
||||
role_assign_policy = {
|
||||
'policy_by_host_numbers': {
|
||||
},
|
||||
'default': {
|
||||
'roles': [],
|
||||
'maxs': {},
|
||||
'mins': {},
|
||||
'default_max': -1,
|
||||
'default_min': 0,
|
||||
'exclusives': [],
|
||||
'bundles': [],
|
||||
},
|
||||
}
|
||||
|
||||
testmode = False
|
@ -1,64 +0,0 @@
|
||||
networking = {
|
||||
'global': {
|
||||
'default_no_proxy': ['127.0.0.1', 'localhost'],
|
||||
'search_path_pattern': '%(clusterid)s.%(search_path)s %(search_path)s',
|
||||
'noproxy_pattern': '%(hostname)s.%(clusterid)s,%(ip)s'
|
||||
},
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'dns_pattern': '%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
},
|
||||
'tenant': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'virtual-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
'public': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth1',
|
||||
'dns_pattern': 'floating-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 1,
|
||||
},
|
||||
'storage': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'storage-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
security = {
|
||||
'server_credentials': {
|
||||
'username': 'root',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
}
|
||||
|
||||
role_assign_policy = {
|
||||
'policy_by_host_numbers': {
|
||||
},
|
||||
'default': {
|
||||
'roles': [],
|
||||
'maxs': {},
|
||||
'mins': {},
|
||||
'default_max': -1,
|
||||
'default_min': 0,
|
||||
'exclusives': [],
|
||||
'bundles': [],
|
||||
},
|
||||
}
|
||||
|
||||
testmode = True
|
@ -1,305 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller", "os-network", "os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-compute-worker','os-network']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:04',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-single-controller]', 'role[os-network]', 'role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.100'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.100'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.100'},
|
||||
'xvpvnc': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'},
|
||||
'metadata': {'host': '192.168.20.100'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.100'},
|
||||
'service': {'host': u'192.168.20.100'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,360 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:05', 'port': 2, 'vlan': 2},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller"],
|
||||
}),
|
||||
},{
|
||||
'hostname': 'host2',
|
||||
'mac': '00:00:01:02:03:05',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.101',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-network", "os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-network', 'os-compute-worker']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:04',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': 'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100,host2.1,192.168.20.101',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': 'host1.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host2.1',
|
||||
'hostname': 'host2',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host2.1.ods.com',
|
||||
'dnsname-eth0': 'host2.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.101',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.101',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:05',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100,host2.1,192.168.20.101',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host2.1',
|
||||
'chef_node_name': 'host2.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-single-controller'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-single-controller]']
|
||||
},
|
||||
'host2.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-network', 'os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-network]', 'role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.100'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.100'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.100'},
|
||||
'xvpvnc': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'},
|
||||
'metadata': {'host': '192.168.20.100'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.100'},
|
||||
'service': {'host': u'192.168.20.100'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,600 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:05', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:06', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:07', 'port': 1, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
}, {
|
||||
'name': 'cluster2',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.110'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.110'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.110'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.110'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller"],
|
||||
}),
|
||||
}, {
|
||||
'hostname': 'host2',
|
||||
'mac': '00:00:01:02:03:05',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.101',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-network", "os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
],
|
||||
'cluster2': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:06',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.110',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller"],
|
||||
}),
|
||||
}, {
|
||||
'hostname': 'host2',
|
||||
'mac': '00:00:01:02:03:07',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.111',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-network", "os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-network', 'os-compute-worker']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:04',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100,host2.1,192.168.20.101',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host2.1',
|
||||
'hostname': 'host2',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host2.1.ods.com',
|
||||
'dnsname-eth0': u'host2.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.101',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.101',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:05',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100,host2.1,192.168.20.101',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host2.1',
|
||||
'chef_node_name': u'host2.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '2.ods.com ods.com',
|
||||
'name': 'host1.2',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.2.ods.com',
|
||||
'dnsname-eth0': u'host1.2.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.110',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.110',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:06',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.2,192.168.20.110,host2.2,192.168.20.111',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.2',
|
||||
'chef_node_name': u'host1.2'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '2.ods.com ods.com',
|
||||
'name': 'host2.2',
|
||||
'hostname': 'host2',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host2.2.ods.com',
|
||||
'dnsname-eth0': u'host2.2.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.111',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.111',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:07',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.2,192.168.20.110,host2.2,192.168.20.111',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host2.2',
|
||||
'chef_node_name': u'host2.2'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-single-controller'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-single-controller]']
|
||||
},
|
||||
'host2.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-network', 'os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-network]', 'role[os-compute-worker]']
|
||||
},
|
||||
'host1.2': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-single-controller'],
|
||||
},
|
||||
'cluster': '2',
|
||||
'run_list': ['role[os-single-controller]']
|
||||
},
|
||||
'host2.2': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-network', 'os-compute-worker'],
|
||||
},
|
||||
'cluster': '2',
|
||||
'run_list': ['role[os-network]', 'role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.100'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.100'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.100'},
|
||||
'xvpvnc': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'},
|
||||
'metadata': {'host': '192.168.20.100'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.100'},
|
||||
'service': {'host': u'192.168.20.100'}
|
||||
},
|
||||
},
|
||||
},
|
||||
'2': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.110'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.110'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.110'},
|
||||
'xvpvnc': {'host': '192.168.20.110'},
|
||||
'service': {'host': '192.168.20.110'},
|
||||
'metadata': {'host': '192.168.20.110'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.110'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.110'},
|
||||
'service': {'host': '192.168.20.110'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.110'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.110'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.110'},
|
||||
'service': {'host': '192.168.20.110'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.110'},
|
||||
'service': {'host': u'192.168.20.110'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,267 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'netwoon.dumps(king': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-dashboard"],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller', 'os-dashboard'],
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-network', 'os-compute-worker']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:04',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-dashboard'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-dashboard]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,340 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller", "os-network", "os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'test_roles': {
|
||||
'default': ['test-synclog']
|
||||
},
|
||||
'debugging': {
|
||||
'debug': 'False',
|
||||
'verbose': 'False'
|
||||
},
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker': -1},
|
||||
'default_dependencies': [],
|
||||
'dependencies': {'default': ['test-synclog']}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-network', 'os-compute-worker']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'macaddress-eth0': '00:00:01:02:03:04',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ignore_proxy': '127.0.0.1,localhost,host1.1,192.168.20.100',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['test-synclog', 'os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[test-synclog]', 'role[os-single-controller]', 'role[os-network]', 'role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'debugging': {
|
||||
'debug': 'True',
|
||||
'verbose': 'True'
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.100'
|
||||
}
|
||||
},
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1},
|
||||
'default_dependencies': [],
|
||||
'dependencies': {'default': ['test-synclog']}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-network', 'os-compute-worker']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.100'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.100'},
|
||||
'xvpvnc': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'},
|
||||
'metadata': {'host': '192.168.20.100'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.100'},
|
||||
'service': {'host': u'192.168.20.100'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,780 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:05', 'port': 2, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:06', 'port': 3, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:07', 'port': 4, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:08', 'port': 5, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:09', 'port': 6, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:10', 'port': 7, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:11', 'port': 8, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:12', 'port': 9, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:13', 'port': 10, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host2',
|
||||
'mac': '00:00:01:02:03:05',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.101',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host3',
|
||||
'mac': '00:00:01:02:03:06',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.102',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host4',
|
||||
'mac': '00:00:01:02:03:07',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.103',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-compute-worker"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host5',
|
||||
'mac': '00:00:01:02:03:08',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.104',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host6',
|
||||
'mac': '00:00:01:02:03:09',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.105',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host7',
|
||||
'mac': '00:00:01:02:03:10',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.106',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host8',
|
||||
'mac': '00:00:01:02:03:11',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.107',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host9',
|
||||
'mac': '00:00:01:02:03:12',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.108',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host10',
|
||||
'mac': '00:00:01:02:03:13',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.109',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
'os-single-controller': 'openstack controller node',
|
||||
'os-network': 'openstack network node',
|
||||
'os-compute-worker': 'openstack nova node'
|
||||
},
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
},
|
||||
'role_mapping': {
|
||||
'os-single-controller': {
|
||||
'/db/mysql/bind_address': '/networking/interfaces/management/ip',
|
||||
'/mq/rabbitmq/bind_address': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/metadata/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/novnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/compute/xvpvnc/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/ec2/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/admin/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/identity/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/registry/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/image/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/metering/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/network/service/host': '/networking/interfaces/management/ip',
|
||||
'/endpoints/volume/service/host': '/networking/interfaces/management/ip'
|
||||
},
|
||||
'os-network': {
|
||||
},
|
||||
'os-compute-worker': {
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'role_assign_policy': {
|
||||
'default':{
|
||||
'bundles': [],
|
||||
'exclusives': ['os-single-controller', 'os-network'],
|
||||
'roles': ['os-single-controller', 'os-network', 'os-compute-worker'],
|
||||
'default_min': 1,
|
||||
'default_max': 1,
|
||||
'maxs': {'os-compute-worker':-1}
|
||||
},
|
||||
'policy_by_host_numbers':{
|
||||
'1': {
|
||||
'bundles': [['os-single-controller', 'os-network', 'os-compute-worker']],
|
||||
'exclusives':[]
|
||||
},
|
||||
'2': {
|
||||
'bundles': [['os-compute-worker','os-network']],
|
||||
'exclusives':['os-single-controller']
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host2.1',
|
||||
'hostname': 'host2',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host2.1.ods.com',
|
||||
'dnsname-eth0': u'host2.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.101',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.101',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host2.1',
|
||||
'chef_node_name': u'host2.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host3.1',
|
||||
'hostname': 'host3',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host3.1.ods.com',
|
||||
'dnsname-eth0': u'host3.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.102',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.102',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host3.1',
|
||||
'chef_node_name': u'host3.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host4.1',
|
||||
'hostname': 'host4',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host4.1.ods.com',
|
||||
'dnsname-eth0': u'host4.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.103',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.103',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host4.1',
|
||||
'chef_node_name': u'host4.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host5.1',
|
||||
'hostname': 'host5',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host5.1.ods.com',
|
||||
'dnsname-eth0': u'host5.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.104',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.104',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host5.1',
|
||||
'chef_node_name': u'host5.1'
|
||||
},
|
||||
}, {
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host6.1',
|
||||
'hostname': 'host6',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host6.1.ods.com',
|
||||
'dnsname-eth0': u'host6.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.105',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.105',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host6.1',
|
||||
'chef_node_name': u'host6.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host7.1',
|
||||
'hostname': 'host7',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host7.1.ods.com',
|
||||
'dnsname-eth0': u'host7.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.106',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.106',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host7.1',
|
||||
'chef_node_name': u'host7.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host8.1',
|
||||
'hostname': 'host8',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host8.1.ods.com',
|
||||
'dnsname-eth0': u'host8.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.107',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.107',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host8.1',
|
||||
'chef_node_name': u'host8.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host9.1',
|
||||
'hostname': 'host9',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host9.1.ods.com',
|
||||
'dnsname-eth0': u'host9.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.108',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.108',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host9.1',
|
||||
'chef_node_name': u'host9.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host10.1',
|
||||
'hostname': 'host10',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host10.1.ods.com',
|
||||
'dnsname-eth0': u'host10.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.109',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.109',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host10.1',
|
||||
'chef_node_name': u'host10.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-single-controller'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-single-controller]']
|
||||
},
|
||||
'host2.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-network'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-network]']
|
||||
},
|
||||
'host3.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host4.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host5.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host6.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host7.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host8.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host9.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host10.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.100'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-single-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.100'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.100'},
|
||||
'xvpvnc': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'},
|
||||
'metadata': {'host': '192.168.20.100'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.100'},
|
||||
'service': {'host': '192.168.20.100'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.100'},
|
||||
'service': {'host': u'192.168.20.100'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,904 +0,0 @@
|
||||
import simplejson as json
|
||||
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute-worker', 'target_system': 'openstack'},
|
||||
{'name': 'os-ha', 'target_system': 'openstack'},
|
||||
{'name': 'os-image', 'target_system': 'openstack'},
|
||||
{'name': 'os-ops-database', 'target_system': 'openstack'},
|
||||
{'name': 'os-ops-messaging', 'target_system': 'openstack'},
|
||||
{'name': 'os-block-storage-worker', 'target_system': 'openstack'}
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor_info': 'huawei', 'credential_data': json.dumps({'version': 'v2c', 'community': 'public'})},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:05', 'port': 2, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:06', 'port': 3, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:07', 'port': 4, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:08', 'port': 5, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:09', 'port': 6, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:10', 'port': 7, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:11', 'port': 8, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:12', 'port': 9, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:13', 'port': 10, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security_config': json.dumps({
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
}),
|
||||
'networking_config': json.dumps({
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1',
|
||||
'ha_vip': '192.168.20.253'
|
||||
},
|
||||
}),
|
||||
'partition_config': json.dumps('/home 20%%;/tmp 10%%;/var 30%%;'),
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'host1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-ha"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host2',
|
||||
'mac': '00:00:01:02:03:05',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.101',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-ha"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host3',
|
||||
'mac': '00:00:01:02:03:06',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.102',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-controller", "os-image"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host4',
|
||||
'mac': '00:00:01:02:03:07',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.103',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-controller", "os-compute-vncproxy"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host5',
|
||||
'mac': '00:00:01:02:03:08',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.104',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-controller", "os-block-storage-worker"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host6',
|
||||
'mac': '00:00:01:02:03:09',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.105',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-ops-database", "os-ops-messaging"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host7',
|
||||
'mac': '00:00:01:02:03:10',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.106',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-network"],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host8',
|
||||
'mac': '00:00:01:02:03:11',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.107',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host9',
|
||||
'mac': '00:00:01:02:03:12',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.108',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
{
|
||||
'hostname': 'host10',
|
||||
'mac': '00:00:01:02:03:13',
|
||||
'mutable': False,
|
||||
'config_data': json.dumps({
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.109',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': [],
|
||||
}),
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
cobbler_MOCK = {
|
||||
'host_configs': []
|
||||
}
|
||||
|
||||
chef_MOCK = {
|
||||
'configs': {
|
||||
'openstack': {
|
||||
'env_default': {
|
||||
'all_roles': {
|
||||
"os-block-storage-worker": "openstack block storage node",
|
||||
"os-controller": "openstack controller node",
|
||||
"os-network": "openstack network node",
|
||||
"os-ops-messaging": "openstack message queue node",
|
||||
"os-image": "openstack image node",
|
||||
"os-ops-database": "openstack database node",
|
||||
"os-compute-worker":"openstack nova node",
|
||||
"os-ha":"Software load balance node",
|
||||
"os-compute-vncproxy": "vnc proxy"
|
||||
},
|
||||
'config_mapping': {
|
||||
'/credential/identity/users/admin': '/security/console_credentials',
|
||||
'/credential/identity/users/compute': '/security/service_credentials',
|
||||
'/credential/identity/users/image': '/security/service_credentials',
|
||||
'/credential/identity/users/metering': '/security/service_credentials',
|
||||
'/credential/identity/users/network': '/security/service_credentials',
|
||||
'/credential/identity/users/object-store': '/security/service_credentials',
|
||||
'/credential/identity/users/volume': '/security/service_credentials',
|
||||
'/credential/mysql/compute': '/security/service_credentials',
|
||||
'/credential/mysql/dashboard': '/security/service_credentials',
|
||||
'/credential/mysql/identity': '/security/service_credentials',
|
||||
'/credential/mysql/image': '/security/service_credentials',
|
||||
'/credential/mysql/metering': '/security/service_credentials',
|
||||
'/credential/mysql/network': '/security/service_credentials',
|
||||
'/credential/mysql/volume': '/security/service_credentials',
|
||||
'/credential/mysql/super/password': '/security/service_credentials/password',
|
||||
'/networking/control/interface': '/networking/interfaces/management/nic',
|
||||
'/ntp/ntpserver': '/networking/global/ntp_server',
|
||||
'/networking/storage/interface': '/networking/interfaces/storage/nic',
|
||||
'/networking/public/interface': '/networking/interfaces/public/nic',
|
||||
'/networking/tenant/interface': '/networking/interfaces/tenant/nic',
|
||||
'/networking/plugins/ovs/gre/local_ip_interface': '/networking/interfaces/tenant/nic',
|
||||
"/ha/haproxy/vip": "/networking/global/ha_vip",
|
||||
"/ha/keepalived/instance_name/vip": "/networking/global/ha_vip"
|
||||
},
|
||||
'read_config_mapping': {
|
||||
"/dashboard_roles": "/dashboard_roles",
|
||||
"/haproxy_roles": "/haproxy_roles",
|
||||
"/test_roles": "/test_roles",
|
||||
"/haproxy/router_id_prefix": "/ha/keepalived/router_id_prefix",
|
||||
"/haproxy/default_priority": "/ha/keepalived/default_priority",
|
||||
"/haproxy/default_state": "/ha/keepalived/default_state",
|
||||
"/haproxy/states_to_assign": "/ha/keepalived/states_to_assign"
|
||||
},
|
||||
'role_mapping': {
|
||||
"os-controller": {
|
||||
"/endpoints/compute/metadata/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/compute/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/compute/xvpvnc/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/ec2/admin/host":[
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/ec2/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/identity/admin/host":[
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/identity/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/metering/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/network/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/volume/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
]
|
||||
},
|
||||
"os-compute-vncproxy": {
|
||||
"/endpoints/compute/novnc/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
]
|
||||
},
|
||||
"os-ops-database": {
|
||||
"/db/mysql/bind_address": "/networking/interfaces/management/ip"
|
||||
},
|
||||
"os-ops-messaging": {
|
||||
"/mq/rabbitmq/bind_address": "/networking/interfaces/management/ip"
|
||||
},
|
||||
"os-image": {
|
||||
"/endpoints/image/registry/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
],
|
||||
"/endpoints/image/service/host": [
|
||||
"/networking/global/ha_vip",
|
||||
"/networking/interfaces/management/ip"
|
||||
]
|
||||
}
|
||||
},
|
||||
'ha': {
|
||||
"status": "disable",
|
||||
"haproxy":{
|
||||
"vip": "",
|
||||
"roles":{
|
||||
"os-controller": [
|
||||
"dashboard_http", "dashboard_https", "keystone_admin",
|
||||
"keystone_public_internal", "nova_ec2_api", "nova_compute_api",
|
||||
"cinder_api", "neutron_api", "novncproxy"
|
||||
],
|
||||
"os-image": [
|
||||
"glance_api", "glance_registry_cluster"
|
||||
]
|
||||
}
|
||||
},
|
||||
"keepalived": {
|
||||
"router_id_prefix": "lsb",
|
||||
"default_priority": 100,
|
||||
"default_state": "SLAVE",
|
||||
"states_to_assign": ["MASTER"],
|
||||
"router_ids":{},
|
||||
"instance_name":{
|
||||
"vip": "",
|
||||
"priorities": {},
|
||||
"states":{}
|
||||
}
|
||||
}
|
||||
},
|
||||
"test_roles": {
|
||||
"default":["test-synclog"]
|
||||
},
|
||||
'haproxy_roles': ["os-ha"],
|
||||
'dashboard_roles': ['os-controller'],
|
||||
'role_assign_policy': {
|
||||
'default': {
|
||||
"bundles":[],
|
||||
"exclusives":["os-controller"],
|
||||
"roles":[
|
||||
"os-ha",
|
||||
"os-ops-database",
|
||||
"os-ops-messaging",
|
||||
"os-controller",
|
||||
"os-compute-vncproxy",
|
||||
"os-image",
|
||||
"os-block-storage-worker",
|
||||
"os-network",
|
||||
"os-compute-worker"
|
||||
],
|
||||
"default_min": 1,
|
||||
"default_max": 1,
|
||||
"maxs":{
|
||||
"os-compute-worker":-1,
|
||||
"os-ha":0
|
||||
},
|
||||
"mins":{
|
||||
"os-ha":0
|
||||
},
|
||||
"default_dependencies":[],
|
||||
"dependencies":{},
|
||||
"default_post_roles":[],
|
||||
"post_roles":{}
|
||||
},
|
||||
'policy_by_host_numbers': {
|
||||
"1": {
|
||||
"bundles": [
|
||||
[
|
||||
"os-ops-database",
|
||||
"os-ops-messaging",
|
||||
"os-controller",
|
||||
"os-compute-vncproxy",
|
||||
"os-image",
|
||||
"os-block-storage-worker",
|
||||
"os-network",
|
||||
"os-compute-worker"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
cobbler_EXPECTED = {
|
||||
'expected_host_configs': [{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host1.1',
|
||||
'hostname': 'host1',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host1.1.ods.com',
|
||||
'dnsname-eth0': u'host1.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.100',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.100',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host1.1',
|
||||
'chef_node_name': u'host1.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host2.1',
|
||||
'hostname': 'host2',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host2.1.ods.com',
|
||||
'dnsname-eth0': u'host2.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.101',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.101',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host2.1',
|
||||
'chef_node_name': u'host2.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host3.1',
|
||||
'hostname': 'host3',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host3.1.ods.com',
|
||||
'dnsname-eth0': u'host3.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.102',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.102',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host3.1',
|
||||
'chef_node_name': u'host3.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host4.1',
|
||||
'hostname': 'host4',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host4.1.ods.com',
|
||||
'dnsname-eth0': u'host4.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.103',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.103',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host4.1',
|
||||
'chef_node_name': u'host4.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host5.1',
|
||||
'hostname': 'host5',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host5.1.ods.com',
|
||||
'dnsname-eth0': u'host5.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.104',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.104',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host5.1',
|
||||
'chef_node_name': u'host5.1'
|
||||
},
|
||||
}, {
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host6.1',
|
||||
'hostname': 'host6',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host6.1.ods.com',
|
||||
'dnsname-eth0': u'host6.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.105',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.105',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host6.1',
|
||||
'chef_node_name': u'host6.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host7.1',
|
||||
'hostname': 'host7',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host7.1.ods.com',
|
||||
'dnsname-eth0': u'host7.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.106',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.106',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host7.1',
|
||||
'chef_node_name': u'host7.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host8.1',
|
||||
'hostname': 'host8',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host8.1.ods.com',
|
||||
'dnsname-eth0': u'host8.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.107',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.107',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host8.1',
|
||||
'chef_node_name': u'host8.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host9.1',
|
||||
'hostname': 'host9',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host9.1.ods.com',
|
||||
'dnsname-eth0': u'host9.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.108',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.108',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host9.1',
|
||||
'chef_node_name': u'host9.1'
|
||||
},
|
||||
},{
|
||||
'profile': 'CentOS',
|
||||
'name_servers_search': '1.ods.com ods.com',
|
||||
'name': 'host10.1',
|
||||
'hostname': 'host10',
|
||||
'modify_interface': {
|
||||
'dnsname-eth2': 'floating-host10.1.ods.com',
|
||||
'dnsname-eth0': u'host10.1.ods.com',
|
||||
'ipaddress-eth2': '10.145.88.109',
|
||||
'static-eth2': True,
|
||||
'static-eth0': True,
|
||||
'netmask-eth0': '255.255.255.0',
|
||||
'ipaddress-eth0': u'192.168.20.109',
|
||||
'netmask-eth2': '255.255.254.0',
|
||||
'management-eth2': False,
|
||||
'management-eth0': True
|
||||
},
|
||||
'name_servers': '192.168.20.254',
|
||||
'gateway': '10.145.88.1',
|
||||
'ksmeta': {
|
||||
'username': u'root',
|
||||
'promisc_nics': 'eth2',
|
||||
'chef_url': 'https://localhost/',
|
||||
'tool': 'chef',
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'chef_client_name': 'host10.1',
|
||||
'chef_node_name': u'host10.1'
|
||||
},
|
||||
}],
|
||||
}
|
||||
|
||||
chef_EXPECTED = {
|
||||
'expected_configs': {
|
||||
'host1.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-ha'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-ha]']
|
||||
},
|
||||
'host2.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-ha'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-ha]']
|
||||
},
|
||||
'host3.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-controller', 'os-image'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-controller]', 'role[os-image]']
|
||||
},
|
||||
'host4.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-controller', 'os-compute-vncproxy'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-controller]', 'role[os-compute-vncproxy]']
|
||||
},
|
||||
'host5.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-controller', 'os-block-storage-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-controller]', 'role[os-block-storage-worker]']
|
||||
},
|
||||
'host6.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-ops-database', 'os-ops-messaging'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-ops-database]', 'role[os-ops-messaging]']
|
||||
},
|
||||
'host7.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-network'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-network]']
|
||||
},
|
||||
'host8.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host9.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'host10.1': {
|
||||
'roles_per_target_system': {
|
||||
'openstack': ['os-compute-worker'],
|
||||
},
|
||||
'cluster': '1',
|
||||
'run_list': ['role[os-compute-worker]']
|
||||
},
|
||||
'openstack': {
|
||||
'1': {
|
||||
'credential': {
|
||||
'identity': {
|
||||
'users': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'admin': {'username': 'admin', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'object-store': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'mysql': {
|
||||
'compute': {'username': 'service', 'password': 'huawei'},
|
||||
'network': {'username': 'service', 'password': 'huawei'},
|
||||
'image': {'username': 'service', 'password': 'huawei'},
|
||||
'metering': {'username': 'service', 'password': 'huawei'},
|
||||
'volume': {'username': 'service', 'password': 'huawei'},
|
||||
'dashboard': {'username': 'service', 'password': 'huawei'},
|
||||
'super': {'password': 'huawei'},
|
||||
'identity': {'username': 'service', 'password': 'huawei'}
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'control': {'interface': 'eth0'},
|
||||
'storage': {'interface': 'eth0'},
|
||||
'public': {'interface': 'eth2'},
|
||||
'tenant': {'interface': 'eth0'}
|
||||
},
|
||||
'ntp': {'ntpserver': '192.168.20.254'},
|
||||
'db': {
|
||||
'mysql': {
|
||||
'bind_address': '192.168.20.105'
|
||||
}
|
||||
},
|
||||
'dashboard_roles': ['os-controller'],
|
||||
'mq': {
|
||||
'rabbitmq': {'bind_address': '192.168.20.105'}
|
||||
},
|
||||
'endpoints': {
|
||||
'compute': {
|
||||
'novnc': {'host': '192.168.20.253'},
|
||||
'xvpvnc': {'host': '192.168.20.253'},
|
||||
'service': {'host': '192.168.20.253'},
|
||||
'metadata': {'host': '192.168.20.253'}
|
||||
},
|
||||
'network': {
|
||||
'service': {'host': '192.168.20.253'}
|
||||
},
|
||||
'image': {
|
||||
'registry': {'host': '192.168.20.253'},
|
||||
'service': {'host': '192.168.20.253'}
|
||||
},
|
||||
'metering': {
|
||||
'service': {'host': '192.168.20.253'}
|
||||
},
|
||||
'volume': {
|
||||
'service': {'host': '192.168.20.253'}
|
||||
},
|
||||
'ec2': {
|
||||
'admin': {'host': '192.168.20.253'},
|
||||
'service': {'host': '192.168.20.253'}
|
||||
},
|
||||
'identity': {
|
||||
'admin': {'host': u'192.168.20.253'},
|
||||
'service': {'host': u'192.168.20.253'}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
@ -1,484 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""integration test for action deploy.
|
||||
|
||||
.. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com>
|
||||
"""
|
||||
import chef
|
||||
import logging
|
||||
import mock
|
||||
import os
|
||||
import os.path
|
||||
import shutil
|
||||
import unittest2
|
||||
import xmlrpclib
|
||||
|
||||
from contextlib import contextmanager
|
||||
|
||||
|
||||
os.environ['COMPASS_IGNORE_SETTING'] = 'true'
|
||||
|
||||
|
||||
from compass.utils import setting_wrapper as setting
|
||||
reload(setting)
|
||||
|
||||
|
||||
from compass.actions import deploy
|
||||
from compass.actions import util
|
||||
from compass.db import database
|
||||
from compass.db.model import Adapter
|
||||
from compass.db.model import Cluster
|
||||
from compass.db.model import ClusterHost
|
||||
from compass.db.model import Machine
|
||||
from compass.db.model import Role
|
||||
from compass.db.model import Switch
|
||||
from compass.utils import flags
|
||||
from compass.utils import logsetting
|
||||
|
||||
|
||||
class TestEndToEnd(unittest2.TestCase):
|
||||
"""Integration test class."""
|
||||
|
||||
def _contains(self, origin_config, expected_config):
|
||||
"""check if expected config contains in origin config."""
|
||||
if isinstance(expected_config, dict):
|
||||
for key, value in expected_config.items():
|
||||
if not isinstance(origin_config, dict):
|
||||
logging.error('%s type is not dict',
|
||||
origin_config)
|
||||
return False
|
||||
|
||||
if key not in origin_config:
|
||||
logging.error('%s is not in config:\n%s',
|
||||
key, origin_config.keys())
|
||||
return False
|
||||
|
||||
if not self._contains(origin_config[key], value):
|
||||
logging.error('%s is not match:\n%s\nvs\n%s',
|
||||
key, origin_config[key], value)
|
||||
return False
|
||||
|
||||
return True
|
||||
elif callable(expected_config):
|
||||
return expected_config(origin_config)
|
||||
else:
|
||||
return expected_config == origin_config
|
||||
|
||||
def _mock_lock(self):
|
||||
@contextmanager
|
||||
def _lock(lock_name, blocking=True, timeout=10):
|
||||
"""mock lock."""
|
||||
try:
|
||||
yield lock_name
|
||||
finally:
|
||||
pass
|
||||
|
||||
self.lock_backup_ = util.lock
|
||||
util.lock = mock.Mock(side_effect=_lock)
|
||||
|
||||
def _unmock_lock(self):
|
||||
util.lock = self.lock_backup_
|
||||
|
||||
def _unmock_cobbler(self):
|
||||
xmlrpclib.Server = self.cobbler_server_backup_
|
||||
|
||||
def _mock_cobbler(self, host_configs):
|
||||
"""mock cobbler."""
|
||||
self.cobbler_server_backup_ = xmlrpclib.Server
|
||||
mock_server = mock.Mock()
|
||||
xmlrpclib.Server = mock_server
|
||||
mock_server.return_value.login.return_value = ''
|
||||
mock_server.return_value.sync = mock.Mock()
|
||||
mock_server.return_value.find_profile = mock.Mock(
|
||||
side_effect=lambda x: [x['name']])
|
||||
|
||||
def _get_system_handle(sys_name, token):
|
||||
"""mock get_system_handle."""
|
||||
for i, config in enumerate(host_configs):
|
||||
if config['name'] == sys_name:
|
||||
return i
|
||||
|
||||
raise Exception('Not Found %s' % sys_name)
|
||||
|
||||
mock_server.return_value.get_system_handle = mock.Mock(
|
||||
side_effect=_get_system_handle)
|
||||
|
||||
def _new_system(token):
|
||||
"""mock new_system."""
|
||||
host_configs.append({'name': ''})
|
||||
return len(host_configs) - 1
|
||||
|
||||
mock_server.return_value.new_system = mock.Mock(
|
||||
side_effect=_new_system)
|
||||
|
||||
def _remove_system(sys_name, token):
|
||||
"""mock remove system."""
|
||||
for i, config in host_configs:
|
||||
if config['name'] == sys_name:
|
||||
del host_configs[i]
|
||||
return
|
||||
|
||||
raise Exception('Not Found %s' % sys_name)
|
||||
|
||||
mock_server.return_value.remove_system = mock.Mock(
|
||||
side_effect=_remove_system)
|
||||
|
||||
mock_server.return_value.save_system = mock.Mock()
|
||||
|
||||
def _modify_system(sys_id, key, value, token):
|
||||
"""mock modify_system."""
|
||||
host_configs[sys_id][key] = value
|
||||
|
||||
mock_server.return_value.modify_system = mock.Mock(
|
||||
side_effect=_modify_system)
|
||||
|
||||
def _check_cobbler(self, host_configs, expected_host_configs):
|
||||
"""check cobbler config generated correctly."""
|
||||
self.assertEqual(len(host_configs), len(expected_host_configs))
|
||||
for i in range(len(host_configs)):
|
||||
self.assertTrue(
|
||||
self._contains(host_configs[i], expected_host_configs[i]),
|
||||
'host %s config is\n%s\nwhile expected config is\n%s' % (
|
||||
i, host_configs[i], expected_host_configs[i]
|
||||
)
|
||||
)
|
||||
|
||||
def _unmock_chef(self):
|
||||
chef.autoconfigure = self.chef_autoconfigure_backup_
|
||||
chef.DataBag = chef.chef_databag_backup_
|
||||
chef.DataBagItem = self.chef_databagitem_backup_
|
||||
chef.Client = self.chef_client_backup_
|
||||
chef.Node = self.chef_node_backup_
|
||||
|
||||
def _mock_chef(self, configs):
|
||||
"""mock chef."""
|
||||
self.chef_autoconfigure_backup_ = chef.autoconfigure
|
||||
chef.autoconfigure = mock.Mock()
|
||||
import collections
|
||||
|
||||
class _mockDataBag(object):
|
||||
"""mock databag class."""
|
||||
def __init__(in_self, bag_name, api):
|
||||
in_self.name = bag_name
|
||||
|
||||
class _mockDataBagItem(collections.Mapping):
|
||||
"""mock databag item class."""
|
||||
|
||||
def __init__(in_self, bag, bag_item_name, api):
|
||||
in_self.bag_name_ = bag.name
|
||||
in_self.bag_item_name_ = bag_item_name
|
||||
in_self.config_ = configs.get(
|
||||
in_self.bag_name_, {}
|
||||
).get(
|
||||
bag_item_name, {}
|
||||
)
|
||||
|
||||
def __len__(in_self):
|
||||
return len(in_self.config_)
|
||||
|
||||
def __iter__(in_self):
|
||||
return iter(in_self.config_)
|
||||
|
||||
def __getitem__(in_self, name):
|
||||
return in_self.config_[name]
|
||||
|
||||
def __setitem__(in_self, name, value):
|
||||
in_self.config_[name] = value
|
||||
|
||||
def __delitem__(in_self, name):
|
||||
del in_self.config_[name]
|
||||
|
||||
def delete(in_self):
|
||||
"""mock delete."""
|
||||
del configs[in_self.bag_item_name_]
|
||||
|
||||
def save(in_self):
|
||||
"""mock save."""
|
||||
configs.setdefault(
|
||||
in_self.bag_name_, {}
|
||||
)[
|
||||
in_self.bag_item_name_
|
||||
] = in_self.config_
|
||||
|
||||
class _mockClient(object):
|
||||
def __init__(in_self, client_name, api):
|
||||
pass
|
||||
|
||||
def delete(in_self):
|
||||
pass
|
||||
|
||||
class _mockNode(collections.Mapping):
|
||||
"""mock node class."""
|
||||
|
||||
def __init__(in_self, node_name, api):
|
||||
in_self.node_name_ = node_name
|
||||
in_self.config_ = configs.get(node_name, {})
|
||||
in_self.run_list = []
|
||||
|
||||
def __len__(in_self):
|
||||
return len(in_self.config_)
|
||||
|
||||
def __iter__(in_self):
|
||||
return iter(in_self.config_)
|
||||
|
||||
def __getitem__(in_self, name):
|
||||
return in_self.config_[name]
|
||||
|
||||
def __setitem__(in_self, name, value):
|
||||
in_self.config_[name] = value
|
||||
|
||||
def delete(in_self):
|
||||
del configs[in_self.node_name_]
|
||||
|
||||
def to_dict(in_self):
|
||||
return in_self.config_
|
||||
|
||||
def get(in_self, key, default=None):
|
||||
return in_self.config_.get(key, default)
|
||||
|
||||
def save(in_self):
|
||||
"""mock save."""
|
||||
configs[in_self.node_name_] = in_self.config_
|
||||
configs[in_self.node_name_]['run_list'] = in_self.run_list
|
||||
|
||||
chef.chef_databag_backup_ = chef.DataBag
|
||||
chef.DataBag = mock.Mock(side_effect=_mockDataBag)
|
||||
self.chef_databagitem_backup_ = chef.DataBagItem
|
||||
chef.DataBagItem = mock.Mock(side_effect=_mockDataBagItem)
|
||||
self.chef_client_backup_ = chef.Client
|
||||
chef.Client = mock.Mock(side_effect=_mockClient)
|
||||
self.chef_node_backup_ = chef.Node
|
||||
chef.Node = mock.Mock(side_effect=_mockNode)
|
||||
|
||||
def _check_chef(self, configs, expected_configs):
|
||||
"""check chef config is generated correctly."""
|
||||
self.assertTrue(
|
||||
self._contains(configs, expected_configs),
|
||||
'configs\n%s\nwhile expected configs\n%s' % (
|
||||
configs, expected_configs
|
||||
)
|
||||
)
|
||||
|
||||
def _mock_os_installer(self, config_locals):
|
||||
"""mock os installer."""
|
||||
self.os_installer_mock_[setting.OS_INSTALLER](
|
||||
**config_locals['%s_MOCK' % setting.OS_INSTALLER])
|
||||
|
||||
def _unmock_os_installer(self):
|
||||
self.os_installer_unmock_[setting.OS_INSTALLER]()
|
||||
|
||||
def _mock_package_installer(self, config_locals):
|
||||
"""mock package installer."""
|
||||
self.package_installer_mock_[setting.PACKAGE_INSTALLER](
|
||||
**config_locals['%s_MOCK' % setting.PACKAGE_INSTALLER])
|
||||
|
||||
def _unmock_package_installer(self):
|
||||
self.package_installer_unmock_[setting.PACKAGE_INSTALLER]()
|
||||
|
||||
def _check_os_installer(self, config_locals):
|
||||
"""check os installer generate correct configs."""
|
||||
mock_kwargs = config_locals['%s_MOCK' % setting.OS_INSTALLER]
|
||||
expected_kwargs = config_locals['%s_EXPECTED' % setting.OS_INSTALLER]
|
||||
kwargs = {}
|
||||
kwargs.update(mock_kwargs)
|
||||
kwargs.update(expected_kwargs)
|
||||
self.os_installer_checker_[setting.OS_INSTALLER](**kwargs)
|
||||
|
||||
def _check_package_installer(self, config_locals):
|
||||
"""check package installer generate correct configs."""
|
||||
mock_kwargs = config_locals['%s_MOCK' % setting.PACKAGE_INSTALLER]
|
||||
expected_kwargs = config_locals[
|
||||
'%s_EXPECTED' % setting.PACKAGE_INSTALLER]
|
||||
kwargs = {}
|
||||
kwargs.update(mock_kwargs)
|
||||
kwargs.update(expected_kwargs)
|
||||
self.package_installer_checker_[setting.PACKAGE_INSTALLER](**kwargs)
|
||||
|
||||
def _test(self, config_filename):
|
||||
"""run the test."""
|
||||
full_path = '%s/data/%s' % (
|
||||
os.path.dirname(os.path.abspath(__file__)),
|
||||
config_filename)
|
||||
config_globals = {}
|
||||
config_locals = {}
|
||||
execfile(full_path, config_globals, config_locals)
|
||||
self._prepare_database(config_locals)
|
||||
self._mock_os_installer(config_locals)
|
||||
self._mock_package_installer(config_locals)
|
||||
cluster_hosts = {}
|
||||
with database.session() as session:
|
||||
clusters = session.query(Cluster).all()
|
||||
for cluster in clusters:
|
||||
cluster_hosts[cluster.id] = [
|
||||
host.id for host in cluster.hosts]
|
||||
|
||||
deploy.deploy(cluster_hosts)
|
||||
|
||||
self._check_os_installer(config_locals)
|
||||
self._check_package_installer(config_locals)
|
||||
self._unmock_os_installer()
|
||||
self._unmock_package_installer()
|
||||
|
||||
def _prepare_database(self, config_locals):
|
||||
"""prepare database."""
|
||||
with database.session() as session:
|
||||
adapters = {}
|
||||
for adapter_config in config_locals['ADAPTERS']:
|
||||
adapter = Adapter(**adapter_config)
|
||||
session.add(adapter)
|
||||
adapters[adapter_config['name']] = adapter
|
||||
|
||||
roles = {}
|
||||
for role_config in config_locals['ROLES']:
|
||||
role = Role(**role_config)
|
||||
session.add(role)
|
||||
roles[role_config['name']] = role
|
||||
|
||||
switches = {}
|
||||
for switch_config in config_locals['SWITCHES']:
|
||||
switch = Switch(**switch_config)
|
||||
session.add(switch)
|
||||
switches[switch_config['ip']] = switch
|
||||
|
||||
machines = {}
|
||||
for switch_ip, machine_configs in (
|
||||
config_locals['MACHINES_BY_SWITCH'].items()
|
||||
):
|
||||
for machine_config in machine_configs:
|
||||
machine = Machine(**machine_config)
|
||||
machines[machine_config['mac']] = machine
|
||||
machine.switch = switches[switch_ip]
|
||||
session.add(machine)
|
||||
|
||||
clusters = {}
|
||||
for cluster_config in config_locals['CLUSTERS']:
|
||||
adapter_name = cluster_config['adapter']
|
||||
del cluster_config['adapter']
|
||||
cluster = Cluster(**cluster_config)
|
||||
clusters[cluster_config['name']] = cluster
|
||||
cluster.adapter = adapters[adapter_name]
|
||||
session.add(cluster)
|
||||
|
||||
hosts = {}
|
||||
for cluster_name, host_configs in (
|
||||
config_locals['HOSTS_BY_CLUSTER'].items()
|
||||
):
|
||||
for host_config in host_configs:
|
||||
mac = host_config['mac']
|
||||
del host_config['mac']
|
||||
host = ClusterHost(**host_config)
|
||||
hosts['%s.%s' % (
|
||||
host_config['hostname'], cluster_name)] = host
|
||||
host.machine = machines[mac]
|
||||
host.cluster = clusters[cluster_name]
|
||||
session.add(host)
|
||||
|
||||
def _mock_setting(self, mock_global_config_filename='global_config'):
|
||||
self.backup_os_installer_ = setting.OS_INSTALLER
|
||||
self.backup_package_installer_ = setting.PACKAGE_INSTALLER
|
||||
self.backup_cobbler_url_ = setting.COBBLER_INSTALLER_URL
|
||||
self.backup_chef_url_ = setting.CHEF_INSTALLER_URL
|
||||
self.backup_config_dir_ = setting.CONFIG_DIR
|
||||
self.backup_global_config_filename_ = setting.GLOBAL_CONFIG_FILENAME
|
||||
self.backup_config_file_format_ = setting.CONFIG_FILE_FORMAT
|
||||
setting.OS_INSTALLER = 'cobbler'
|
||||
setting.PACKAGE_INSTALLER = 'chef'
|
||||
setting.COBBLER_INSTALLER_URL = 'http://localhost/cobbler_api'
|
||||
setting.CHEF_INSTALLER_URL = 'https://localhost/'
|
||||
setting.CONFIG_DIR = os.path.join(
|
||||
os.path.dirname(os.path.abspath(__file__)),
|
||||
'data')
|
||||
setting.GLOBAL_CONFIG_FILENAME = mock_global_config_filename
|
||||
setting.CONFIG_FILE_FORMAT = 'python'
|
||||
|
||||
def _unmock_setting(self):
|
||||
setting.OS_INSTALLER = self.backup_os_installer_
|
||||
setting.PACKAGE_INSTALLER = self.backup_package_installer_
|
||||
setting.COBBLER_INSTALLER_URL = self.backup_cobbler_url_
|
||||
setting.CHEF_INSTALLER_URL = self.backup_chef_url_
|
||||
setting.CONFIG_DIR = self.backup_config_dir_
|
||||
setting.GLOBAL_CONFIG_FILENAME = self.backup_global_config_filename_
|
||||
self.backup_config_file_format_ = setting.CONFIG_FILE_FORMAT
|
||||
|
||||
def setUp(self):
|
||||
"""test setup."""
|
||||
super(TestEndToEnd, self).setUp()
|
||||
self._mock_setting()
|
||||
logsetting.init()
|
||||
database.create_db()
|
||||
self._mock_lock()
|
||||
self.rmtree_backup_ = shutil.rmtree
|
||||
shutil.rmtree = mock.Mock()
|
||||
self.system_backup_ = os.system
|
||||
os.system = mock.Mock()
|
||||
self.os_installer_mock_ = {}
|
||||
self.os_installer_mock_['cobbler'] = self._mock_cobbler
|
||||
self.os_installer_unmock_ = {}
|
||||
self.os_installer_unmock_['cobbler'] = self._unmock_cobbler
|
||||
self.package_installer_mock_ = {}
|
||||
self.package_installer_mock_['chef'] = self._mock_chef
|
||||
self.package_installer_unmock_ = {}
|
||||
self.package_installer_unmock_['chef'] = self._unmock_chef
|
||||
self.os_installer_checker_ = {}
|
||||
self.os_installer_checker_['cobbler'] = self._check_cobbler
|
||||
self.package_installer_checker_ = {}
|
||||
self.package_installer_checker_['chef'] = self._check_chef
|
||||
|
||||
def tearDown(self):
|
||||
"""test teardown."""
|
||||
database.drop_db()
|
||||
self._unmock_lock()
|
||||
shutil.rmtree = self.rmtree_backup_
|
||||
os.system = self.system_backup_
|
||||
self._unmock_setting()
|
||||
super(TestEndToEnd, self).tearDown()
|
||||
|
||||
def test_1(self):
|
||||
"""test one cluster one host."""
|
||||
self._test('test1')
|
||||
|
||||
def test_2(self):
|
||||
"""test one cluster multi hosts."""
|
||||
self._test('test2')
|
||||
|
||||
def test_3(self):
|
||||
"""test multi clusters multi hosts."""
|
||||
self._test('test3')
|
||||
|
||||
def test_4(self):
|
||||
"""test deploy unexist roles."""
|
||||
self._test('test4')
|
||||
|
||||
def test_5(self):
|
||||
"""test deploy roles with testmode disabled."""
|
||||
self._unmock_setting()
|
||||
self._mock_setting('global_config2')
|
||||
self._test('test5')
|
||||
|
||||
def test_6(self):
|
||||
"""test deploy on 10 host."""
|
||||
self._test('test6')
|
||||
|
||||
def test_7(self):
|
||||
"""test deploy on 10 host with ha support."""
|
||||
self._test('test7')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
flags.init()
|
||||
logsetting.init()
|
||||
unittest2.main()
|
@ -1,126 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""test poll_switch action module."""
|
||||
from mock import patch
|
||||
import os
|
||||
import unittest2
|
||||
|
||||
|
||||
os.environ['COMPASS_IGNORE_SETTING'] = 'true'
|
||||
|
||||
|
||||
from compass.utils import setting_wrapper as setting
|
||||
reload(setting)
|
||||
|
||||
|
||||
from compass.actions import poll_switch
|
||||
from compass.api import app
|
||||
from compass.db import database
|
||||
from compass.db.model import Machine
|
||||
from compass.db.model import Switch
|
||||
from compass.db.model import SwitchConfig
|
||||
from compass.utils import flags
|
||||
from compass.utils import logsetting
|
||||
|
||||
|
||||
class TestPollSwitch(unittest2.TestCase):
|
||||
"""base api test class."""
|
||||
|
||||
CLUSTER_NAME = "Test1"
|
||||
SWITCH_CREDENTIAL = {'version': '2c',
|
||||
'community': 'public'}
|
||||
DATABASE_URL = 'sqlite://'
|
||||
|
||||
def setUp(self):
|
||||
super(TestPollSwitch, self).setUp()
|
||||
logsetting.init()
|
||||
database.init(self.DATABASE_URL)
|
||||
database.create_db()
|
||||
self.test_client = app.test_client()
|
||||
|
||||
with database.session() as session:
|
||||
# Add one switch to DB
|
||||
switch = Switch(ip="127.0.0.1",
|
||||
credential=self.SWITCH_CREDENTIAL)
|
||||
session.add(switch)
|
||||
# Add filter port to SwitchConfig table
|
||||
filter_list = [
|
||||
SwitchConfig(ip="127.0.0.1", filter_port='6'),
|
||||
SwitchConfig(ip="127.0.0.1", filter_port='7')
|
||||
]
|
||||
session.add_all(filter_list)
|
||||
|
||||
def tearDown(self):
|
||||
database.drop_db()
|
||||
super(TestPollSwitch, self).tearDown()
|
||||
|
||||
@patch("compass.hdsdiscovery.hdmanager.HDManager.learn")
|
||||
@patch("compass.hdsdiscovery.hdmanager.HDManager.get_vendor")
|
||||
def test_poll_switch(self, mock_get_vendor, mock_learn):
|
||||
# Incorrect IP address format
|
||||
poll_switch.poll_switch("xxx")
|
||||
with database.session() as session:
|
||||
machines = session.query(Machine).filter_by(switch_id=1).all()
|
||||
self.assertEqual([], machines)
|
||||
|
||||
# Switch is unreachable
|
||||
mock_get_vendor.return_value = (None, 'unreachable', 'Timeout')
|
||||
poll_switch.poll_switch('127.0.0.1')
|
||||
with database.session() as session:
|
||||
machines = session.query(Machine).filter_by(switch_id=1).all()
|
||||
self.assertEqual([], machines)
|
||||
|
||||
switch = session.query(Switch).filter_by(id=1).first()
|
||||
self.assertEqual(switch.state, 'unreachable')
|
||||
|
||||
# Successfully retrieve machines from the switch
|
||||
mock_get_vendor.return_value = ('xxx', 'Found', "")
|
||||
mock_learn.return_value = [
|
||||
{'mac': '00:01:02:03:04:05', 'vlan': '1', 'port': '1'},
|
||||
{'mac': '00:01:02:03:04:06', 'vlan': '1', 'port': '2'},
|
||||
{'mac': '00:01:02:03:04:07', 'vlan': '2', 'port': '3'},
|
||||
{'mac': '00:01:02:03:04:08', 'vlan': '2', 'port': '4'},
|
||||
{'mac': '00:01:02:03:04:09', 'vlan': '3', 'port': '5'}
|
||||
]
|
||||
poll_switch.poll_switch('127.0.0.1')
|
||||
with database.session() as session:
|
||||
machines = session.query(Machine).filter_by(switch_id=1).all()
|
||||
self.assertEqual(5, len(machines))
|
||||
# The state and err_msg of the switch should be reset.
|
||||
switch = session.query(Switch).filter_by(id=1).first()
|
||||
self.assertEqual(switch.state, "under_monitoring")
|
||||
self.assertEqual(switch.err_msg, "")
|
||||
|
||||
# Successfully retrieve and filter some machines
|
||||
# In the following case, machines with port 6, 7 will be filtered.
|
||||
mock_learn.return_value = [
|
||||
{'mac': '00:01:02:03:04:10', 'vlan': '3', 'port': '6'},
|
||||
{'mac': '00:01:02:03:04:0a', 'vlan': '4', 'port': '7'},
|
||||
{'mac': '00:01:02:03:04:0b', 'vlan': '4', 'port': '8'},
|
||||
{'mac': '00:01:02:03:04:0c', 'vlan': '5', 'port': '9'},
|
||||
{'mac': '00:01:02:03:04:0d', 'vlan': '5', 'port': '10'}
|
||||
]
|
||||
poll_switch.poll_switch('127.0.0.1')
|
||||
with database.session() as session:
|
||||
machines = session.query(Machine).filter_by(switch_id=1).all()
|
||||
self.assertEqual(8, len(machines))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
flags.init()
|
||||
logsetting.init()
|
||||
unittest2.main()
|
@ -1,62 +0,0 @@
|
||||
networking = {
|
||||
'global': {
|
||||
'default_no_proxy': ['127.0.0.1', 'localhost'],
|
||||
'search_path_pattern': '%(clusterid)s.%(search_path)s %(search_path)s',
|
||||
'noproxy_pattern': '%(hostname)s.%(clusterid)s,%(ip)s'
|
||||
},
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'dns_pattern': '%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
},
|
||||
'tenant': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'virtual-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
'public': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth1',
|
||||
'dns_pattern': 'floating-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 1,
|
||||
},
|
||||
'storage': {
|
||||
'netmask': '255.255.255.0',
|
||||
'nic': 'eth0',
|
||||
'dns_pattern': 'storage-%(hostname)s.%(clusterid)s.%(search_path)s',
|
||||
'promisc': 0,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
security = {
|
||||
'server_credentials': {
|
||||
'username': 'root',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'admin',
|
||||
'password': 'huawei',
|
||||
},
|
||||
}
|
||||
|
||||
role_assign_policy = {
|
||||
'policy_by_host_numbers': {
|
||||
},
|
||||
'default': {
|
||||
'roles': [],
|
||||
'maxs': {},
|
||||
'mins': {},
|
||||
'default_max': -1,
|
||||
'default_min': 0,
|
||||
'exclusives': [],
|
||||
'bundles': [],
|
||||
},
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,61 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,141 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,18 +0,0 @@
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone] action create (openstack-identity::server line 73)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] mode changed to 700
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone/ssl] action create (openstack-identity::server line 79)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing file[/var/lib/keystone/keystone.db] action delete (openstack-identity::server line 87)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[keystone-manage pki_setup] action run (openstack-identity::server line 91)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing template[/etc/keystone/keystone.conf] action create (openstack-identity::server line 140)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] backed up to /var/chef/backup/etc/keystone/keystone.conf.chef-20140221203911.069202
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] updated file contents /etc/keystone/keystone.conf
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] mode changed to 644
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] sending restart action to service[keystone] (immediate)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing service[keystone] action restart (openstack-identity::server line 64)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] restarted
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] sending run action to execute[Keystone: sleep] (immediate)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[Keystone: sleep] action run (openstack-identity::server line 58)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: execute[Keystone: sleep] ran successfully
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,422 +0,0 @@
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone] action create (openstack-identity::server line 73)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] mode changed to 700
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone/ssl] action create (openstack-identity::server line 79)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing file[/var/lib/keystone/keystone.db] action delete (openstack-identity::server line 87)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[keystone-manage pki_setup] action run (openstack-identity::server line 91)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing template[/etc/keystone/keystone.conf] action create (openstack-identity::server line 140)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] backed up to /var/chef/backup/etc/keystone/keystone.conf.chef-20140221203911.069202
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] updated file contents /etc/keystone/keystone.conf
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] mode changed to 644
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] sending restart action to service[keystone] (immediate)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing service[keystone] action restart (openstack-identity::server line 64)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] restarted
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] sending run action to execute[Keystone: sleep] (immediate)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[Keystone: sleep] action run (openstack-identity::server line 58)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing template[/etc/keystone/default_catalog.templates] action create (openstack-identity::server line 158)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing execute[keystone-manage db_sync] action run (openstack-identity::server line 172)
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: execute[keystone-manage db_sync] ran successfully
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: Processing bash[bootstrap-keystone-admin] action run (openstack-identity::registration line 40)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: bash[bootstrap-keystone-admin] ran successfully
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'admin' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant UUID: 87cf46951cc14159bd16b68e3eb96321
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'service' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Created tenant 'service'
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'admin' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role UUID: 8070c199fc2647c9a50176d11256bebc
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'Member' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Created Role 'Member'
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Processing openstack-identity_register[Register 'compute' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Created user 'service' for tenant 'service'
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Granted Role 'admin' to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Processing openstack-identity_register[Register compute Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Created service 'nova'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Processing openstack-identity_register[Register compute Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Created endpoint for service type 'compute'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Register 'network' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Processing openstack-identity_register[Register network Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Created service 'quantum'
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Processing openstack-identity_register[Register network Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Created endpoint for service type 'network'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Register 'volume' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Processing openstack-identity_register[Register volume Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Created service 'cinder'
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Processing openstack-identity_register[Register volume Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created endpoint for service type 'volume'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created service 'keystone'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Created endpoint for service type 'identity'
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Processing openstack-identity_register[Register 'image' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Processing openstack-identity_register[Register image Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created service 'glance'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register image Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created endpoint for service type 'image'
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register 'object-store' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Processing openstack-identity_register[Register object-store Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Created service 'swift'
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'admin' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Created EC2 Credentials for User 'admin' in Tenant 'admin'
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'monitoring' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Unable to create EC2 Credentials for User 'monitoring' in Tenant 'service'
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Error was: Could not lookup uuid for ec2-credentials:tenant=>service. Error was 'Client' object has no attribute 'auth_user_id'
|
||||
Feb 21 20:40:07 server1.1 (1)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: Processing package[openstack-cinder] action upgrade (openstack-block-storage::cinder-common line 26)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: package[openstack-cinder] installing openstack-cinder-2013.1.4-1.el6 from openstack repository
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: package[openstack-cinder] upgraded from uninstalled to 2013.1.4-1.el6
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/etc/cinder] action create (openstack-block-storage::cinder-common line 44)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] mode changed to 750
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing template[/etc/cinder/cinder.conf] action create (openstack-block-storage::cinder-common line 51)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] backed up to /var/chef/backup/etc/cinder/cinder.conf.chef-20140221204110.415861
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] updated file contents /etc/cinder/cinder.conf
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] mode changed to 644
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[python-cinderclient] action upgrade (openstack-block-storage::api line 32)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::api line 41)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/cache/cinder] action create (openstack-block-storage::api line 46)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] created directory /var/cache/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/lock/cinder] action create (openstack-block-storage::api line 52)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] created directory /var/lock/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing service[cinder-api] action enable (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: service[cinder-api] enabled
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing execute[cinder-manage db sync] action run (openstack-block-storage::api line 71)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: execute[cinder-manage db sync] ran successfully
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/api-paste.ini] action create (openstack-block-storage::api line 73)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] backed up to /var/chef/backup/etc/cinder/api-paste.ini.chef-20140221204130.194587
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] updated file contents /etc/cinder/api-paste.ini
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] owner changed to 165
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] sending restart action to service[cinder-api] (immediate)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-api] action restart (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-api] restarted
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/policy.json] action create (openstack-block-storage::api line 88)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] backed up to /var/chef/backup/etc/cinder/policy.json.chef-20140221204130.442890
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] updated file contents /etc/cinder/policy.json
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] owner changed to 165
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] mode changed to 644
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] not queuing delayed action restart on service[cinder-api] (delayed), as it's already been queued
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::scheduler line 45)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action enable (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] enabled
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action start (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] started
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[openstack-nova-common] action upgrade (openstack-compute::nova-common line 37)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: package[openstack-nova-common] installing openstack-nova-common-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: package[openstack-nova-common] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[python-memcached] action install (openstack-compute::nova-common line 46)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova] action create (openstack-compute::nova-common line 51)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] group changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova/rootwrap.d] action create (openstack-compute::nova-common line 59)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] created directory /etc/nova/rootwrap.d
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/nova.conf] action create (openstack-compute::nova-common line 134)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] backed up to /var/chef/backup/etc/nova/nova.conf.chef-20140221204152.340272
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] updated file contents /etc/nova/nova.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.conf] action create (openstack-compute::nova-common line 164)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] backed up to /var/chef/backup/etc/nova/rootwrap.conf.chef-20140221204152.347747
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] updated file contents /etc/nova/rootwrap.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/api-metadata.filters] action create (openstack-compute::nova-common line 172)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] created file /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] updated file contents /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/compute.filters] action create (openstack-compute::nova-common line 180)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] created file /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] updated file contents /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/network.filters] action create (openstack-compute::nova-common line 188)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] created file /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] updated file contents /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/root/openrc] action create (openstack-compute::nova-common line 199)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] created file /root/openrc
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] updated file contents /root/openrc
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] mode changed to 600
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing execute[enable nova login] action run (openstack-compute::nova-common line 215)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: execute[enable nova login] ran successfully
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::api-ec2 line 28)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] created directory /var/lock/nova
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] group changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[python-keystone] action upgrade (openstack-compute::api-ec2 line 36)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[openstack-nova-api] action upgrade (openstack-compute::api-ec2 line 41)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: package[openstack-nova-api] installing openstack-nova-api-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: package[openstack-nova-api] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-ec2] action enable (openstack-compute::api-ec2 line 48)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: service[nova-api-ec2] enabled
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing template[/etc/nova/api-paste.ini] action create (openstack-compute::api-ec2 line 74)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] backed up to /var/chef/backup/etc/nova/api-paste.ini.chef-20140221204156.594842
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] updated file contents /etc/nova/api-paste.ini
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] owner changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] not queuing delayed action restart on service[nova-api-ec2] (delayed), as it's already been queued
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] not queuing delayed action restart on service[nova-api-os-compute] (delayed), as it's already been queued
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::api-os-compute line 28)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing directory[/var/cache/nova] action create (openstack-compute::api-os-compute line 34)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] created directory /var/cache/nova
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] owner changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] group changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] mode changed to 700
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing package[python-keystone] action upgrade (openstack-compute::api-os-compute line 40)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing package[openstack-nova-api] action upgrade (openstack-compute::api-os-compute line 45)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-os-compute] action enable (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-os-compute] action start (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: service[nova-api-os-compute] started
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: Processing template[/etc/nova/api-paste.ini] action create (openstack-compute::api-os-compute line 78)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: Processing package[openstack-nova-cert] action upgrade (openstack-compute::nova-cert line 25)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: package[openstack-nova-cert] installing openstack-nova-cert-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: package[openstack-nova-cert] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing service[nova-cert] action enable (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: service[nova-cert] enabled
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing service[nova-cert] action restart (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: service[nova-cert] restarted
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::scheduler line 25)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing package[openstack-nova-scheduler] action upgrade (openstack-compute::scheduler line 34)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: package[openstack-nova-scheduler] installing openstack-nova-scheduler-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:11 server1.1 [2014-02-21T20:42:11-08:00] INFO: package[openstack-nova-scheduler] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:11 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing service[nova-scheduler] action enable (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: service[nova-scheduler] enabled
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing service[nova-scheduler] action restart (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: service[nova-scheduler] restarted
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing package[openstack-nova-novncproxy] action upgrade (openstack-compute::vncproxy line 26)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: package[openstack-nova-novncproxy] installing openstack-nova-novncproxy-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:20-08:00] INFO: package[openstack-nova-novncproxy] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:20-08:00] INFO: Processing package[openstack-nova-console] action upgrade (openstack-compute::vncproxy line 35)
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:21-08:00] INFO: package[openstack-nova-console] installing openstack-nova-console-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:24-08:00] INFO: package[openstack-nova-console] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:24-08:00] INFO: Processing package[openstack-nova-console] action upgrade (openstack-compute::vncproxy line 42)
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[openstack-nova-novncproxy] action enable (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[openstack-nova-novncproxy] enabled
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[openstack-nova-novncproxy] action start (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[openstack-nova-novncproxy] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-console] action enable (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-console] enabled
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-console] action start (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-console] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-consoleauth] action enable (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-consoleauth] enabled
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-consoleauth] action start (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: service[nova-consoleauth] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: Processing package[openstack-nova-conductor] action upgrade (openstack-compute::conductor line 26)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: package[openstack-nova-conductor] installing openstack-nova-conductor-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: package[openstack-nova-conductor] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing service[nova-conductor] action enable (openstack-compute::conductor line 32)
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: service[nova-conductor] enabled
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing service[nova-conductor] action restart (openstack-compute::conductor line 32)
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: service[nova-conductor] restarted
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing execute[nova-manage db sync] action run (openstack-compute::nova-setup line 26)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: execute[nova-manage db sync] ran successfully
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing package[python-quantumclient] action upgrade (openstack-compute::nova-setup line 109)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing package[pyparsing] action upgrade (openstack-compute::nova-setup line 109)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing cookbook_file[/usr/local/bin/add_floaters.py] action create (openstack-compute::nova-setup line 115)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] created file /usr/local/bin/add_floaters.py
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] updated file contents /usr/local/bin/add_floaters.py
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] mode changed to 755
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: Processing package[openstack-nova-network] action purge (openstack-network::common line 38)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: Processing package[openstack-quantum] action install (openstack-network::common line 44)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: package[openstack-quantum] installing openstack-quantum-2013.1.4-4.el6 from openstack repository
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/etc/quantum/plugins] action create (openstack-network::common line 49)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/var/cache/quantum] action create (openstack-network::common line 57)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] created directory /var/cache/quantum
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/var/cache/quantum] action create (openstack-network::common line 64)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing remote_directory[/etc/quantum/rootwrap.d] action create (openstack-network::common line 74)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: remote_directory[/etc/quantum/rootwrap.d] created directory /etc/quantum/rootwrap.d
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] created file /etc/quantum/rootwrap.d/ryu-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] updated file contents /etc/quantum/rootwrap.d/ryu-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] created file /etc/quantum/rootwrap.d/openvswitch-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] updated file contents /etc/quantum/rootwrap.d/openvswitch-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] created file /etc/quantum/rootwrap.d/nec-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] updated file contents /etc/quantum/rootwrap.d/nec-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] created file /etc/quantum/rootwrap.d/linuxbridge-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] updated file contents /etc/quantum/rootwrap.d/linuxbridge-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] created file /etc/quantum/rootwrap.d/lbaas-haproxy.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] updated file contents /etc/quantum/rootwrap.d/lbaas-haproxy.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/l3.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] created file /etc/quantum/rootwrap.d/l3.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] updated file contents /etc/quantum/rootwrap.d/l3.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] created file /etc/quantum/rootwrap.d/iptables-firewall.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] updated file contents /etc/quantum/rootwrap.d/iptables-firewall.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] created file /etc/quantum/rootwrap.d/dhcp.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] updated file contents /etc/quantum/rootwrap.d/dhcp.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/debug.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] created file /etc/quantum/rootwrap.d/debug.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] updated file contents /etc/quantum/rootwrap.d/debug.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/rootwrap.conf] action create (openstack-network::common line 81)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] backed up to /var/chef/backup/etc/quantum/rootwrap.conf.chef-20140221204614.967634
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] updated file contents /etc/quantum/rootwrap.conf
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/policy.json] action create (openstack-network::common line 88)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] backed up to /var/chef/backup/etc/quantum/policy.json.chef-20140221204614.975067
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] updated file contents /etc/quantum/policy.json
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing execute[delete_auto_qpid] action nothing (openstack-network::common line 103)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing service[quantum-server] action nothing (openstack-network::common line 157)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/quantum.conf] action create (openstack-network::common line 165)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] backed up to /var/chef/backup/etc/quantum/quantum.conf.chef-20140221204614.991537
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] updated file contents /etc/quantum/quantum.conf
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/api-paste.ini] action create (openstack-network::common line 186)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/api-paste.ini] backed up to /var/chef/backup/etc/quantum/api-paste.ini.chef-20140221204614.998443
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/api-paste.ini] updated file contents /etc/quantum/api-paste.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing directory[/etc/quantum/plugins/openvswitch] action create (openstack-network::common line 201)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] created directory /etc/quantum/plugins/openvswitch
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing service[quantum-plugin-openvswitch-agent] action nothing (openstack-network::common line 341)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] action create (openstack-network::common line 346)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] created file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] updated file contents /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing template[/etc/default/quantum-server] action create (openstack-network::common line 395)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing package[openstack-quantum-openvswitch] action install (openstack-network::server line 42)
|
||||
Feb 21 20:46:16 server1.1 [2014-02-21T20:46:15-08:00] INFO: package[openstack-quantum-openvswitch] installing openstack-quantum-openvswitch-2013.1.4-4.el6 from openstack repository
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing directory[/var/cache/quantum/api] action create (openstack-network::server line 49)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] created directory /var/cache/quantum/api
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] owner changed to 164
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] group changed to 164
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing template[/etc/init.d/quantum-server] action create (openstack-network::server line 55)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/init.d/quantum-server] backed up to /var/chef/backup/etc/init.d/quantum-server.chef-20140221204621.125222
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/init.d/quantum-server] updated file contents /etc/init.d/quantum-server
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[quantum-server] action enable (openstack-network::server line 63)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: service[quantum-server] enabled
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[quantum-server] action restart (openstack-network::server line 63)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: service[quantum-server] restarted
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing cookbook_file[quantum-ha-tool] action create (openstack-network::server line 69)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] created file /usr/local/bin/quantum-ha-tool.py
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] updated file contents /usr/local/bin/quantum-ha-tool.py
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] owner changed to 0
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] group changed to 0
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] mode changed to 755
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing template[/etc/sysconfig/quantum] action create (openstack-network::server line 98)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/httpd/mods-available/deflate.conf] sending restart action to service[apache2] (delayed)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[apache2] action restart (apache2::default line 221)
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: service[apache2] restarted
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: [template[/etc/cinder/cinder.conf]] sending restart action to service[cinder-api] (delayed)
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: Processing service[cinder-api] action restart (openstack-block-storage::api line 58)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: service[cinder-api] restarted
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: [template[/etc/cinder/cinder.conf]] sending restart action to service[cinder-scheduler] (delayed)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: Processing service[cinder-scheduler] action restart (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: service[cinder-scheduler] restarted
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-api-ec2] (delayed)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: Processing service[nova-api-ec2] action restart (openstack-compute::api-ec2 line 48)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: service[nova-api-ec2] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-api-os-compute] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: Processing service[nova-api-os-compute] action restart (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: service[nova-api-os-compute] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-cert] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: Processing service[nova-cert] action restart (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[nova-cert] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-scheduler] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[nova-scheduler] action restart (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[nova-scheduler] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[openstack-nova-novncproxy] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[openstack-nova-novncproxy] action restart (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[openstack-nova-novncproxy] restarted
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-console] (delayed)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[nova-console] action restart (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: service[nova-console] restarted
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-consoleauth] (delayed)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: Processing service[nova-consoleauth] action restart (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: service[nova-consoleauth] restarted
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-conductor] (delayed)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: Processing service[nova-conductor] action restart (openstack-compute::conductor line 32)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: service[nova-conductor] restarted
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: template[/etc/quantum/policy.json] sending restart action to service[quantum-server] (delayed)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: Processing service[quantum-server] action restart (openstack-network::server line 63)
|
||||
Feb 21 20:46:29 server1.1 [2014-02-21T20:46:29-08:00] INFO: service[quantum-server] restarted
|
||||
Feb 21 20:46:29 server1.1 [2014-02-21T20:46:29-08:00] INFO: Chef Run complete in 1449.433415826 seconds
|
||||
Feb 21 20:46:30 server1.1 [2014-02-21T20:46:30-08:00] INFO: Running report handlers
|
||||
Feb 21 20:46:30 server1.1 [2014-02-21T20:46:30-08:00] INFO: Report handlers complete
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,182 +0,0 @@
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor': 'huawei', 'credential': {'version': 'v2c', 'community': 'public'}},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security': {
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
},
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'server1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config': {
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller", "os-network", "os-compute"],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
EXPECTED = {
|
||||
'test1': {
|
||||
'checkpoint_1': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.0060000000000000001,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.0060000000000000001,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_2': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.222,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.222,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_3': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.59999999999999998,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.59999999999999998,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_4': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.65134000000000003,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.65134000000000003,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_5': {
|
||||
'host_states':{
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 1.0,
|
||||
'state': 'READY'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 1.0,
|
||||
'state': 'READY'
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,223 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
File diff suppressed because it is too large
Load Diff
@ -1,222 +0,0 @@
|
||||
05:50:22,531 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server2.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-5c-6a-b8
|
||||
|
||||
05:50:22,531 INFO : text mode forced from cmdline
|
||||
05:50:22,531 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:50:22,531 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:50:22,649 DEBUG : Saving module ipv6
|
||||
05:50:22,649 DEBUG : Saving module iscsi_ibft
|
||||
05:50:22,649 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:50:22,649 DEBUG : Saving module pcspkr
|
||||
05:50:22,649 DEBUG : Saving module edd
|
||||
05:50:22,649 DEBUG : Saving module floppy
|
||||
05:50:22,649 DEBUG : Saving module iscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi
|
||||
05:50:22,649 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:50:22,649 DEBUG : Saving module squashfs
|
||||
05:50:22,649 DEBUG : Saving module cramfs
|
||||
05:50:22,649 DEBUG : probing buses
|
||||
05:50:22,673 DEBUG : waiting for hardware to initialize
|
||||
05:50:28,619 DEBUG : probing buses
|
||||
05:50:28,644 DEBUG : waiting for hardware to initialize
|
||||
05:50:32,015 INFO : getting kickstart file
|
||||
05:50:32,022 INFO : eth0 has link, using it
|
||||
05:50:32,033 INFO : doing kickstart... setting it up
|
||||
05:50:32,034 DEBUG : activating device eth0
|
||||
05:50:40,048 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:50:40,048 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,049 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,134 INFO : setting up kickstart
|
||||
05:50:40,134 INFO : kickstart forcing text mode
|
||||
05:50:40,134 INFO : kickstartFromUrl
|
||||
05:50:40,134 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:50:40,135 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:50:40,137 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:50:40,137 ERROR : Drive tray reports open when it should be closed
|
||||
05:50:55,155 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,156 DEBUG : going to set language to en_US.UTF-8
|
||||
05:50:55,156 INFO : setting language to en_US.UTF-8
|
||||
05:50:55,169 INFO : starting STEP_METHOD
|
||||
05:50:55,169 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:50:55,169 DEBUG : skipMethodDialog is set
|
||||
05:50:55,176 INFO : starting STEP_STAGE2
|
||||
05:50:55,176 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,176 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:50:56,174 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:50:56,175 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:50:56,175 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:50:57,459 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:50:57,459 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:46,964 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:51:46,964 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:47,009 INFO : Loading SELinux policy
|
||||
05:51:47,753 INFO : getting ready to spawn shell now
|
||||
05:51:47,973 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:51:52,842 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:51:52,887 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:51:52,888 INFO : Running kickstart %%pre script(s)
|
||||
05:51:52,888 WARNING : '/bin/sh' specified as full path
|
||||
05:51:54,265 INFO : All kickstart %%pre script(s) have been run
|
||||
05:51:54,314 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:54,314 INFO : no initiator set
|
||||
05:51:54,416 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:51:54,425 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:51:54,425 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:51:59,033 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
05:51:59,033 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:51:59,033 INFO : Display mode = t
|
||||
05:51:59,034 INFO : Default encoding = utf-8
|
||||
05:51:59,193 INFO : Detected 2016M of memory
|
||||
05:51:59,193 INFO : Swap attempt of 4032M
|
||||
05:51:59,528 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:59,528 INFO : no initiator set
|
||||
05:52:00,372 INFO : setting installation environment hostname to server2
|
||||
05:52:00,415 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:52:00,541 INFO : Detected 2016M of memory
|
||||
05:52:00,541 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:52:00,541 INFO : Swap attempt of 3276M
|
||||
05:52:00,698 WARNING : step installtype does not exist
|
||||
05:52:00,699 WARNING : step confirminstall does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,702 INFO : moving (1) to step setuptime
|
||||
05:52:00,702 DEBUG : setuptime is a direct step
|
||||
22:52:00,703 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:52:02,003 INFO : leaving (1) step setuptime
|
||||
22:52:02,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:52:02,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:52:02,141 INFO : leaving (1) step autopartitionexecute
|
||||
22:52:02,141 INFO : moving (1) to step storagedone
|
||||
22:52:02,141 DEBUG : storagedone is a direct step
|
||||
22:52:02,142 INFO : leaving (1) step storagedone
|
||||
22:52:02,142 INFO : moving (1) to step enablefilesystems
|
||||
22:52:02,142 DEBUG : enablefilesystems is a direct step
|
||||
22:52:08,928 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:52:12,407 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:52:25,536 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:52:30,102 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:52:35,181 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:52:40,809 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:52:44,576 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:52:44,576 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:52:45,082 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:52:45,230 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:52:45,240 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:52:45,247 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:52:45,333 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:52:45,482 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,483 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:52:45,487 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,534 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:52:45,571 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:52:45,795 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:52:45,955 INFO : leaving (1) step enablefilesystems
|
||||
22:52:45,955 INFO : moving (1) to step bootloadersetup
|
||||
22:52:45,956 DEBUG : bootloadersetup is a direct step
|
||||
22:52:45,960 INFO : leaving (1) step bootloadersetup
|
||||
22:52:45,960 INFO : moving (1) to step reposetup
|
||||
22:52:45,960 DEBUG : reposetup is a direct step
|
||||
22:52:47,076 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:52:47,077 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:52:47,296 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:52:47,358 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:52:47,499 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:52:47,629 INFO : leaving (1) step reposetup
|
||||
22:52:47,629 INFO : moving (1) to step basepkgsel
|
||||
22:52:47,629 DEBUG : basepkgsel is a direct step
|
||||
22:52:47,645 WARNING : not adding Base group
|
||||
22:52:48,052 INFO : leaving (1) step basepkgsel
|
||||
22:52:48,053 INFO : moving (1) to step postselection
|
||||
22:52:48,053 DEBUG : postselection is a direct step
|
||||
22:52:48,056 INFO : selected kernel package for kernel
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:52:53,656 INFO : leaving (1) step postselection
|
||||
22:52:53,657 INFO : moving (1) to step install
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,280 +0,0 @@
|
||||
05:50:22,531 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server2.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-5c-6a-b8
|
||||
|
||||
05:50:22,531 INFO : text mode forced from cmdline
|
||||
05:50:22,531 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:50:22,531 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:50:22,649 DEBUG : Saving module ipv6
|
||||
05:50:22,649 DEBUG : Saving module iscsi_ibft
|
||||
05:50:22,649 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:50:22,649 DEBUG : Saving module pcspkr
|
||||
05:50:22,649 DEBUG : Saving module edd
|
||||
05:50:22,649 DEBUG : Saving module floppy
|
||||
05:50:22,649 DEBUG : Saving module iscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi
|
||||
05:50:22,649 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:50:22,649 DEBUG : Saving module squashfs
|
||||
05:50:22,649 DEBUG : Saving module cramfs
|
||||
05:50:22,649 DEBUG : probing buses
|
||||
05:50:22,673 DEBUG : waiting for hardware to initialize
|
||||
05:50:28,619 DEBUG : probing buses
|
||||
05:50:28,644 DEBUG : waiting for hardware to initialize
|
||||
05:50:32,015 INFO : getting kickstart file
|
||||
05:50:32,022 INFO : eth0 has link, using it
|
||||
05:50:32,033 INFO : doing kickstart... setting it up
|
||||
05:50:32,034 DEBUG : activating device eth0
|
||||
05:50:40,048 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:50:40,048 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,049 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,134 INFO : setting up kickstart
|
||||
05:50:40,134 INFO : kickstart forcing text mode
|
||||
05:50:40,134 INFO : kickstartFromUrl
|
||||
05:50:40,134 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:50:40,135 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:50:40,137 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:50:40,137 ERROR : Drive tray reports open when it should be closed
|
||||
05:50:55,155 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,156 DEBUG : going to set language to en_US.UTF-8
|
||||
05:50:55,156 INFO : setting language to en_US.UTF-8
|
||||
05:50:55,169 INFO : starting STEP_METHOD
|
||||
05:50:55,169 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:50:55,169 DEBUG : skipMethodDialog is set
|
||||
05:50:55,176 INFO : starting STEP_STAGE2
|
||||
05:50:55,176 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,176 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:50:56,174 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:50:56,175 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:50:56,175 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:50:57,459 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:50:57,459 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:46,964 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:51:46,964 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:47,009 INFO : Loading SELinux policy
|
||||
05:51:47,753 INFO : getting ready to spawn shell now
|
||||
05:51:47,973 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:51:52,842 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:51:52,887 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:51:52,888 INFO : Running kickstart %%pre script(s)
|
||||
05:51:52,888 WARNING : '/bin/sh' specified as full path
|
||||
05:51:54,265 INFO : All kickstart %%pre script(s) have been run
|
||||
05:51:54,314 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:54,314 INFO : no initiator set
|
||||
05:51:54,416 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:51:54,425 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:51:54,425 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:51:59,033 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
05:51:59,033 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:51:59,033 INFO : Display mode = t
|
||||
05:51:59,034 INFO : Default encoding = utf-8
|
||||
05:51:59,193 INFO : Detected 2016M of memory
|
||||
05:51:59,193 INFO : Swap attempt of 4032M
|
||||
05:51:59,528 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:59,528 INFO : no initiator set
|
||||
05:52:00,372 INFO : setting installation environment hostname to server2
|
||||
05:52:00,415 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:52:00,541 INFO : Detected 2016M of memory
|
||||
05:52:00,541 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:52:00,541 INFO : Swap attempt of 3276M
|
||||
05:52:00,698 WARNING : step installtype does not exist
|
||||
05:52:00,699 WARNING : step confirminstall does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,702 INFO : moving (1) to step setuptime
|
||||
05:52:00,702 DEBUG : setuptime is a direct step
|
||||
22:52:00,703 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:52:02,003 INFO : leaving (1) step setuptime
|
||||
22:52:02,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:52:02,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:52:02,141 INFO : leaving (1) step autopartitionexecute
|
||||
22:52:02,141 INFO : moving (1) to step storagedone
|
||||
22:52:02,141 DEBUG : storagedone is a direct step
|
||||
22:52:02,142 INFO : leaving (1) step storagedone
|
||||
22:52:02,142 INFO : moving (1) to step enablefilesystems
|
||||
22:52:02,142 DEBUG : enablefilesystems is a direct step
|
||||
22:52:08,928 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:52:12,407 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:52:25,536 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:52:30,102 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:52:35,181 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:52:40,809 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:52:44,576 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:52:44,576 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:52:45,082 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:52:45,230 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:52:45,240 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:52:45,247 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:52:45,333 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:52:45,482 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,483 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:52:45,487 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,534 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:52:45,571 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:52:45,795 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:52:45,955 INFO : leaving (1) step enablefilesystems
|
||||
22:52:45,955 INFO : moving (1) to step bootloadersetup
|
||||
22:52:45,956 DEBUG : bootloadersetup is a direct step
|
||||
22:52:45,960 INFO : leaving (1) step bootloadersetup
|
||||
22:52:45,960 INFO : moving (1) to step reposetup
|
||||
22:52:45,960 DEBUG : reposetup is a direct step
|
||||
22:52:47,076 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:52:47,077 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:52:47,296 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:52:47,358 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:52:47,499 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:52:47,629 INFO : leaving (1) step reposetup
|
||||
22:52:47,629 INFO : moving (1) to step basepkgsel
|
||||
22:52:47,629 DEBUG : basepkgsel is a direct step
|
||||
22:52:47,645 WARNING : not adding Base group
|
||||
22:52:48,052 INFO : leaving (1) step basepkgsel
|
||||
22:52:48,053 INFO : moving (1) to step postselection
|
||||
22:52:48,053 DEBUG : postselection is a direct step
|
||||
22:52:48,056 INFO : selected kernel package for kernel
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:52:53,656 INFO : leaving (1) step postselection
|
||||
22:52:53,657 INFO : moving (1) to step install
|
||||
22:52:53,660 INFO : leaving (1) step install
|
||||
22:52:53,660 INFO : moving (1) to step preinstallconfig
|
||||
22:52:53,660 DEBUG : preinstallconfig is a direct step
|
||||
22:52:54,102 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:52:54,107 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,134 INFO : leaving (1) step preinstallconfig
|
||||
22:52:54,134 INFO : moving (1) to step installpackages
|
||||
22:52:54,134 DEBUG : installpackages is a direct step
|
||||
22:52:54,134 INFO : Preparing to install packages
|
||||
23:16:26,925 INFO : leaving (1) step installpackages
|
||||
23:16:26,926 INFO : moving (1) to step postinstallconfig
|
||||
23:16:26,926 DEBUG : postinstallconfig is a direct step
|
||||
23:16:26,934 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:16:26,949 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:16:26,953 INFO : leaving (1) step postinstallconfig
|
||||
23:16:26,953 INFO : moving (1) to step writeconfig
|
||||
23:16:26,953 DEBUG : writeconfig is a direct step
|
||||
23:16:26,953 INFO : Writing main configuration
|
||||
23:16:26,958 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:16:30,473 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,530 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,632 INFO : removing libuser.conf at /tmp/libuser.KyLOeb
|
||||
23:16:30,633 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
23:16:31,956 INFO : leaving (1) step writeconfig
|
||||
23:16:31,956 INFO : moving (1) to step firstboot
|
||||
23:16:31,957 DEBUG : firstboot is a direct step
|
||||
23:16:31,957 INFO : leaving (1) step firstboot
|
||||
23:16:31,957 INFO : moving (1) to step instbootloader
|
||||
23:16:31,957 DEBUG : instbootloader is a direct step
|
||||
23:16:33,920 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:16:34,226 WARNING : '/sbin/grub' specified as full path
|
||||
23:16:35,092 INFO : leaving (1) step instbootloader
|
||||
23:16:35,092 INFO : moving (1) to step reipl
|
||||
23:16:35,092 DEBUG : reipl is a direct step
|
||||
23:16:35,093 INFO : leaving (1) step reipl
|
||||
23:16:35,093 INFO : moving (1) to step writeksconfig
|
||||
23:16:35,093 DEBUG : writeksconfig is a direct step
|
||||
23:16:35,093 INFO : Writing autokickstart file
|
||||
23:16:35,124 INFO : leaving (1) step writeksconfig
|
||||
23:16:35,124 INFO : moving (1) to step setfilecon
|
||||
23:16:35,125 DEBUG : setfilecon is a direct step
|
||||
23:16:35,125 INFO : setting SELinux contexts for anaconda created files
|
||||
23:16:36,828 INFO : leaving (1) step setfilecon
|
||||
23:16:36,829 INFO : moving (1) to step copylogs
|
||||
23:16:36,829 DEBUG : copylogs is a direct step
|
||||
23:16:36,829 INFO : Copying anaconda logs
|
||||
23:16:36,831 INFO : leaving (1) step copylogs
|
||||
23:16:36,831 INFO : moving (1) to step methodcomplete
|
||||
23:16:36,832 DEBUG : methodcomplete is a direct step
|
||||
23:16:36,832 INFO : leaving (1) step methodcomplete
|
||||
23:16:36,832 INFO : moving (1) to step postscripts
|
||||
23:16:36,832 DEBUG : postscripts is a direct step
|
||||
23:16:36,832 INFO : Running kickstart %%post script(s)
|
||||
23:16:36,872 WARNING : '/bin/sh' specified as full path
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,168 +0,0 @@
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone] action create (openstack-identity::server line 73)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] mode changed to 700
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone/ssl] action create (openstack-identity::server line 79)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing file[/var/lib/keystone/keystone.db] action delete (openstack-identity::server line 87)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[keystone-manage pki_setup] action run (openstack-identity::server line 91)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing template[/etc/keystone/keystone.conf] action create (openstack-identity::server line 140)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] backed up to /var/chef/backup/etc/keystone/keystone.conf.chef-20140221203911.069202
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] updated file contents /etc/keystone/keystone.conf
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] mode changed to 644
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] sending restart action to service[keystone] (immediate)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing service[keystone] action restart (openstack-identity::server line 64)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] restarted
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] sending run action to execute[Keystone: sleep] (immediate)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[Keystone: sleep] action run (openstack-identity::server line 58)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing template[/etc/keystone/default_catalog.templates] action create (openstack-identity::server line 158)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing execute[keystone-manage db_sync] action run (openstack-identity::server line 172)
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: execute[keystone-manage db_sync] ran successfully
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: Processing bash[bootstrap-keystone-admin] action run (openstack-identity::registration line 40)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: bash[bootstrap-keystone-admin] ran successfully
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'admin' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant UUID: 87cf46951cc14159bd16b68e3eb96321
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'service' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Created tenant 'service'
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'admin' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role UUID: 8070c199fc2647c9a50176d11256bebc
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'Member' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Created Role 'Member'
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Processing openstack-identity_register[Register 'compute' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Created user 'service' for tenant 'service'
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Granted Role 'admin' to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Processing openstack-identity_register[Register compute Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Created service 'nova'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Processing openstack-identity_register[Register compute Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Created endpoint for service type 'compute'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Register 'network' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Processing openstack-identity_register[Register network Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Created service 'quantum'
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Processing openstack-identity_register[Register network Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Created endpoint for service type 'network'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Register 'volume' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Processing openstack-identity_register[Register volume Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Created service 'cinder'
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Processing openstack-identity_register[Register volume Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created endpoint for service type 'volume'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created service 'keystone'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Created endpoint for service type 'identity'
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Processing openstack-identity_register[Register 'image' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Processing openstack-identity_register[Register image Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created service 'glance'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register image Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created endpoint for service type 'image'
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register 'object-store' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Processing openstack-identity_register[Register object-store Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Created service 'swift'
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'admin' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Created EC2 Credentials for User 'admin' in Tenant 'admin'
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'monitoring' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Unable to create EC2 Credentials for User 'monitoring' in Tenant 'service'
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Error was: Could not lookup uuid for ec2-credentials:tenant=>service. Error was 'Client' object has no attribute 'auth_user_id'
|
||||
Feb 21 20:40:07 server1.1 (1)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: Processing package[openstack-cinder] action upgrade (openstack-block-storage::cinder-common line 26)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: package[openstack-cinder] installing openstack-cinder-2013.1.4-1.el6 from openstack repository
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: package[openstack-cinder] upgraded from uninstalled to 2013.1.4-1.el6
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/etc/cinder] action create (openstack-block-storage::cinder-common line 44)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] mode changed to 750
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing template[/etc/cinder/cinder.conf] action create (openstack-block-storage::cinder-common line 51)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] backed up to /var/chef/backup/etc/cinder/cinder.conf.chef-20140221204110.415861
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] updated file contents /etc/cinder/cinder.conf
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] mode changed to 644
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[python-cinderclient] action upgrade (openstack-block-storage::api line 32)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::api line 41)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/cache/cinder] action create (openstack-block-storage::api line 46)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] created directory /var/cache/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/lock/cinder] action create (openstack-block-storage::api line 52)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] created directory /var/lock/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing service[cinder-api] action enable (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: service[cinder-api] enabled
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing execute[cinder-manage db sync] action run (openstack-block-storage::api line 71)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: execute[cinder-manage db sync] ran successfully
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/api-paste.ini] action create (openstack-block-storage::api line 73)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] backed up to /var/chef/backup/etc/cinder/api-paste.ini.chef-20140221204130.194587
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] updated file contents /etc/cinder/api-paste.ini
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] owner changed to 165
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] sending restart action to service[cinder-api] (immediate)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-api] action restart (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-api] restarted
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/policy.json] action create (openstack-block-storage::api line 88)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] backed up to /var/chef/backup/etc/cinder/policy.json.chef-20140221204130.442890
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] updated file contents /etc/cinder/policy.json
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] owner changed to 165
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] mode changed to 644
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] not queuing delayed action restart on service[cinder-api] (delayed), as it's already been queued
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::scheduler line 45)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action enable (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] enabled
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action start (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] started
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[openstack-nova-common] action upgrade (openstack-compute::nova-common line 37)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: package[openstack-nova-common] installing openstack-nova-common-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: package[openstack-nova-common] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[python-memcached] action install (openstack-compute::nova-common line 46)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova] action create (openstack-compute::nova-common line 51)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] group changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova/rootwrap.d] action create (openstack-compute::nova-common line 59)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] created directory /etc/nova/rootwrap.d
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/nova.conf] action create (openstack-compute::nova-common line 134)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] backed up to /var/chef/backup/etc/nova/nova.conf.chef-20140221204152.340272
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] updated file contents /etc/nova/nova.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.conf] action create (openstack-compute::nova-common line 164)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] backed up to /var/chef/backup/etc/nova/rootwrap.conf.chef-20140221204152.347747
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] updated file contents /etc/nova/rootwrap.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/api-metadata.filters] action create (openstack-compute::nova-common line 172)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] created file /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] updated file contents /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/compute.filters] action create (openstack-compute::nova-common line 180)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] created file /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] updated file contents /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/network.filters] action create (openstack-compute::nova-common line 188)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] created file /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] updated file contents /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] group changed to 0
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,280 +0,0 @@
|
||||
05:50:22,531 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server2.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-5c-6a-b8
|
||||
|
||||
05:50:22,531 INFO : text mode forced from cmdline
|
||||
05:50:22,531 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:50:22,531 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:50:22,649 DEBUG : Saving module ipv6
|
||||
05:50:22,649 DEBUG : Saving module iscsi_ibft
|
||||
05:50:22,649 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:50:22,649 DEBUG : Saving module pcspkr
|
||||
05:50:22,649 DEBUG : Saving module edd
|
||||
05:50:22,649 DEBUG : Saving module floppy
|
||||
05:50:22,649 DEBUG : Saving module iscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi
|
||||
05:50:22,649 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:50:22,649 DEBUG : Saving module squashfs
|
||||
05:50:22,649 DEBUG : Saving module cramfs
|
||||
05:50:22,649 DEBUG : probing buses
|
||||
05:50:22,673 DEBUG : waiting for hardware to initialize
|
||||
05:50:28,619 DEBUG : probing buses
|
||||
05:50:28,644 DEBUG : waiting for hardware to initialize
|
||||
05:50:32,015 INFO : getting kickstart file
|
||||
05:50:32,022 INFO : eth0 has link, using it
|
||||
05:50:32,033 INFO : doing kickstart... setting it up
|
||||
05:50:32,034 DEBUG : activating device eth0
|
||||
05:50:40,048 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:50:40,048 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,049 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,134 INFO : setting up kickstart
|
||||
05:50:40,134 INFO : kickstart forcing text mode
|
||||
05:50:40,134 INFO : kickstartFromUrl
|
||||
05:50:40,134 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:50:40,135 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:50:40,137 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:50:40,137 ERROR : Drive tray reports open when it should be closed
|
||||
05:50:55,155 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,156 DEBUG : going to set language to en_US.UTF-8
|
||||
05:50:55,156 INFO : setting language to en_US.UTF-8
|
||||
05:50:55,169 INFO : starting STEP_METHOD
|
||||
05:50:55,169 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:50:55,169 DEBUG : skipMethodDialog is set
|
||||
05:50:55,176 INFO : starting STEP_STAGE2
|
||||
05:50:55,176 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,176 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:50:56,174 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:50:56,175 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:50:56,175 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:50:57,459 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:50:57,459 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:46,964 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:51:46,964 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:47,009 INFO : Loading SELinux policy
|
||||
05:51:47,753 INFO : getting ready to spawn shell now
|
||||
05:51:47,973 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:51:52,842 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:51:52,887 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:51:52,888 INFO : Running kickstart %%pre script(s)
|
||||
05:51:52,888 WARNING : '/bin/sh' specified as full path
|
||||
05:51:54,265 INFO : All kickstart %%pre script(s) have been run
|
||||
05:51:54,314 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:54,314 INFO : no initiator set
|
||||
05:51:54,416 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:51:54,425 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:51:54,425 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:51:59,033 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
05:51:59,033 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:51:59,033 INFO : Display mode = t
|
||||
05:51:59,034 INFO : Default encoding = utf-8
|
||||
05:51:59,193 INFO : Detected 2016M of memory
|
||||
05:51:59,193 INFO : Swap attempt of 4032M
|
||||
05:51:59,528 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:59,528 INFO : no initiator set
|
||||
05:52:00,372 INFO : setting installation environment hostname to server2
|
||||
05:52:00,415 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:52:00,541 INFO : Detected 2016M of memory
|
||||
05:52:00,541 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:52:00,541 INFO : Swap attempt of 3276M
|
||||
05:52:00,698 WARNING : step installtype does not exist
|
||||
05:52:00,699 WARNING : step confirminstall does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,702 INFO : moving (1) to step setuptime
|
||||
05:52:00,702 DEBUG : setuptime is a direct step
|
||||
22:52:00,703 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:52:02,003 INFO : leaving (1) step setuptime
|
||||
22:52:02,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:52:02,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:52:02,141 INFO : leaving (1) step autopartitionexecute
|
||||
22:52:02,141 INFO : moving (1) to step storagedone
|
||||
22:52:02,141 DEBUG : storagedone is a direct step
|
||||
22:52:02,142 INFO : leaving (1) step storagedone
|
||||
22:52:02,142 INFO : moving (1) to step enablefilesystems
|
||||
22:52:02,142 DEBUG : enablefilesystems is a direct step
|
||||
22:52:08,928 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:52:12,407 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:52:25,536 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:52:30,102 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:52:35,181 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:52:40,809 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:52:44,576 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:52:44,576 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:52:45,082 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:52:45,230 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:52:45,240 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:52:45,247 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:52:45,333 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:52:45,482 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,483 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:52:45,487 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,534 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:52:45,571 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:52:45,795 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:52:45,955 INFO : leaving (1) step enablefilesystems
|
||||
22:52:45,955 INFO : moving (1) to step bootloadersetup
|
||||
22:52:45,956 DEBUG : bootloadersetup is a direct step
|
||||
22:52:45,960 INFO : leaving (1) step bootloadersetup
|
||||
22:52:45,960 INFO : moving (1) to step reposetup
|
||||
22:52:45,960 DEBUG : reposetup is a direct step
|
||||
22:52:47,076 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:52:47,077 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:52:47,296 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:52:47,358 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:52:47,499 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:52:47,629 INFO : leaving (1) step reposetup
|
||||
22:52:47,629 INFO : moving (1) to step basepkgsel
|
||||
22:52:47,629 DEBUG : basepkgsel is a direct step
|
||||
22:52:47,645 WARNING : not adding Base group
|
||||
22:52:48,052 INFO : leaving (1) step basepkgsel
|
||||
22:52:48,053 INFO : moving (1) to step postselection
|
||||
22:52:48,053 DEBUG : postselection is a direct step
|
||||
22:52:48,056 INFO : selected kernel package for kernel
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:52:53,656 INFO : leaving (1) step postselection
|
||||
22:52:53,657 INFO : moving (1) to step install
|
||||
22:52:53,660 INFO : leaving (1) step install
|
||||
22:52:53,660 INFO : moving (1) to step preinstallconfig
|
||||
22:52:53,660 DEBUG : preinstallconfig is a direct step
|
||||
22:52:54,102 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:52:54,107 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,134 INFO : leaving (1) step preinstallconfig
|
||||
22:52:54,134 INFO : moving (1) to step installpackages
|
||||
22:52:54,134 DEBUG : installpackages is a direct step
|
||||
22:52:54,134 INFO : Preparing to install packages
|
||||
23:16:26,925 INFO : leaving (1) step installpackages
|
||||
23:16:26,926 INFO : moving (1) to step postinstallconfig
|
||||
23:16:26,926 DEBUG : postinstallconfig is a direct step
|
||||
23:16:26,934 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:16:26,949 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:16:26,953 INFO : leaving (1) step postinstallconfig
|
||||
23:16:26,953 INFO : moving (1) to step writeconfig
|
||||
23:16:26,953 DEBUG : writeconfig is a direct step
|
||||
23:16:26,953 INFO : Writing main configuration
|
||||
23:16:26,958 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:16:30,473 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,530 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,632 INFO : removing libuser.conf at /tmp/libuser.KyLOeb
|
||||
23:16:30,633 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
23:16:31,956 INFO : leaving (1) step writeconfig
|
||||
23:16:31,956 INFO : moving (1) to step firstboot
|
||||
23:16:31,957 DEBUG : firstboot is a direct step
|
||||
23:16:31,957 INFO : leaving (1) step firstboot
|
||||
23:16:31,957 INFO : moving (1) to step instbootloader
|
||||
23:16:31,957 DEBUG : instbootloader is a direct step
|
||||
23:16:33,920 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:16:34,226 WARNING : '/sbin/grub' specified as full path
|
||||
23:16:35,092 INFO : leaving (1) step instbootloader
|
||||
23:16:35,092 INFO : moving (1) to step reipl
|
||||
23:16:35,092 DEBUG : reipl is a direct step
|
||||
23:16:35,093 INFO : leaving (1) step reipl
|
||||
23:16:35,093 INFO : moving (1) to step writeksconfig
|
||||
23:16:35,093 DEBUG : writeksconfig is a direct step
|
||||
23:16:35,093 INFO : Writing autokickstart file
|
||||
23:16:35,124 INFO : leaving (1) step writeksconfig
|
||||
23:16:35,124 INFO : moving (1) to step setfilecon
|
||||
23:16:35,125 DEBUG : setfilecon is a direct step
|
||||
23:16:35,125 INFO : setting SELinux contexts for anaconda created files
|
||||
23:16:36,828 INFO : leaving (1) step setfilecon
|
||||
23:16:36,829 INFO : moving (1) to step copylogs
|
||||
23:16:36,829 DEBUG : copylogs is a direct step
|
||||
23:16:36,829 INFO : Copying anaconda logs
|
||||
23:16:36,831 INFO : leaving (1) step copylogs
|
||||
23:16:36,831 INFO : moving (1) to step methodcomplete
|
||||
23:16:36,832 DEBUG : methodcomplete is a direct step
|
||||
23:16:36,832 INFO : leaving (1) step methodcomplete
|
||||
23:16:36,832 INFO : moving (1) to step postscripts
|
||||
23:16:36,832 DEBUG : postscripts is a direct step
|
||||
23:16:36,832 INFO : Running kickstart %%post script(s)
|
||||
23:16:36,872 WARNING : '/bin/sh' specified as full path
|
@ -1,342 +0,0 @@
|
||||
Feb 21 20:21:42 server2.1 [2014-02-21T20:21:42-08:00] INFO: Forking chef instance to converge...
|
||||
Feb 21 20:21:51 server2.1 [2014-02-21T20:21:50-08:00] INFO: *** Chef 11.8.0 ***
|
||||
Feb 21 20:21:51 server2.1 [2014-02-21T20:21:50-08:00] INFO: Chef-client pid: 1350
|
||||
Feb 21 20:22:14 server2.1 [2014-02-21T20:22:14-08:00] INFO: Client key /etc/chef/client.pem is not present - registering
|
||||
Feb 21 20:22:18 server2.1 [2014-02-21T20:22:18-08:00] INFO: HTTP Request Returned 404 Object Not Found: error
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:18-08:00] INFO: Setting the run_list to ["role[os-ops-database]"] from JSON
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Run List is [role[os-ops-database]]
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Run List expands to [openstack-common, openstack-common::logging, openstack-ops-database::server, openstack-ops-database::openstack-db]
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Starting Chef Run for server2_openstack_1
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Running start handlers
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Start handlers complete.
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: HTTP Request Returned 404 Object Not Found:
|
||||
Feb 21 20:22:20 server2.1 [2014-02-21T20:22:20-08:00] INFO: Loading cookbooks [apt, aws, build-essential, database, mysql, openssl, openstack-common, openstack-ops-database, postgresql, xfs, yum]
|
||||
Feb 21 20:22:20 server2.1 [2014-02-21T20:22:20-08:00] INFO: Storing updated cookbooks/mysql/recipes/percona_repo.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:20-08:00] INFO: Storing updated cookbooks/mysql/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/ruby.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/server_ec2.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/libraries/helpers.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/percona_repo.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/server.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/client.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/templates/default/my.cnf.erb in the cache.
|
||||
Feb 21 20:22:23 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/templates/default/mysql-server.seed.erb in the cache.
|
||||
Feb 21 20:22:23 server2.1 [2014-02-21T20:22:23-08:00] INFO: Storing updated cookbooks/mysql/templates/default/port_mysql.erb in the cache.
|
||||
Feb 21 20:22:24 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/default/debian.cnf.erb in the cache.
|
||||
Feb 21 20:22:24 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/default/grants.sql.erb in the cache.
|
||||
Feb 21 20:22:25 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/windows/my.cnf.erb in the cache.
|
||||
Feb 21 20:22:25 server2.1 [2014-02-21T20:22:25-08:00] INFO: Storing updated cookbooks/mysql/LICENSE in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/metadata.rb in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/TESTING.md in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/Berksfile in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/README.md in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/mysql/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/mysql.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/ebs_backup.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/postgresql.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/master.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/snapshot.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_mysql_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_postgresql.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_database_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_postgresql_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_mysql_database_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_sql_server_database_user.rb in the cache.
|
||||
Feb 21 20:22:29 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_mysql.rb in the cache.
|
||||
Feb 21 20:22:29 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_mysql_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_sql_server.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_postgresql_database_user.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_sql_server_user.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/resource_sql_server_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/resource_postgresql_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-db-restore.sh.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/aws_config.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.rb.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-backup-cron.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/app_grants.sql.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/s3cfg.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.cron.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.json.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-db-backup.sh.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/LICENSE in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/metadata.rb in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/database/README.md in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/database/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/mysql-server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/openstack-db.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/postgresql-server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/postgresql-client.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/mysql-client.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/LICENSE in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/metadata.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/README.md in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/xfs/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/xfs/LICENSE in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/metadata.rb in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/TESTING.md in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/Berksfile in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/README.md in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/aws/resources/s3_file.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/aws/resources/elastic_lb.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/resource_tag.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/ebs_raid.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/elastic_ip.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/s3_file.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/elastic_lb.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/resource_tag.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/ebs_raid.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/elastic_ip.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/libraries/ec2.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/LICENSE in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/metadata.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/README.md in the cache.
|
||||
Feb 21 20:22:38 server2.1 [2014-02-21T20:22:38-08:00] INFO: Storing updated cookbooks/aws/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:38 server2.1 [2014-02-21T20:22:38-08:00] INFO: Storing updated cookbooks/openssl/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/libraries/secure_password.rb in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/LICENSE in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/metadata.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/README.md in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/build-essential/recipes/smartos.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/fedora.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/debian.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/rhel.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/omnios.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/mac_os_x.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/suse.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/solaris2.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/LICENSE in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/metadata.rb in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/TESTING.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/Berksfile in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/README.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/resources/preference.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/providers/preference.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/cacher-ng.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/files/default/apt-proxy-v2.conf in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/debian-6.0/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/default/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/default/01proxy.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/LICENSE in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/metadata.rb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/TESTING.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/Berksfile in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/README.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/yum_pgdg_postgresql.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server_redhat.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/config_pgtune.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server_debian.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/contrib.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/apt_pgdg_postgresql.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/config_initdb.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/ruby.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/libraries/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/server_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/apt_pgdg_postgresql_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/default_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/ruby_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/support/helpers.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/postgresql.conf.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/pgsql.sysconfig.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/pg_hba.conf.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/LICENSE in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/metadata.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/TESTING.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/CONTRIBUTING.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/Berksfile in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/README.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/resources/key.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/providers/key.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/recipes/test.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/recipes/epel.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/yum.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/ius.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/repoforge.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/elrepo.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/remi.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/epel.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/elrepo.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/remi.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/test_test.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/default_test.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/support/helpers.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/RPM-GPG-KEY-EPEL-6 in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/repo.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/yum-rhel6.conf.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/yum-rhel5.conf.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/LICENSE in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/metadata.rb in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/CONTRIBUTING.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/Berksfile in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/README.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/logging.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/databag.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/parse.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/endpoints.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/search.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/database.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/network.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/passwords.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/uri.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/templates/default/logging.conf.erb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/LICENSE in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Strainerfile in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/.tailor in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/metadata.rb in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Berksfile in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/README.md in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Gemfile.lock in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Gemfile in the cache.
|
||||
Feb 21 20:23:05 server2.1 [2014-02-21T20:23:04-08:00] INFO: Processing package[autoconf] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:23:47 server2.1 [2014-02-21T20:23:46-08:00] INFO: package[autoconf] installing autoconf-2.63-5.1.el6 from base repository
|
||||
Feb 21 20:25:48 server2.1 [2014-02-21T20:25:48-08:00] INFO: Processing package[bison] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:25:49 server2.1 [2014-02-21T20:25:49-08:00] INFO: package[bison] installing bison-2.4.1-5.el6 from base repository
|
||||
Feb 21 20:26:04 server2.1 [2014-02-21T20:26:03-08:00] INFO: Processing package[flex] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:26:04 server2.1 [2014-02-21T20:26:03-08:00] INFO: package[flex] installing flex-2.5.35-8.el6 from base repository
|
||||
Feb 21 20:26:11 server2.1 [2014-02-21T20:26:10-08:00] INFO: Processing package[gcc] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:26:14 server2.1 [2014-02-21T20:26:13-08:00] INFO: package[gcc] installing gcc-4.4.7-4.el6 from base repository
|
||||
Feb 21 20:28:09 server2.1 [2014-02-21T20:28:09-08:00] INFO: Processing package[gcc-c++] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:28:11 server2.1 [2014-02-21T20:28:11-08:00] INFO: package[gcc-c++] installing gcc-c++-4.4.7-4.el6 from base repository
|
||||
Feb 21 20:28:35 server2.1 [2014-02-21T20:28:35-08:00] INFO: Processing package[kernel-devel] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:28:38 server2.1 [2014-02-21T20:28:38-08:00] INFO: package[kernel-devel] installing kernel-devel-2.6.32-431.5.1.el6 from updates repository
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[make] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[m4] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[mysql] action install (mysql::client line 46)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: package[mysql] installing mysql-5.1.73-3.el6_5 from updates repository
|
||||
Feb 21 20:30:18 server2.1 [2014-02-21T20:30:18-08:00] INFO: Processing package[mysql-devel] action install (mysql::client line 46)
|
||||
Feb 21 20:30:19 server2.1 [2014-02-21T20:30:19-08:00] INFO: package[mysql-devel] installing mysql-devel-5.1.73-3.el6_5 from updates repository
|
||||
Feb 21 20:31:06 server2.1 [2014-02-21T20:31:05-08:00] INFO: Processing chef_gem[mysql] action install (mysql::ruby line 31)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:115:in `block in from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:115:in `block in from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Could not find previously defined grants.sql resource
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for service[mysql] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous service[mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:161:in `from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current service[mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:225:in `from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[horizon] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[horizon]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[horizon]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[ceilometer] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[ceilometer]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[ceilometer]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Processing yum_key[RPM-GPG-KEY-EPEL-6] action add (yum::epel line 22)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Adding RPM-GPG-KEY-EPEL-6 GPG key to /etc/pki/rpm-gpg/
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Processing package[gnupg2] action install (/var/chef/cache/cookbooks/yum/providers/key.rb line 32)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[import-rpm-gpg-key-RPM-GPG-KEY-EPEL-6] action nothing (/var/chef/cache/cookbooks/yum/providers/key.rb line 35)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] action create (/var/chef/cache/cookbooks/yum/providers/key.rb line 66)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] created file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] updated file contents /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] mode changed to 644
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing yum_repository[epel] action add (yum::epel line 27)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Adding epel repository to /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Cloning resource attributes for yum_key[RPM-GPG-KEY-EPEL-6] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Previous yum_key[RPM-GPG-KEY-EPEL-6]: /var/chef/cache/cookbooks/yum/recipes/epel.rb:22:in `from_file'
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Current yum_key[RPM-GPG-KEY-EPEL-6]: /var/chef/cache/cookbooks/yum/providers/repository.rb:85:in `repo_config'
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing yum_key[RPM-GPG-KEY-EPEL-6] action add (/var/chef/cache/cookbooks/yum/providers/repository.rb line 85)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[yum-makecache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing template[/etc/yum.repos.d/epel.repo] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 100)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] created file /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] updated file contents /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] mode changed to 644
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] sending run action to execute[yum-makecache] (immediate)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[yum-makecache] action run (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: execute[yum-makecache] ran successfully
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/epel.repo] sending create action to ruby_block[reload-internal-yum-cache] (immediate)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: ruby_block[reload-internal-yum-cache] called
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing yum_repository[openstack] action create (openstack-common::default line 103)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Adding and updating openstack repository in /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Cloning resource attributes for execute[yum-makecache] from prior resource (CHEF-3694)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Previous execute[yum-makecache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:88:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Current execute[yum-makecache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:88:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Cloning resource attributes for ruby_block[reload-internal-yum-cache] from prior resource (CHEF-3694)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Previous ruby_block[reload-internal-yum-cache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:93:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Current ruby_block[reload-internal-yum-cache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:93:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing execute[yum-makecache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing template[/etc/yum.repos.d/openstack.repo] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 100)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] created file /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] updated file contents /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] mode changed to 644
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] sending run action to execute[yum-makecache] (immediate)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing execute[yum-makecache] action run (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: execute[yum-makecache] ran successfully
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] sending create action to ruby_block[reload-internal-yum-cache] (immediate)
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,286 +0,0 @@
|
||||
05:51:20,534 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server1.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-21-89-af
|
||||
|
||||
05:51:20,534 INFO : text mode forced from cmdline
|
||||
05:51:20,534 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:51:20,534 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:51:20,656 DEBUG : Saving module ipv6
|
||||
05:51:20,656 DEBUG : Saving module iscsi_ibft
|
||||
05:51:20,656 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:51:20,656 DEBUG : Saving module pcspkr
|
||||
05:51:20,656 DEBUG : Saving module edd
|
||||
05:51:20,656 DEBUG : Saving module floppy
|
||||
05:51:20,656 DEBUG : Saving module iscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi_tcp
|
||||
05:51:20,656 DEBUG : Saving module libiscsi
|
||||
05:51:20,656 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:51:20,656 DEBUG : Saving module squashfs
|
||||
05:51:20,656 DEBUG : Saving module cramfs
|
||||
05:51:20,656 DEBUG : probing buses
|
||||
05:51:20,693 DEBUG : waiting for hardware to initialize
|
||||
05:51:27,902 DEBUG : probing buses
|
||||
05:51:27,925 DEBUG : waiting for hardware to initialize
|
||||
05:51:47,187 INFO : getting kickstart file
|
||||
05:51:47,196 INFO : eth0 has link, using it
|
||||
05:51:47,208 INFO : doing kickstart... setting it up
|
||||
05:51:47,208 DEBUG : activating device eth0
|
||||
05:51:52,221 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:51:52,222 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,223 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server1.1
|
||||
05:51:52,611 INFO : setting up kickstart
|
||||
05:51:52,611 INFO : kickstart forcing text mode
|
||||
05:51:52,611 INFO : kickstartFromUrl
|
||||
05:51:52,612 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:51:52,612 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:51:52,616 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:51:52,616 ERROR : Drive tray reports open when it should be closed
|
||||
05:52:07,635 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,636 DEBUG : going to set language to en_US.UTF-8
|
||||
05:52:07,636 INFO : setting language to en_US.UTF-8
|
||||
05:52:07,654 INFO : starting STEP_METHOD
|
||||
05:52:07,654 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:52:07,654 DEBUG : skipMethodDialog is set
|
||||
05:52:07,663 INFO : starting STEP_STAGE2
|
||||
05:52:07,663 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:07,663 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:52:07,780 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:52:07,780 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:52:07,780 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:52:07,814 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:52:07,815 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,354 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:52:47,354 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:52:47,403 INFO : Loading SELinux policy
|
||||
05:52:48,130 INFO : getting ready to spawn shell now
|
||||
05:52:48,359 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:52:54,804 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:52:54,867 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:52:54,868 INFO : Running kickstart %%pre script(s)
|
||||
05:52:54,868 WARNING : '/bin/sh' specified as full path
|
||||
05:52:56,966 INFO : All kickstart %%pre script(s) have been run
|
||||
05:52:57,017 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:52:57,017 INFO : no initiator set
|
||||
05:52:57,128 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:52:57,137 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:52:57,138 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:53:00,902 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
05:53:00,903 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:53:00,903 INFO : Display mode = t
|
||||
05:53:00,903 INFO : Default encoding = utf-8
|
||||
05:53:01,064 INFO : Detected 2016M of memory
|
||||
05:53:01,064 INFO : Swap attempt of 4032M
|
||||
05:53:01,398 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:53:01,399 INFO : no initiator set
|
||||
05:53:05,059 INFO : setting installation environment hostname to server1
|
||||
05:53:05,104 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:53:05,276 INFO : Detected 2016M of memory
|
||||
05:53:05,277 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:53:05,277 INFO : Swap attempt of 3276M
|
||||
05:53:05,453 WARNING : step installtype does not exist
|
||||
05:53:05,454 WARNING : step confirminstall does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,454 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,455 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,456 WARNING : step complete does not exist
|
||||
05:53:05,457 WARNING : step complete does not exist
|
||||
05:53:05,457 INFO : moving (1) to step setuptime
|
||||
05:53:05,458 DEBUG : setuptime is a direct step
|
||||
22:53:05,458 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:53:06,002 INFO : leaving (1) step setuptime
|
||||
22:53:06,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:53:06,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step autopartitionexecute
|
||||
22:53:06,138 INFO : moving (1) to step storagedone
|
||||
22:53:06,138 DEBUG : storagedone is a direct step
|
||||
22:53:06,138 INFO : leaving (1) step storagedone
|
||||
22:53:06,139 INFO : moving (1) to step enablefilesystems
|
||||
22:53:06,139 DEBUG : enablefilesystems is a direct step
|
||||
22:53:10,959 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:53:41,215 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:53:57,388 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:54:14,838 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:54:21,717 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:54:27,576 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:54:40,058 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:54:41,949 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:54:41,950 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:54:42,826 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:54:43,148 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:54:43,158 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:54:43,164 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:54:43,207 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:54:43,434 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,435 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:54:43,439 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:54:43,496 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:54:43,609 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:54:43,874 DEBUG : isys.py:mount()- going to mount /dev/mapper/server1-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:54:44,056 INFO : leaving (1) step enablefilesystems
|
||||
22:54:44,057 INFO : moving (1) to step bootloadersetup
|
||||
22:54:44,057 DEBUG : bootloadersetup is a direct step
|
||||
22:54:44,061 INFO : leaving (1) step bootloadersetup
|
||||
22:54:44,061 INFO : moving (1) to step reposetup
|
||||
22:54:44,061 DEBUG : reposetup is a direct step
|
||||
22:54:56,952 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:54:56,953 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:54:57,133 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:54:57,454 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:54:58,637 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:54:58,971 INFO : leaving (1) step reposetup
|
||||
22:54:58,971 INFO : moving (1) to step basepkgsel
|
||||
22:54:58,972 DEBUG : basepkgsel is a direct step
|
||||
22:54:58,986 WARNING : not adding Base group
|
||||
22:54:59,388 INFO : leaving (1) step basepkgsel
|
||||
22:54:59,388 INFO : moving (1) to step postselection
|
||||
22:54:59,388 DEBUG : postselection is a direct step
|
||||
22:54:59,390 INFO : selected kernel package for kernel
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:54:59,848 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:54:59,849 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:54:59,850 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:54:59,851 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:54:59,852 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:54:59,853 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:54:59,854 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:54:59,855 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:55:07,745 INFO : leaving (1) step postselection
|
||||
22:55:07,745 INFO : moving (1) to step install
|
||||
22:55:07,748 INFO : leaving (1) step install
|
||||
22:55:07,748 INFO : moving (1) to step preinstallconfig
|
||||
22:55:07,748 DEBUG : preinstallconfig is a direct step
|
||||
22:55:08,087 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:55:08,091 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,102 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:55:08,118 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:55:08,122 INFO : leaving (1) step preinstallconfig
|
||||
22:55:08,122 INFO : moving (1) to step installpackages
|
||||
22:55:08,122 DEBUG : installpackages is a direct step
|
||||
22:55:08,122 INFO : Preparing to install packages
|
||||
23:17:06,152 INFO : leaving (1) step installpackages
|
||||
23:17:06,153 INFO : moving (1) to step postinstallconfig
|
||||
23:17:06,153 DEBUG : postinstallconfig is a direct step
|
||||
23:17:06,162 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:17:06,181 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:17:06,183 INFO : leaving (1) step postinstallconfig
|
||||
23:17:06,184 INFO : moving (1) to step writeconfig
|
||||
23:17:06,184 DEBUG : writeconfig is a direct step
|
||||
23:17:06,184 INFO : Writing main configuration
|
||||
23:17:06,219 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:17:11,643 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,703 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:17:11,885 INFO : removing libuser.conf at /tmp/libuser.WMDW9M
|
||||
23:17:11,885 INFO : created new libuser.conf at /tmp/libuser.WMDW9M with instPath="/mnt/sysimage"
|
||||
23:17:12,722 INFO : leaving (1) step writeconfig
|
||||
23:17:12,722 INFO : moving (1) to step firstboot
|
||||
23:17:12,723 DEBUG : firstboot is a direct step
|
||||
23:17:12,723 INFO : leaving (1) step firstboot
|
||||
23:17:12,723 INFO : moving (1) to step instbootloader
|
||||
23:17:12,724 DEBUG : instbootloader is a direct step
|
||||
23:17:14,664 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:17:15,006 WARNING : '/sbin/grub' specified as full path
|
||||
23:17:16,039 INFO : leaving (1) step instbootloader
|
||||
23:17:16,040 INFO : moving (1) to step reipl
|
||||
23:17:16,040 DEBUG : reipl is a direct step
|
||||
23:17:16,040 INFO : leaving (1) step reipl
|
||||
23:17:16,040 INFO : moving (1) to step writeksconfig
|
||||
23:17:16,040 DEBUG : writeksconfig is a direct step
|
||||
23:17:16,041 INFO : Writing autokickstart file
|
||||
23:17:16,070 INFO : leaving (1) step writeksconfig
|
||||
23:17:16,071 INFO : moving (1) to step setfilecon
|
||||
23:17:16,071 DEBUG : setfilecon is a direct step
|
||||
23:17:16,071 INFO : setting SELinux contexts for anaconda created files
|
||||
23:17:17,822 INFO : leaving (1) step setfilecon
|
||||
23:17:17,822 INFO : moving (1) to step copylogs
|
||||
23:17:17,822 DEBUG : copylogs is a direct step
|
||||
23:17:17,822 INFO : Copying anaconda logs
|
||||
23:17:17,825 INFO : leaving (1) step copylogs
|
||||
23:17:17,825 INFO : moving (1) to step methodcomplete
|
||||
23:17:17,825 DEBUG : methodcomplete is a direct step
|
||||
23:17:17,825 INFO : leaving (1) step methodcomplete
|
||||
23:17:17,826 INFO : moving (1) to step postscripts
|
||||
23:17:17,826 DEBUG : postscripts is a direct step
|
||||
23:17:17,826 INFO : Running kickstart %%post script(s)
|
||||
23:17:17,858 WARNING : '/bin/sh' specified as full path
|
||||
23:17:21,002 INFO : All kickstart %%post script(s) have been run
|
||||
23:17:21,002 INFO : leaving (1) step postscripts
|
||||
23:17:21,002 INFO : moving (1) to step dopostaction
|
||||
23:17:21,002 DEBUG : dopostaction is a direct step
|
||||
23:17:21,003 INFO : leaving (1) step dopostaction
|
@ -1,422 +0,0 @@
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone] action create (openstack-identity::server line 73)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: directory[/etc/keystone] mode changed to 700
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing directory[/etc/keystone/ssl] action create (openstack-identity::server line 79)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing file[/var/lib/keystone/keystone.db] action delete (openstack-identity::server line 87)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[keystone-manage pki_setup] action run (openstack-identity::server line 91)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing template[/etc/keystone/keystone.conf] action create (openstack-identity::server line 140)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] backed up to /var/chef/backup/etc/keystone/keystone.conf.chef-20140221203911.069202
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] updated file contents /etc/keystone/keystone.conf
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] owner changed to 163
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] mode changed to 644
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: template[/etc/keystone/keystone.conf] sending restart action to service[keystone] (immediate)
|
||||
Feb 21 20:39:11 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing service[keystone] action restart (openstack-identity::server line 64)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] restarted
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: service[keystone] sending run action to execute[Keystone: sleep] (immediate)
|
||||
Feb 21 20:39:12 server1.1 [2014-02-21T20:39:11-08:00] INFO: Processing execute[Keystone: sleep] action run (openstack-identity::server line 58)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: execute[Keystone: sleep] ran successfully
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing template[/etc/keystone/default_catalog.templates] action create (openstack-identity::server line 158)
|
||||
Feb 21 20:39:22 server1.1 [2014-02-21T20:39:21-08:00] INFO: Processing execute[keystone-manage db_sync] action run (openstack-identity::server line 172)
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: execute[keystone-manage db_sync] ran successfully
|
||||
Feb 21 20:39:43 server1.1 [2014-02-21T20:39:42-08:00] INFO: Processing bash[bootstrap-keystone-admin] action run (openstack-identity::registration line 40)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: bash[bootstrap-keystone-admin] ran successfully
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'admin' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Tenant UUID: 87cf46951cc14159bd16b68e3eb96321
|
||||
Feb 21 20:39:45 server1.1 [2014-02-21T20:39:44-08:00] INFO: Processing openstack-identity_register[Register 'service' Tenant] action create_tenant (openstack-identity::registration line 80)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Created tenant 'service'
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'admin' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role 'admin' already exists.. Not creating.
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Role UUID: 8070c199fc2647c9a50176d11256bebc
|
||||
Feb 21 20:39:46 server1.1 [2014-02-21T20:39:45-08:00] INFO: Processing openstack-identity_register[Register 'Member' Role] action create_role (openstack-identity::registration line 92)
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Created Role 'Member'
|
||||
Feb 21 20:39:47 server1.1 [2014-02-21T20:39:46-08:00] INFO: Processing openstack-identity_register[Register 'compute' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Created user 'service' for tenant 'service'
|
||||
Feb 21 20:39:48 server1.1 [2014-02-21T20:39:47-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Granted Role 'admin' to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:49 server1.1 [2014-02-21T20:39:48-08:00] INFO: Processing openstack-identity_register[Register compute Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Created service 'nova'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:49-08:00] INFO: Processing openstack-identity_register[Register compute Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Created endpoint for service type 'compute'
|
||||
Feb 21 20:39:50 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Register 'network' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:51 server1.1 [2014-02-21T20:39:50-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:52 server1.1 [2014-02-21T20:39:51-08:00] INFO: Processing openstack-identity_register[Register network Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Created service 'quantum'
|
||||
Feb 21 20:39:53 server1.1 [2014-02-21T20:39:52-08:00] INFO: Processing openstack-identity_register[Register network Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Created endpoint for service type 'network'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Register 'volume' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:54 server1.1 [2014-02-21T20:39:53-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:39:55 server1.1 [2014-02-21T20:39:54-08:00] INFO: Processing openstack-identity_register[Register volume Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Created service 'cinder'
|
||||
Feb 21 20:39:56 server1.1 [2014-02-21T20:39:55-08:00] INFO: Processing openstack-identity_register[Register volume Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created endpoint for service type 'volume'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Created service 'keystone'
|
||||
Feb 21 20:39:57 server1.1 [2014-02-21T20:39:56-08:00] INFO: Processing openstack-identity_register[Register identity Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Created endpoint for service type 'identity'
|
||||
Feb 21 20:39:58 server1.1 [2014-02-21T20:39:57-08:00] INFO: Processing openstack-identity_register[Register 'image' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:39:59 server1.1 [2014-02-21T20:39:58-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:39:59-08:00] INFO: Processing openstack-identity_register[Register image Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created service 'glance'
|
||||
Feb 21 20:40:00 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register image Endpoint] action create_endpoint (openstack-identity::registration line 151)
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Created endpoint for service type 'image'
|
||||
Feb 21 20:40:01 server1.1 [2014-02-21T20:40:00-08:00] INFO: Processing openstack-identity_register[Register 'object-store' User] action create_user (openstack-identity::registration line 109)
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: User 'service' already exists for tenant 'service'
|
||||
Feb 21 20:40:02 server1.1 [2014-02-21T20:40:01-08:00] INFO: Processing openstack-identity_register[Grant admin Role to service User in service Tenant] action grant_role (openstack-identity::registration line 119)
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Role 'admin' already granted to User 'service' in Tenant 'service'
|
||||
Feb 21 20:40:03 server1.1 [2014-02-21T20:40:02-08:00] INFO: Processing openstack-identity_register[Register object-store Service] action create_service (openstack-identity::registration line 131)
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Created service 'swift'
|
||||
Feb 21 20:40:04 server1.1 [2014-02-21T20:40:03-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'admin' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Created EC2 Credentials for User 'admin' in Tenant 'admin'
|
||||
Feb 21 20:40:05 server1.1 [2014-02-21T20:40:04-08:00] INFO: Processing openstack-identity_register[Create EC2 credentials for 'monitoring' user] action create_ec2_credentials (openstack-identity::registration line 166)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Unable to create EC2 Credentials for User 'monitoring' in Tenant 'service'
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] ERROR: Error was: Could not lookup uuid for ec2-credentials:tenant=>service. Error was 'Client' object has no attribute 'auth_user_id'
|
||||
Feb 21 20:40:07 server1.1 (1)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: Processing package[openstack-cinder] action upgrade (openstack-block-storage::cinder-common line 26)
|
||||
Feb 21 20:40:07 server1.1 [2014-02-21T20:40:06-08:00] INFO: package[openstack-cinder] installing openstack-cinder-2013.1.4-1.el6 from openstack repository
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: package[openstack-cinder] upgraded from uninstalled to 2013.1.4-1.el6
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/etc/cinder] action create (openstack-block-storage::cinder-common line 44)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/etc/cinder] mode changed to 750
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing template[/etc/cinder/cinder.conf] action create (openstack-block-storage::cinder-common line 51)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] backed up to /var/chef/backup/etc/cinder/cinder.conf.chef-20140221204110.415861
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] updated file contents /etc/cinder/cinder.conf
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: template[/etc/cinder/cinder.conf] mode changed to 644
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[python-cinderclient] action upgrade (openstack-block-storage::api line 32)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::api line 41)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/cache/cinder] action create (openstack-block-storage::api line 46)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] created directory /var/cache/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/cache/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing directory[/var/lock/cinder] action create (openstack-block-storage::api line 52)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] created directory /var/lock/cinder
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] owner changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] group changed to 165
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: directory[/var/lock/cinder] mode changed to 700
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing service[cinder-api] action enable (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: service[cinder-api] enabled
|
||||
Feb 21 20:41:11 server1.1 [2014-02-21T20:41:10-08:00] INFO: Processing execute[cinder-manage db sync] action run (openstack-block-storage::api line 71)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: execute[cinder-manage db sync] ran successfully
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/api-paste.ini] action create (openstack-block-storage::api line 73)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] backed up to /var/chef/backup/etc/cinder/api-paste.ini.chef-20140221204130.194587
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] updated file contents /etc/cinder/api-paste.ini
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] owner changed to 165
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/api-paste.ini] sending restart action to service[cinder-api] (immediate)
|
||||
Feb 21 20:41:30 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-api] action restart (openstack-block-storage::api line 58)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-api] restarted
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing template[/etc/cinder/policy.json] action create (openstack-block-storage::api line 88)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] backed up to /var/chef/backup/etc/cinder/policy.json.chef-20140221204130.442890
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] updated file contents /etc/cinder/policy.json
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] owner changed to 165
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] mode changed to 644
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: template[/etc/cinder/policy.json] not queuing delayed action restart on service[cinder-api] (delayed), as it's already been queued
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[MySQL-python] action upgrade (openstack-block-storage::scheduler line 45)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action enable (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] enabled
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing service[cinder-scheduler] action start (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: service[cinder-scheduler] started
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: Processing package[openstack-nova-common] action upgrade (openstack-compute::nova-common line 37)
|
||||
Feb 21 20:41:31 server1.1 [2014-02-21T20:41:30-08:00] INFO: package[openstack-nova-common] installing openstack-nova-common-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: package[openstack-nova-common] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:41:52 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[python-memcached] action install (openstack-compute::nova-common line 46)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova] action create (openstack-compute::nova-common line 51)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] group changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/etc/nova/rootwrap.d] action create (openstack-compute::nova-common line 59)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] created directory /etc/nova/rootwrap.d
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/etc/nova/rootwrap.d] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/nova.conf] action create (openstack-compute::nova-common line 134)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] backed up to /var/chef/backup/etc/nova/nova.conf.chef-20140221204152.340272
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] updated file contents /etc/nova/nova.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/nova.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.conf] action create (openstack-compute::nova-common line 164)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] backed up to /var/chef/backup/etc/nova/rootwrap.conf.chef-20140221204152.347747
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] updated file contents /etc/nova/rootwrap.conf
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.conf] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/api-metadata.filters] action create (openstack-compute::nova-common line 172)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] created file /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] updated file contents /etc/nova/rootwrap.d/api-metadata.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/api-metadata.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/compute.filters] action create (openstack-compute::nova-common line 180)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] created file /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] updated file contents /etc/nova/rootwrap.d/compute.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/compute.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/etc/nova/rootwrap.d/network.filters] action create (openstack-compute::nova-common line 188)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] created file /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] updated file contents /etc/nova/rootwrap.d/network.filters
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/etc/nova/rootwrap.d/network.filters] mode changed to 644
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing template[/root/openrc] action create (openstack-compute::nova-common line 199)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] created file /root/openrc
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] updated file contents /root/openrc
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] owner changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] group changed to 0
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: template[/root/openrc] mode changed to 600
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing execute[enable nova login] action run (openstack-compute::nova-common line 215)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: execute[enable nova login] ran successfully
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::api-ec2 line 28)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] created directory /var/lock/nova
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] owner changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] group changed to 162
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: directory[/var/lock/nova] mode changed to 700
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[python-keystone] action upgrade (openstack-compute::api-ec2 line 36)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: Processing package[openstack-nova-api] action upgrade (openstack-compute::api-ec2 line 41)
|
||||
Feb 21 20:41:53 server1.1 [2014-02-21T20:41:52-08:00] INFO: package[openstack-nova-api] installing openstack-nova-api-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: package[openstack-nova-api] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-ec2] action enable (openstack-compute::api-ec2 line 48)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: service[nova-api-ec2] enabled
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing template[/etc/nova/api-paste.ini] action create (openstack-compute::api-ec2 line 74)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] backed up to /var/chef/backup/etc/nova/api-paste.ini.chef-20140221204156.594842
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] updated file contents /etc/nova/api-paste.ini
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] owner changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] not queuing delayed action restart on service[nova-api-ec2] (delayed), as it's already been queued
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: template[/etc/nova/api-paste.ini] not queuing delayed action restart on service[nova-api-os-compute] (delayed), as it's already been queued
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::api-os-compute line 28)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing directory[/var/cache/nova] action create (openstack-compute::api-os-compute line 34)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] created directory /var/cache/nova
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] owner changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] group changed to 162
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: directory[/var/cache/nova] mode changed to 700
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing package[python-keystone] action upgrade (openstack-compute::api-os-compute line 40)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing package[openstack-nova-api] action upgrade (openstack-compute::api-os-compute line 45)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-os-compute] action enable (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:56-08:00] INFO: Processing service[nova-api-os-compute] action start (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: service[nova-api-os-compute] started
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: Processing template[/etc/nova/api-paste.ini] action create (openstack-compute::api-os-compute line 78)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: Processing package[openstack-nova-cert] action upgrade (openstack-compute::nova-cert line 25)
|
||||
Feb 21 20:41:57 server1.1 [2014-02-21T20:41:57-08:00] INFO: package[openstack-nova-cert] installing openstack-nova-cert-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: package[openstack-nova-cert] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing service[nova-cert] action enable (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: service[nova-cert] enabled
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing service[nova-cert] action restart (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: service[nova-cert] restarted
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing directory[/var/lock/nova] action create (openstack-compute::scheduler line 25)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: Processing package[openstack-nova-scheduler] action upgrade (openstack-compute::scheduler line 34)
|
||||
Feb 21 20:42:05 server1.1 [2014-02-21T20:42:04-08:00] INFO: package[openstack-nova-scheduler] installing openstack-nova-scheduler-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:11 server1.1 [2014-02-21T20:42:11-08:00] INFO: package[openstack-nova-scheduler] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:11 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing service[nova-scheduler] action enable (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: service[nova-scheduler] enabled
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing service[nova-scheduler] action restart (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: service[nova-scheduler] restarted
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: Processing package[openstack-nova-novncproxy] action upgrade (openstack-compute::vncproxy line 26)
|
||||
Feb 21 20:42:12 server1.1 [2014-02-21T20:42:11-08:00] INFO: package[openstack-nova-novncproxy] installing openstack-nova-novncproxy-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:20-08:00] INFO: package[openstack-nova-novncproxy] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:20-08:00] INFO: Processing package[openstack-nova-console] action upgrade (openstack-compute::vncproxy line 35)
|
||||
Feb 21 20:42:21 server1.1 [2014-02-21T20:42:21-08:00] INFO: package[openstack-nova-console] installing openstack-nova-console-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:24-08:00] INFO: package[openstack-nova-console] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:24-08:00] INFO: Processing package[openstack-nova-console] action upgrade (openstack-compute::vncproxy line 42)
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[openstack-nova-novncproxy] action enable (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[openstack-nova-novncproxy] enabled
|
||||
Feb 21 20:42:25 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[openstack-nova-novncproxy] action start (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[openstack-nova-novncproxy] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-console] action enable (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-console] enabled
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-console] action start (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-console] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-consoleauth] action enable (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: service[nova-consoleauth] enabled
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:25-08:00] INFO: Processing service[nova-consoleauth] action start (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: service[nova-consoleauth] started
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: Processing package[openstack-nova-conductor] action upgrade (openstack-compute::conductor line 26)
|
||||
Feb 21 20:42:26 server1.1 [2014-02-21T20:42:26-08:00] INFO: package[openstack-nova-conductor] installing openstack-nova-conductor-2013.1.4-7.el6 from openstack repository
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: package[openstack-nova-conductor] upgraded from uninstalled to 2013.1.4-7.el6
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing service[nova-conductor] action enable (openstack-compute::conductor line 32)
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: service[nova-conductor] enabled
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing service[nova-conductor] action restart (openstack-compute::conductor line 32)
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: service[nova-conductor] restarted
|
||||
Feb 21 20:42:33 server1.1 [2014-02-21T20:42:32-08:00] INFO: Processing execute[nova-manage db sync] action run (openstack-compute::nova-setup line 26)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: execute[nova-manage db sync] ran successfully
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing package[python-quantumclient] action upgrade (openstack-compute::nova-setup line 109)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing package[pyparsing] action upgrade (openstack-compute::nova-setup line 109)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: Processing cookbook_file[/usr/local/bin/add_floaters.py] action create (openstack-compute::nova-setup line 115)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:45:59-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] created file /usr/local/bin/add_floaters.py
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] updated file contents /usr/local/bin/add_floaters.py
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: cookbook_file[/usr/local/bin/add_floaters.py] mode changed to 755
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: Processing package[openstack-nova-network] action purge (openstack-network::common line 38)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: Processing package[openstack-quantum] action install (openstack-network::common line 44)
|
||||
Feb 21 20:46:00 server1.1 [2014-02-21T20:46:00-08:00] INFO: package[openstack-quantum] installing openstack-quantum-2013.1.4-4.el6 from openstack repository
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/etc/quantum/plugins] action create (openstack-network::common line 49)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/etc/quantum/plugins] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/var/cache/quantum] action create (openstack-network::common line 57)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] created directory /var/cache/quantum
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: directory[/var/cache/quantum] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing directory[/var/cache/quantum] action create (openstack-network::common line 64)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing remote_directory[/etc/quantum/rootwrap.d] action create (openstack-network::common line 74)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: remote_directory[/etc/quantum/rootwrap.d] created directory /etc/quantum/rootwrap.d
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] created file /etc/quantum/rootwrap.d/ryu-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] updated file contents /etc/quantum/rootwrap.d/ryu-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/ryu-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] created file /etc/quantum/rootwrap.d/openvswitch-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] updated file contents /etc/quantum/rootwrap.d/openvswitch-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/openvswitch-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] created file /etc/quantum/rootwrap.d/nec-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] updated file contents /etc/quantum/rootwrap.d/nec-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/nec-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] created file /etc/quantum/rootwrap.d/linuxbridge-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] updated file contents /etc/quantum/rootwrap.d/linuxbridge-plugin.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/linuxbridge-plugin.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] created file /etc/quantum/rootwrap.d/lbaas-haproxy.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] updated file contents /etc/quantum/rootwrap.d/lbaas-haproxy.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/lbaas-haproxy.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/l3.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] created file /etc/quantum/rootwrap.d/l3.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] updated file contents /etc/quantum/rootwrap.d/l3.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/l3.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] created file /etc/quantum/rootwrap.d/iptables-firewall.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] updated file contents /etc/quantum/rootwrap.d/iptables-firewall.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/iptables-firewall.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] created file /etc/quantum/rootwrap.d/dhcp.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] updated file contents /etc/quantum/rootwrap.d/dhcp.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/dhcp.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing cookbook_file[/etc/quantum/rootwrap.d/debug.filters] action create (dynamically defined)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] created file /etc/quantum/rootwrap.d/debug.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] updated file contents /etc/quantum/rootwrap.d/debug.filters
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: cookbook_file[/etc/quantum/rootwrap.d/debug.filters] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/rootwrap.conf] action create (openstack-network::common line 81)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] backed up to /var/chef/backup/etc/quantum/rootwrap.conf.chef-20140221204614.967634
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] updated file contents /etc/quantum/rootwrap.conf
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/rootwrap.conf] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/policy.json] action create (openstack-network::common line 88)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] backed up to /var/chef/backup/etc/quantum/policy.json.chef-20140221204614.975067
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] updated file contents /etc/quantum/policy.json
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/policy.json] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing execute[delete_auto_qpid] action nothing (openstack-network::common line 103)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing service[quantum-server] action nothing (openstack-network::common line 157)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/quantum.conf] action create (openstack-network::common line 165)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] backed up to /var/chef/backup/etc/quantum/quantum.conf.chef-20140221204614.991537
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] updated file contents /etc/quantum/quantum.conf
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/quantum.conf] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: Processing template[/etc/quantum/api-paste.ini] action create (openstack-network::common line 186)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/api-paste.ini] backed up to /var/chef/backup/etc/quantum/api-paste.ini.chef-20140221204614.998443
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:14-08:00] INFO: template[/etc/quantum/api-paste.ini] updated file contents /etc/quantum/api-paste.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/api-paste.ini] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing directory[/etc/quantum/plugins/openvswitch] action create (openstack-network::common line 201)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] created directory /etc/quantum/plugins/openvswitch
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: directory[/etc/quantum/plugins/openvswitch] mode changed to 700
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing service[quantum-plugin-openvswitch-agent] action nothing (openstack-network::common line 341)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] action create (openstack-network::common line 346)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] created file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] updated file contents /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] owner changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] group changed to 164
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] mode changed to 644
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: template[/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini] not queuing delayed action restart on service[quantum-server] (delayed), as it's already been queued
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing template[/etc/default/quantum-server] action create (openstack-network::common line 395)
|
||||
Feb 21 20:46:15 server1.1 [2014-02-21T20:46:15-08:00] INFO: Processing package[openstack-quantum-openvswitch] action install (openstack-network::server line 42)
|
||||
Feb 21 20:46:16 server1.1 [2014-02-21T20:46:15-08:00] INFO: package[openstack-quantum-openvswitch] installing openstack-quantum-openvswitch-2013.1.4-4.el6 from openstack repository
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing directory[/var/cache/quantum/api] action create (openstack-network::server line 49)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] created directory /var/cache/quantum/api
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] owner changed to 164
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: directory[/var/cache/quantum/api] group changed to 164
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing template[/etc/init.d/quantum-server] action create (openstack-network::server line 55)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/init.d/quantum-server] backed up to /var/chef/backup/etc/init.d/quantum-server.chef-20140221204621.125222
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/init.d/quantum-server] updated file contents /etc/init.d/quantum-server
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[quantum-server] action enable (openstack-network::server line 63)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: service[quantum-server] enabled
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[quantum-server] action restart (openstack-network::server line 63)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: service[quantum-server] restarted
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing cookbook_file[quantum-ha-tool] action create (openstack-network::server line 69)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] created file /usr/local/bin/quantum-ha-tool.py
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] updated file contents /usr/local/bin/quantum-ha-tool.py
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] owner changed to 0
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] group changed to 0
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: cookbook_file[quantum-ha-tool] mode changed to 755
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing template[/etc/sysconfig/quantum] action create (openstack-network::server line 98)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: template[/etc/httpd/mods-available/deflate.conf] sending restart action to service[apache2] (delayed)
|
||||
Feb 21 20:46:21 server1.1 [2014-02-21T20:46:21-08:00] INFO: Processing service[apache2] action restart (apache2::default line 221)
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: service[apache2] restarted
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: [template[/etc/cinder/cinder.conf]] sending restart action to service[cinder-api] (delayed)
|
||||
Feb 21 20:46:23 server1.1 [2014-02-21T20:46:22-08:00] INFO: Processing service[cinder-api] action restart (openstack-block-storage::api line 58)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: service[cinder-api] restarted
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: [template[/etc/cinder/cinder.conf]] sending restart action to service[cinder-scheduler] (delayed)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: Processing service[cinder-scheduler] action restart (openstack-block-storage::scheduler line 50)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: service[cinder-scheduler] restarted
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-api-ec2] (delayed)
|
||||
Feb 21 20:46:24 server1.1 [2014-02-21T20:46:24-08:00] INFO: Processing service[nova-api-ec2] action restart (openstack-compute::api-ec2 line 48)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: service[nova-api-ec2] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-api-os-compute] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: Processing service[nova-api-os-compute] action restart (openstack-compute::api-os-compute line 52)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: service[nova-api-os-compute] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-cert] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:25-08:00] INFO: Processing service[nova-cert] action restart (openstack-compute::nova-cert line 32)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[nova-cert] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-scheduler] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[nova-scheduler] action restart (openstack-compute::scheduler line 41)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[nova-scheduler] restarted
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[openstack-nova-novncproxy] (delayed)
|
||||
Feb 21 20:46:26 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[openstack-nova-novncproxy] action restart (openstack-compute::vncproxy line 49)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: service[openstack-nova-novncproxy] restarted
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-console] (delayed)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:26-08:00] INFO: Processing service[nova-console] action restart (openstack-compute::vncproxy line 57)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: service[nova-console] restarted
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-consoleauth] (delayed)
|
||||
Feb 21 20:46:27 server1.1 [2014-02-21T20:46:27-08:00] INFO: Processing service[nova-consoleauth] action restart (openstack-compute::vncproxy line 64)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: service[nova-consoleauth] restarted
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: template[/etc/nova/nova.conf] sending restart action to service[nova-conductor] (delayed)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:27-08:00] INFO: Processing service[nova-conductor] action restart (openstack-compute::conductor line 32)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: service[nova-conductor] restarted
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: template[/etc/quantum/policy.json] sending restart action to service[quantum-server] (delayed)
|
||||
Feb 21 20:46:28 server1.1 [2014-02-21T20:46:28-08:00] INFO: Processing service[quantum-server] action restart (openstack-network::server line 63)
|
||||
Feb 21 20:46:29 server1.1 [2014-02-21T20:46:29-08:00] INFO: service[quantum-server] restarted
|
||||
Feb 21 20:46:29 server1.1 [2014-02-21T20:46:29-08:00] INFO: Chef Run complete in 1449.433415826 seconds
|
||||
Feb 21 20:46:30 server1.1 [2014-02-21T20:46:30-08:00] INFO: Running report handlers
|
||||
Feb 21 20:46:30 server1.1 [2014-02-21T20:46:30-08:00] INFO: Report handlers complete
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,280 +0,0 @@
|
||||
05:50:22,531 INFO : kernel command line: initrd=/images/CentOS-6.5-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.145.88.211/cblr/svc/op/ks/system/server2.1 BOOT_IMAGE=/images/CentOS-6.5-x86_64/vmlinuz BOOTIF=01-00-0c-29-5c-6a-b8
|
||||
|
||||
05:50:22,531 INFO : text mode forced from cmdline
|
||||
05:50:22,531 DEBUG : readNetInfo /tmp/s390net not found, early return
|
||||
05:50:22,531 INFO : anaconda version 13.21.215 on x86_64 starting
|
||||
05:50:22,649 DEBUG : Saving module ipv6
|
||||
05:50:22,649 DEBUG : Saving module iscsi_ibft
|
||||
05:50:22,649 DEBUG : Saving module iscsi_boot_sysfs
|
||||
05:50:22,649 DEBUG : Saving module pcspkr
|
||||
05:50:22,649 DEBUG : Saving module edd
|
||||
05:50:22,649 DEBUG : Saving module floppy
|
||||
05:50:22,649 DEBUG : Saving module iscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi_tcp
|
||||
05:50:22,649 DEBUG : Saving module libiscsi
|
||||
05:50:22,649 DEBUG : Saving module scsi_transport_iscsi
|
||||
05:50:22,649 DEBUG : Saving module squashfs
|
||||
05:50:22,649 DEBUG : Saving module cramfs
|
||||
05:50:22,649 DEBUG : probing buses
|
||||
05:50:22,673 DEBUG : waiting for hardware to initialize
|
||||
05:50:28,619 DEBUG : probing buses
|
||||
05:50:28,644 DEBUG : waiting for hardware to initialize
|
||||
05:50:32,015 INFO : getting kickstart file
|
||||
05:50:32,022 INFO : eth0 has link, using it
|
||||
05:50:32,033 INFO : doing kickstart... setting it up
|
||||
05:50:32,034 DEBUG : activating device eth0
|
||||
05:50:40,048 INFO : wait_for_iface_activation (2502): device eth0 activated
|
||||
05:50:40,048 INFO : file location: http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,049 INFO : transferring http://10.145.88.211/cblr/svc/op/ks/system/server2.1
|
||||
05:50:40,134 INFO : setting up kickstart
|
||||
05:50:40,134 INFO : kickstart forcing text mode
|
||||
05:50:40,134 INFO : kickstartFromUrl
|
||||
05:50:40,134 INFO : results of url ks, url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64
|
||||
05:50:40,135 INFO : trying to mount CD device /dev/sr0 on /mnt/stage2
|
||||
05:50:40,137 INFO : drive status is CDS_TRAY_OPEN
|
||||
05:50:40,137 ERROR : Drive tray reports open when it should be closed
|
||||
05:50:55,155 INFO : no stage2= given, assuming http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,156 DEBUG : going to set language to en_US.UTF-8
|
||||
05:50:55,156 INFO : setting language to en_US.UTF-8
|
||||
05:50:55,169 INFO : starting STEP_METHOD
|
||||
05:50:55,169 DEBUG : loaderData->method is set, adding skipMethodDialog
|
||||
05:50:55,169 DEBUG : skipMethodDialog is set
|
||||
05:50:55,176 INFO : starting STEP_STAGE2
|
||||
05:50:55,176 INFO : URL_STAGE_MAIN: url is http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:50:55,176 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/updates.img
|
||||
05:50:56,174 ERROR : failed to mount loopback device /dev/loop7 on /tmp/update-disk as /tmp/updates-disk.img: (null)
|
||||
05:50:56,175 ERROR : Error mounting /dev/loop7 on /tmp/update-disk: No such file or directory
|
||||
05:50:56,175 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img
|
||||
05:50:57,459 ERROR : Error downloading http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/product.img: HTTP response code said error
|
||||
05:50:57,459 INFO : transferring http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:46,964 INFO : mounted loopback device /mnt/runtime on /dev/loop0 as /tmp/install.img
|
||||
05:51:46,964 INFO : got stage2 at url http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img
|
||||
05:51:47,009 INFO : Loading SELinux policy
|
||||
05:51:47,753 INFO : getting ready to spawn shell now
|
||||
05:51:47,973 INFO : Running anaconda script /usr/bin/anaconda
|
||||
05:51:52,842 INFO : CentOS Linux is the highest priority installclass, using it
|
||||
05:51:52,887 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:713: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.
|
||||
warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning)
|
||||
|
||||
05:51:52,888 INFO : Running kickstart %%pre script(s)
|
||||
05:51:52,888 WARNING : '/bin/sh' specified as full path
|
||||
05:51:54,265 INFO : All kickstart %%pre script(s) have been run
|
||||
05:51:54,314 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:54,314 INFO : no initiator set
|
||||
05:51:54,416 WARNING : '/usr/libexec/fcoe/fcoe_edd.sh' specified as full path
|
||||
05:51:54,425 INFO : No FCoE EDD info found: No FCoE boot disk information is found in EDD!
|
||||
|
||||
05:51:54,425 INFO : no /etc/zfcp.conf; not configuring zfcp
|
||||
05:51:59,033 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
05:51:59,033 INFO : anaconda called with cmdline = ['/usr/bin/anaconda', '--stage2', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/images/install.img', '--kickstart', '/tmp/ks.cfg', '-T', '--selinux', '--lang', 'en_US', '--keymap', 'us', '--repo', 'http://10.145.88.211/cblr/links/CentOS-6.5-x86_64']
|
||||
05:51:59,033 INFO : Display mode = t
|
||||
05:51:59,034 INFO : Default encoding = utf-8
|
||||
05:51:59,193 INFO : Detected 2016M of memory
|
||||
05:51:59,193 INFO : Swap attempt of 4032M
|
||||
05:51:59,528 INFO : ISCSID is /usr/sbin/iscsid
|
||||
05:51:59,528 INFO : no initiator set
|
||||
05:52:00,372 INFO : setting installation environment hostname to server2
|
||||
05:52:00,415 WARNING : Timezone US/Pacific set in kickstart is not valid.
|
||||
05:52:00,541 INFO : Detected 2016M of memory
|
||||
05:52:00,541 INFO : Suggested swap size (4032 M) exceeds 10 % of disk space, using 10 % of disk space (3276 M) instead.
|
||||
05:52:00,541 INFO : Swap attempt of 3276M
|
||||
05:52:00,698 WARNING : step installtype does not exist
|
||||
05:52:00,699 WARNING : step confirminstall does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,699 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,700 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,701 WARNING : step complete does not exist
|
||||
05:52:00,702 INFO : moving (1) to step setuptime
|
||||
05:52:00,702 DEBUG : setuptime is a direct step
|
||||
22:52:00,703 WARNING : '/usr/sbin/hwclock' specified as full path
|
||||
22:52:02,003 INFO : leaving (1) step setuptime
|
||||
22:52:02,003 INFO : moving (1) to step autopartitionexecute
|
||||
22:52:02,003 DEBUG : autopartitionexecute is a direct step
|
||||
22:52:02,141 INFO : leaving (1) step autopartitionexecute
|
||||
22:52:02,141 INFO : moving (1) to step storagedone
|
||||
22:52:02,141 DEBUG : storagedone is a direct step
|
||||
22:52:02,142 INFO : leaving (1) step storagedone
|
||||
22:52:02,142 INFO : moving (1) to step enablefilesystems
|
||||
22:52:02,142 DEBUG : enablefilesystems is a direct step
|
||||
22:52:08,928 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda1
|
||||
22:52:12,407 DEBUG : notifying kernel of 'change' event on device /sys/class/block/sda3
|
||||
22:52:25,536 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-0
|
||||
22:52:30,102 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-1
|
||||
22:52:35,181 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-2
|
||||
22:52:40,809 DEBUG : notifying kernel of 'change' event on device /sys/class/block/dm-3
|
||||
22:52:44,576 INFO : failed to set SELinux context for /mnt/sysimage: [Errno 95] Operation not supported
|
||||
22:52:44,576 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-rootvol on /mnt/sysimage as ext3 with options defaults
|
||||
22:52:45,082 DEBUG : isys.py:mount()- going to mount /dev/sda1 on /mnt/sysimage/boot as ext3 with options defaults
|
||||
22:52:45,230 DEBUG : isys.py:mount()- going to mount //dev on /mnt/sysimage/dev as bind with options defaults,bind
|
||||
22:52:45,240 DEBUG : isys.py:mount()- going to mount devpts on /mnt/sysimage/dev/pts as devpts with options gid=5,mode=620
|
||||
22:52:45,247 DEBUG : isys.py:mount()- going to mount tmpfs on /mnt/sysimage/dev/shm as tmpfs with options defaults
|
||||
22:52:45,333 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-homevol on /mnt/sysimage/home as ext3 with options defaults
|
||||
22:52:45,482 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,483 DEBUG : isys.py:mount()- going to mount proc on /mnt/sysimage/proc as proc with options defaults
|
||||
22:52:45,487 INFO : failed to get default SELinux context for /proc: [Errno 2] No such file or directory
|
||||
22:52:45,534 DEBUG : isys.py:mount()- going to mount sysfs on /mnt/sysimage/sys as sysfs with options defaults
|
||||
22:52:45,571 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-tmpvol on /mnt/sysimage/tmp as ext3 with options defaults
|
||||
22:52:45,795 DEBUG : isys.py:mount()- going to mount /dev/mapper/server2-varvol on /mnt/sysimage/var as ext3 with options defaults
|
||||
22:52:45,955 INFO : leaving (1) step enablefilesystems
|
||||
22:52:45,955 INFO : moving (1) to step bootloadersetup
|
||||
22:52:45,956 DEBUG : bootloadersetup is a direct step
|
||||
22:52:45,960 INFO : leaving (1) step bootloadersetup
|
||||
22:52:45,960 INFO : moving (1) to step reposetup
|
||||
22:52:45,960 DEBUG : reposetup is a direct step
|
||||
22:52:47,076 ERROR : Error downloading treeinfo file: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
|
||||
22:52:47,077 INFO : added repository ppa_repo with URL http://10.145.88.211:80/cobbler/repo_mirror/ppa_repo/
|
||||
22:52:47,296 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/repomd.xml
|
||||
22:52:47,358 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
|
||||
22:52:47,499 DEBUG : Grabbing http://10.145.88.211/cblr/links/CentOS-6.5-x86_64/repodata/34bae2d3c9c78e04ed2429923bc095005af1b166d1a354422c4c04274bae0f59-c6-minimal-x86_64.xml
|
||||
22:52:47,629 INFO : leaving (1) step reposetup
|
||||
22:52:47,629 INFO : moving (1) to step basepkgsel
|
||||
22:52:47,629 DEBUG : basepkgsel is a direct step
|
||||
22:52:47,645 WARNING : not adding Base group
|
||||
22:52:48,052 INFO : leaving (1) step basepkgsel
|
||||
22:52:48,053 INFO : moving (1) to step postselection
|
||||
22:52:48,053 DEBUG : postselection is a direct step
|
||||
22:52:48,056 INFO : selected kernel package for kernel
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/ext3/ext3.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/jbd/jbd.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/mbcache.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xts.ko.gz
|
||||
22:52:48,521 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/lrw.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/gf128mul.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/sha256_generic.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/cbc.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-raid.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-crypt.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-round-robin.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-multipath.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-snapshot.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mirror.ko.gz
|
||||
22:52:48,522 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-region-hash.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-log.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-zero.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/dm-mod.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/linear.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid10.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid456.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_raid6_recov.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/raid6/raid6_pq.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_xor.ko.gz
|
||||
22:52:48,523 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/xor.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_memcpy.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/crypto/async_tx/async_tx.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid1.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/md/raid0.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/8021q/8021q.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/garp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/802/stp.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/llc/llc.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko.gz
|
||||
22:52:48,524 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/mlx4/mlx4_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_cm.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_sa.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_mad.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/infiniband/core/ib_core.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sg.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sd_mod.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/lib/crc-t10dif.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/net/e1000/e1000.ko.gz
|
||||
22:52:48,525 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/sr_mod.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/cdrom/cdrom.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/misc/vmware_balloon.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptspi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptscsih.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/message/fusion/mptbase.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/pata_acpi.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_generic.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/ata/ata_piix.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/net/ipv6/ipv6.ko.gz
|
||||
22:52:48,526 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/iscsi_ibft.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_boot_sysfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/input/misc/pcspkr.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/firmware/edd.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/block/floppy.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/libiscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/squashfs/squashfs.ko.gz
|
||||
22:52:48,527 DEBUG : Checking for DUD module /lib/modules/2.6.32-431.el6.x86_64/kernel/fs/cramfs/cramfs.ko.gz
|
||||
22:52:53,656 INFO : leaving (1) step postselection
|
||||
22:52:53,657 INFO : moving (1) to step install
|
||||
22:52:53,660 INFO : leaving (1) step install
|
||||
22:52:53,660 INFO : moving (1) to step preinstallconfig
|
||||
22:52:53,660 DEBUG : preinstallconfig is a direct step
|
||||
22:52:54,102 DEBUG : isys.py:mount()- going to mount /selinux on /mnt/sysimage/selinux as selinuxfs with options defaults
|
||||
22:52:54,107 DEBUG : isys.py:mount()- going to mount /proc/bus/usb on /mnt/sysimage/proc/bus/usb as usbfs with options defaults
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,117 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/wwids' does not exist.
|
||||
22:52:54,130 INFO : copy_to_sysimage: source '/etc/multipath/bindings' does not exist.
|
||||
22:52:54,134 INFO : leaving (1) step preinstallconfig
|
||||
22:52:54,134 INFO : moving (1) to step installpackages
|
||||
22:52:54,134 DEBUG : installpackages is a direct step
|
||||
22:52:54,134 INFO : Preparing to install packages
|
||||
23:16:26,925 INFO : leaving (1) step installpackages
|
||||
23:16:26,926 INFO : moving (1) to step postinstallconfig
|
||||
23:16:26,926 DEBUG : postinstallconfig is a direct step
|
||||
23:16:26,934 DEBUG : Removing cachedir: /mnt/sysimage/var/cache/yum/anaconda-CentOS-201311291202.x86_64
|
||||
23:16:26,949 DEBUG : Removing headers and packages from /mnt/sysimage/var/cache/yum/ppa_repo
|
||||
23:16:26,953 INFO : leaving (1) step postinstallconfig
|
||||
23:16:26,953 INFO : moving (1) to step writeconfig
|
||||
23:16:26,953 DEBUG : writeconfig is a direct step
|
||||
23:16:26,953 INFO : Writing main configuration
|
||||
23:16:26,958 WARNING : '/usr/sbin/authconfig' specified as full path
|
||||
23:16:30,473 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,530 WARNING : '/usr/sbin/lokkit' specified as full path
|
||||
23:16:30,632 INFO : removing libuser.conf at /tmp/libuser.KyLOeb
|
||||
23:16:30,633 INFO : created new libuser.conf at /tmp/libuser.KyLOeb with instPath="/mnt/sysimage"
|
||||
23:16:31,956 INFO : leaving (1) step writeconfig
|
||||
23:16:31,956 INFO : moving (1) to step firstboot
|
||||
23:16:31,957 DEBUG : firstboot is a direct step
|
||||
23:16:31,957 INFO : leaving (1) step firstboot
|
||||
23:16:31,957 INFO : moving (1) to step instbootloader
|
||||
23:16:31,957 DEBUG : instbootloader is a direct step
|
||||
23:16:33,920 WARNING : '/sbin/grub-install' specified as full path
|
||||
23:16:34,226 WARNING : '/sbin/grub' specified as full path
|
||||
23:16:35,092 INFO : leaving (1) step instbootloader
|
||||
23:16:35,092 INFO : moving (1) to step reipl
|
||||
23:16:35,092 DEBUG : reipl is a direct step
|
||||
23:16:35,093 INFO : leaving (1) step reipl
|
||||
23:16:35,093 INFO : moving (1) to step writeksconfig
|
||||
23:16:35,093 DEBUG : writeksconfig is a direct step
|
||||
23:16:35,093 INFO : Writing autokickstart file
|
||||
23:16:35,124 INFO : leaving (1) step writeksconfig
|
||||
23:16:35,124 INFO : moving (1) to step setfilecon
|
||||
23:16:35,125 DEBUG : setfilecon is a direct step
|
||||
23:16:35,125 INFO : setting SELinux contexts for anaconda created files
|
||||
23:16:36,828 INFO : leaving (1) step setfilecon
|
||||
23:16:36,829 INFO : moving (1) to step copylogs
|
||||
23:16:36,829 DEBUG : copylogs is a direct step
|
||||
23:16:36,829 INFO : Copying anaconda logs
|
||||
23:16:36,831 INFO : leaving (1) step copylogs
|
||||
23:16:36,831 INFO : moving (1) to step methodcomplete
|
||||
23:16:36,832 DEBUG : methodcomplete is a direct step
|
||||
23:16:36,832 INFO : leaving (1) step methodcomplete
|
||||
23:16:36,832 INFO : moving (1) to step postscripts
|
||||
23:16:36,832 DEBUG : postscripts is a direct step
|
||||
23:16:36,832 INFO : Running kickstart %%post script(s)
|
||||
23:16:36,872 WARNING : '/bin/sh' specified as full path
|
@ -1,446 +0,0 @@
|
||||
Feb 21 20:21:42 server2.1 [2014-02-21T20:21:42-08:00] INFO: Forking chef instance to converge...
|
||||
Feb 21 20:21:51 server2.1 [2014-02-21T20:21:50-08:00] INFO: *** Chef 11.8.0 ***
|
||||
Feb 21 20:21:51 server2.1 [2014-02-21T20:21:50-08:00] INFO: Chef-client pid: 1350
|
||||
Feb 21 20:22:14 server2.1 [2014-02-21T20:22:14-08:00] INFO: Client key /etc/chef/client.pem is not present - registering
|
||||
Feb 21 20:22:18 server2.1 [2014-02-21T20:22:18-08:00] INFO: HTTP Request Returned 404 Object Not Found: error
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:18-08:00] INFO: Setting the run_list to ["role[os-ops-database]"] from JSON
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Run List is [role[os-ops-database]]
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Run List expands to [openstack-common, openstack-common::logging, openstack-ops-database::server, openstack-ops-database::openstack-db]
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Starting Chef Run for server2_openstack_1
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Running start handlers
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: Start handlers complete.
|
||||
Feb 21 20:22:19 server2.1 [2014-02-21T20:22:19-08:00] INFO: HTTP Request Returned 404 Object Not Found:
|
||||
Feb 21 20:22:20 server2.1 [2014-02-21T20:22:20-08:00] INFO: Loading cookbooks [apt, aws, build-essential, database, mysql, openssl, openstack-common, openstack-ops-database, postgresql, xfs, yum]
|
||||
Feb 21 20:22:20 server2.1 [2014-02-21T20:22:20-08:00] INFO: Storing updated cookbooks/mysql/recipes/percona_repo.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:20-08:00] INFO: Storing updated cookbooks/mysql/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/ruby.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/server_ec2.rb in the cache.
|
||||
Feb 21 20:22:21 server2.1 [2014-02-21T20:22:21-08:00] INFO: Storing updated cookbooks/mysql/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/libraries/helpers.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/percona_repo.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/server.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/attributes/client.rb in the cache.
|
||||
Feb 21 20:22:22 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/templates/default/my.cnf.erb in the cache.
|
||||
Feb 21 20:22:23 server2.1 [2014-02-21T20:22:22-08:00] INFO: Storing updated cookbooks/mysql/templates/default/mysql-server.seed.erb in the cache.
|
||||
Feb 21 20:22:23 server2.1 [2014-02-21T20:22:23-08:00] INFO: Storing updated cookbooks/mysql/templates/default/port_mysql.erb in the cache.
|
||||
Feb 21 20:22:24 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/default/debian.cnf.erb in the cache.
|
||||
Feb 21 20:22:24 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/default/grants.sql.erb in the cache.
|
||||
Feb 21 20:22:25 server2.1 [2014-02-21T20:22:24-08:00] INFO: Storing updated cookbooks/mysql/templates/windows/my.cnf.erb in the cache.
|
||||
Feb 21 20:22:25 server2.1 [2014-02-21T20:22:25-08:00] INFO: Storing updated cookbooks/mysql/LICENSE in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/metadata.rb in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/TESTING.md in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/Berksfile in the cache.
|
||||
Feb 21 20:22:26 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/README.md in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:26-08:00] INFO: Storing updated cookbooks/mysql/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/mysql/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/mysql.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/ebs_backup.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:27 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/postgresql.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/master.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:27-08:00] INFO: Storing updated cookbooks/database/recipes/snapshot.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_mysql_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_postgresql.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_database_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_postgresql_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_mysql_database_user.rb in the cache.
|
||||
Feb 21 20:22:28 server2.1 [2014-02-21T20:22:28-08:00] INFO: Storing updated cookbooks/database/libraries/resource_sql_server_database_user.rb in the cache.
|
||||
Feb 21 20:22:29 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_mysql.rb in the cache.
|
||||
Feb 21 20:22:29 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_mysql_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_sql_server.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:29-08:00] INFO: Storing updated cookbooks/database/libraries/resource_postgresql_database_user.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/provider_database_sql_server_user.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/resource_sql_server_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/libraries/resource_postgresql_database.rb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-db-restore.sh.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/aws_config.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.rb.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-backup-cron.erb in the cache.
|
||||
Feb 21 20:22:30 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/app_grants.sql.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/s3cfg.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.cron.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:30-08:00] INFO: Storing updated cookbooks/database/templates/default/chef-solo-database-snapshot.json.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/templates/default/ebs-db-backup.sh.erb in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/LICENSE in the cache.
|
||||
Feb 21 20:22:31 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:31-08:00] INFO: Storing updated cookbooks/database/metadata.rb in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/database/README.md in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/database/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:32 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/mysql-server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/openstack-db.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:32-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/postgresql-server.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/postgresql-client.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/mysql-client.rb in the cache.
|
||||
Feb 21 20:22:33 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:33-08:00] INFO: Storing updated cookbooks/openstack-ops-database/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/LICENSE in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/metadata.rb in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/openstack-ops-database/README.md in the cache.
|
||||
Feb 21 20:22:34 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/xfs/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:34-08:00] INFO: Storing updated cookbooks/xfs/LICENSE in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/metadata.rb in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/TESTING.md in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/Berksfile in the cache.
|
||||
Feb 21 20:22:35 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/README.md in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/xfs/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/aws/resources/s3_file.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:35-08:00] INFO: Storing updated cookbooks/aws/resources/elastic_lb.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/resource_tag.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/ebs_raid.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/resources/elastic_ip.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/s3_file.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/elastic_lb.rb in the cache.
|
||||
Feb 21 20:22:36 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/resource_tag.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/ebs_volume.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/ebs_raid.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:36-08:00] INFO: Storing updated cookbooks/aws/providers/elastic_ip.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/libraries/ec2.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/LICENSE in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/metadata.rb in the cache.
|
||||
Feb 21 20:22:37 server2.1 [2014-02-21T20:22:37-08:00] INFO: Storing updated cookbooks/aws/README.md in the cache.
|
||||
Feb 21 20:22:38 server2.1 [2014-02-21T20:22:38-08:00] INFO: Storing updated cookbooks/aws/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:38 server2.1 [2014-02-21T20:22:38-08:00] INFO: Storing updated cookbooks/openssl/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/libraries/secure_password.rb in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/LICENSE in the cache.
|
||||
Feb 21 20:22:39 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/metadata.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/README.md in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/openssl/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:39-08:00] INFO: Storing updated cookbooks/build-essential/recipes/smartos.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/fedora.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/debian.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/rhel.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/omnios.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/mac_os_x.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/suse.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/recipes/solaris2.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:40 server2.1 [2014-02-21T20:22:40-08:00] INFO: Storing updated cookbooks/build-essential/LICENSE in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/metadata.rb in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/TESTING.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/Berksfile in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/README.md in the cache.
|
||||
Feb 21 20:22:41 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:41-08:00] INFO: Storing updated cookbooks/build-essential/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/resources/repository.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/resources/preference.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/providers/repository.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/providers/preference.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/cacher-ng.rb in the cache.
|
||||
Feb 21 20:22:42 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/recipes/cacher-client.rb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:42-08:00] INFO: Storing updated cookbooks/apt/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/files/default/apt-proxy-v2.conf in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/debian-6.0/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:43 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/ubuntu-10.04/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/default/acng.conf.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/templates/default/01proxy.erb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:43-08:00] INFO: Storing updated cookbooks/apt/LICENSE in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/metadata.rb in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/TESTING.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/Berksfile in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/README.md in the cache.
|
||||
Feb 21 20:22:44 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/CONTRIBUTING in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:44-08:00] INFO: Storing updated cookbooks/apt/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/yum_pgdg_postgresql.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server_redhat.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/config_pgtune.rb in the cache.
|
||||
Feb 21 20:22:45 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/server_debian.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/contrib.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:45-08:00] INFO: Storing updated cookbooks/postgresql/recipes/apt_pgdg_postgresql.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/config_initdb.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/ruby.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/recipes/client.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/libraries/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/server_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/apt_pgdg_postgresql_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/default_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/ruby_test.rb in the cache.
|
||||
Feb 21 20:22:46 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/files/default/tests/minitest/support/helpers.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/postgresql.conf.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/pgsql.sysconfig.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/templates/default/pg_hba.conf.erb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/LICENSE in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:46-08:00] INFO: Storing updated cookbooks/postgresql/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/metadata.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/TESTING.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/CONTRIBUTING.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/Berksfile in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/README.md in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/postgresql/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/resources/key.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/resources/repository.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/providers/key.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/providers/repository.rb in the cache.
|
||||
Feb 21 20:22:47 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/recipes/test.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:47-08:00] INFO: Storing updated cookbooks/yum/recipes/epel.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/yum.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/ius.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/repoforge.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/elrepo.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/recipes/remi.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/epel.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:48 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/elrepo.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:48-08:00] INFO: Storing updated cookbooks/yum/attributes/remi.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/test_test.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/default_test.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/tests/minitest/support/helpers.rb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/files/default/RPM-GPG-KEY-EPEL-6 in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/repo.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/yum-rhel6.conf.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/templates/default/yum-rhel5.conf.erb in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/LICENSE in the cache.
|
||||
Feb 21 20:22:49 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:49-08:00] INFO: Storing updated cookbooks/yum/metadata.rb in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/CONTRIBUTING.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/Berksfile in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/README.md in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/yum/.kitchen.yml in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/default.rb in the cache.
|
||||
Feb 21 20:22:51 server2.1 [2014-02-21T20:22:51-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/logging.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/recipes/databag.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/parse.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/endpoints.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/search.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/database.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/network.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/passwords.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/libraries/uri.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/attributes/default.rb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/templates/default/logging.conf.erb in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/LICENSE in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Strainerfile in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/.tailor in the cache.
|
||||
Feb 21 20:22:52 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/CHANGELOG.md in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/metadata.rb in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Berksfile in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/README.md in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Gemfile.lock in the cache.
|
||||
Feb 21 20:22:53 server2.1 [2014-02-21T20:22:52-08:00] INFO: Storing updated cookbooks/openstack-common/Gemfile in the cache.
|
||||
Feb 21 20:23:05 server2.1 [2014-02-21T20:23:04-08:00] INFO: Processing package[autoconf] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:23:47 server2.1 [2014-02-21T20:23:46-08:00] INFO: package[autoconf] installing autoconf-2.63-5.1.el6 from base repository
|
||||
Feb 21 20:25:48 server2.1 [2014-02-21T20:25:48-08:00] INFO: Processing package[bison] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:25:49 server2.1 [2014-02-21T20:25:49-08:00] INFO: package[bison] installing bison-2.4.1-5.el6 from base repository
|
||||
Feb 21 20:26:04 server2.1 [2014-02-21T20:26:03-08:00] INFO: Processing package[flex] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:26:04 server2.1 [2014-02-21T20:26:03-08:00] INFO: package[flex] installing flex-2.5.35-8.el6 from base repository
|
||||
Feb 21 20:26:11 server2.1 [2014-02-21T20:26:10-08:00] INFO: Processing package[gcc] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:26:14 server2.1 [2014-02-21T20:26:13-08:00] INFO: package[gcc] installing gcc-4.4.7-4.el6 from base repository
|
||||
Feb 21 20:28:09 server2.1 [2014-02-21T20:28:09-08:00] INFO: Processing package[gcc-c++] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:28:11 server2.1 [2014-02-21T20:28:11-08:00] INFO: package[gcc-c++] installing gcc-c++-4.4.7-4.el6 from base repository
|
||||
Feb 21 20:28:35 server2.1 [2014-02-21T20:28:35-08:00] INFO: Processing package[kernel-devel] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:28:38 server2.1 [2014-02-21T20:28:38-08:00] INFO: package[kernel-devel] installing kernel-devel-2.6.32-431.5.1.el6 from updates repository
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[make] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[m4] action install (build-essential::rhel line 38)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: Processing package[mysql] action install (mysql::client line 46)
|
||||
Feb 21 20:29:49 server2.1 [2014-02-21T20:29:49-08:00] INFO: package[mysql] installing mysql-5.1.73-3.el6_5 from updates repository
|
||||
Feb 21 20:30:18 server2.1 [2014-02-21T20:30:18-08:00] INFO: Processing package[mysql-devel] action install (mysql::client line 46)
|
||||
Feb 21 20:30:19 server2.1 [2014-02-21T20:30:19-08:00] INFO: package[mysql-devel] installing mysql-devel-5.1.73-3.el6_5 from updates repository
|
||||
Feb 21 20:31:06 server2.1 [2014-02-21T20:31:05-08:00] INFO: Processing chef_gem[mysql] action install (mysql::ruby line 31)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:115:in `block in from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:115:in `block in from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Could not find previously defined grants.sql resource
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for service[mysql] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous service[mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:161:in `from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current service[mysql]: /var/chef/cache/cookbooks/mysql/recipes/server.rb:225:in `from_file'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[horizon] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[horizon]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[horizon]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[ceilometer] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[ceilometer]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[ceilometer]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Cloning resource attributes for database_user[service] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Previous database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:82:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] WARN: Current database_user[service]: /var/chef/cache/cookbooks/openstack-common/libraries/database.rb:90:in `db_create_with_user'
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Processing yum_key[RPM-GPG-KEY-EPEL-6] action add (yum::epel line 22)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Adding RPM-GPG-KEY-EPEL-6 GPG key to /etc/pki/rpm-gpg/
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:25-08:00] INFO: Processing package[gnupg2] action install (/var/chef/cache/cookbooks/yum/providers/key.rb line 32)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[import-rpm-gpg-key-RPM-GPG-KEY-EPEL-6] action nothing (/var/chef/cache/cookbooks/yum/providers/key.rb line 35)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] action create (/var/chef/cache/cookbooks/yum/providers/key.rb line 66)
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] created file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] updated file contents /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
|
||||
Feb 21 20:31:26 server2.1 [2014-02-21T20:31:26-08:00] INFO: cookbook_file[/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6] mode changed to 644
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing yum_repository[epel] action add (yum::epel line 27)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Adding epel repository to /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Cloning resource attributes for yum_key[RPM-GPG-KEY-EPEL-6] from prior resource (CHEF-3694)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Previous yum_key[RPM-GPG-KEY-EPEL-6]: /var/chef/cache/cookbooks/yum/recipes/epel.rb:22:in `from_file'
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] WARN: Current yum_key[RPM-GPG-KEY-EPEL-6]: /var/chef/cache/cookbooks/yum/providers/repository.rb:85:in `repo_config'
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing yum_key[RPM-GPG-KEY-EPEL-6] action add (/var/chef/cache/cookbooks/yum/providers/repository.rb line 85)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[yum-makecache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing template[/etc/yum.repos.d/epel.repo] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 100)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] created file /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] updated file contents /etc/yum.repos.d/epel.repo
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] mode changed to 644
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: template[/etc/yum.repos.d/epel.repo] sending run action to execute[yum-makecache] (immediate)
|
||||
Feb 21 20:31:27 server2.1 [2014-02-21T20:31:26-08:00] INFO: Processing execute[yum-makecache] action run (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: execute[yum-makecache] ran successfully
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/epel.repo] sending create action to ruby_block[reload-internal-yum-cache] (immediate)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: ruby_block[reload-internal-yum-cache] called
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing yum_repository[openstack] action create (openstack-common::default line 103)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Adding and updating openstack repository in /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Cloning resource attributes for execute[yum-makecache] from prior resource (CHEF-3694)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Previous execute[yum-makecache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:88:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Current execute[yum-makecache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:88:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Cloning resource attributes for ruby_block[reload-internal-yum-cache] from prior resource (CHEF-3694)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Previous ruby_block[reload-internal-yum-cache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:93:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] WARN: Current ruby_block[reload-internal-yum-cache]: /var/chef/cache/cookbooks/yum/providers/repository.rb:93:in `repo_config'
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing execute[yum-makecache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action nothing (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing template[/etc/yum.repos.d/openstack.repo] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 100)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] created file /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] updated file contents /etc/yum.repos.d/openstack.repo
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] mode changed to 644
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] sending run action to execute[yum-makecache] (immediate)
|
||||
Feb 21 20:32:35 server2.1 [2014-02-21T20:32:35-08:00] INFO: Processing execute[yum-makecache] action run (/var/chef/cache/cookbooks/yum/providers/repository.rb line 88)
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: execute[yum-makecache] ran successfully
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: template[/etc/yum.repos.d/openstack.repo] sending create action to ruby_block[reload-internal-yum-cache] (immediate)
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: Processing ruby_block[reload-internal-yum-cache] action create (/var/chef/cache/cookbooks/yum/providers/repository.rb line 93)
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: ruby_block[reload-internal-yum-cache] called
|
||||
Feb 21 20:32:51 server2.1 [2014-02-21T20:32:51-08:00] INFO: Processing execute[yum-update] action run (openstack-common::default line 110)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: execute[yum-update] ran successfully
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing directory[/etc/openstack] action create (openstack-common::logging line 20)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: directory[/etc/openstack] created directory /etc/openstack
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: directory[/etc/openstack] owner changed to 0
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: directory[/etc/openstack] group changed to 0
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: directory[/etc/openstack] mode changed to 755
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing template[/etc/openstack/logging.conf] action create (openstack-common::logging line 27)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: template[/etc/openstack/logging.conf] created file /etc/openstack/logging.conf
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: template[/etc/openstack/logging.conf] updated file contents /etc/openstack/logging.conf
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: template[/etc/openstack/logging.conf] owner changed to 0
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: template[/etc/openstack/logging.conf] group changed to 0
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: template[/etc/openstack/logging.conf] mode changed to 644
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[autoconf] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[bison] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[flex] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[gcc] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[gcc-c++] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[kernel-devel] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[make] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[m4] action nothing (build-essential::rhel line 38)
|
||||
Feb 21 20:37:21 server2.1 [2014-02-21T20:37:20-08:00] INFO: Processing package[mysql] action install (mysql::client line 46)
|
||||
Feb 21 20:37:26 server2.1 [2014-02-21T20:37:25-08:00] INFO: Processing package[mysql-devel] action install (mysql::client line 46)
|
||||
Feb 21 20:37:26 server2.1 [2014-02-21T20:37:25-08:00] INFO: Processing chef_gem[mysql] action install (mysql::ruby line 31)
|
||||
Feb 21 20:37:26 server2.1 [2014-02-21T20:37:26-08:00] INFO: Processing package[mysql-server] action install (mysql::server line 101)
|
||||
Feb 21 20:37:26 server2.1 [2014-02-21T20:37:26-08:00] INFO: package[mysql-server] installing mysql-server-5.1.73-3.el6_5 from updates repository
|
||||
Feb 21 20:37:46 server2.1 [2014-02-21T20:37:45-08:00] INFO: package[mysql-server] sending start action to service[mysql] (immediate)
|
||||
Feb 21 20:37:46 server2.1 [2014-02-21T20:37:45-08:00] INFO: Processing service[mysql] action start (mysql::server line 225)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: service[mysql] started
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/var/run/mysqld] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/var/log/mysql] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/var/log/mysql] created directory /var/log/mysql
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/var/log/mysql] owner changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/var/log/mysql] group changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/etc] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/etc] owner changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/etc] group changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/etc/mysql/conf.d] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/etc/mysql/conf.d] created directory /etc/mysql/conf.d
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/etc/mysql/conf.d] owner changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: directory[/etc/mysql/conf.d] group changed to 27
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/var/lib/mysql] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing directory[/var/lib/mysql] action create (mysql::server line 115)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing execute[mysql-install-db] action run (mysql::server line 155)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing service[mysql] action enable (mysql::server line 161)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: service[mysql] enabled
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing execute[assign-root-password] action run (mysql::server line 173)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: execute[assign-root-password] ran successfully
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing template[/etc/mysql_grants.sql] action create (mysql::server line 186)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] created file /etc/mysql_grants.sql
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] updated file contents /etc/mysql_grants.sql
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] owner changed to 0
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] group changed to 0
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] mode changed to 600
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/mysql_grants.sql] sending run action to execute[mysql-install-privileges] (immediate)
|
||||
Feb 21 20:38:00 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing execute[mysql-install-privileges] action run (mysql::server line 202)
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: execute[mysql-install-privileges] ran successfully
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing execute[mysql-install-privileges] action nothing (mysql::server line 202)
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing template[/etc/my.cnf] action create (mysql::server line 209)
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/my.cnf] backed up to /var/chef/backup/etc/my.cnf.chef-20140221203800.767413
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/my.cnf] updated file contents /etc/my.cnf
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: template[/etc/my.cnf] sending restart action to service[mysql] (immediate)
|
||||
Feb 21 20:38:01 server2.1 [2014-02-21T20:38:00-08:00] INFO: Processing service[mysql] action restart (mysql::server line 225)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: service[mysql] restarted
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing service[mysql] action start (mysql::server line 225)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing mysql_database_user[drop empty localhost user] action drop (openstack-ops-database::mysql-server line 42)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing mysql_database_user[drop empty hostname user] action drop (openstack-ops-database::mysql-server line 50)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing mysql_database[test] action drop (openstack-ops-database::mysql-server line 58)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing mysql_database[FLUSH privileges] action nothing (openstack-ops-database::mysql-server line 64)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create nova database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[service]: granting access with statement [GRANT all ON `nova`.* TO `service`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create horizon database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[horizon] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[horizon] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[horizon]: granting access with statement [GRANT all ON `horizon`.* TO `horizon`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create keystone database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[service]: granting access with statement [GRANT all ON `keystone`.* TO `service`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create glance database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[service]: granting access with statement [GRANT all ON `glance`.* TO `service`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create ceilometer database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[ceilometer] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[ceilometer] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[ceilometer]: granting access with statement [GRANT all ON `ceilometer`.* TO `ceilometer`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create quantum database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[service]: granting access with statement [GRANT all ON `quantum`.* TO `service`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database[create cinder database] action create (openstack-ops-database::openstack-db line 74)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action create (openstack-ops-database::openstack-db line 82)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing database_user[service] action grant (openstack-ops-database::openstack-db line 90)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: database_user[service]: granting access with statement [GRANT all ON `cinder`.* TO `service`@`%` IDENTIFIED BY [FILTERED]]
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: [mysql_database[test]] sending query action to mysql_database[FLUSH privileges] (delayed)
|
||||
Feb 21 20:38:06 server2.1 [2014-02-21T20:38:06-08:00] INFO: Processing mysql_database[FLUSH privileges] action query (openstack-ops-database::mysql-server line 64)
|
||||
Feb 21 20:38:07 server2.1 [2014-02-21T20:38:07-08:00] INFO: Chef Run complete in 948.167010559 seconds
|
||||
Feb 21 20:38:08 server2.1 [2014-02-21T20:38:07-08:00] INFO: Running report handlers
|
||||
Feb 21 20:38:08 server2.1 [2014-02-21T20:38:07-08:00] INFO: Report handlers complete
|
@ -1,212 +0,0 @@
|
||||
Installing libgcc-4.4.7-4.el6.x86_64
|
||||
warning: libgcc-4.4.7-4.el6.x86_64: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
|
||||
Installing setup-2.8.14-20.el6_4.1.noarch
|
||||
Installing filesystem-2.4.30-3.el6.x86_64
|
||||
Installing basesystem-10.0-4.el6.noarch
|
||||
Installing ncurses-base-5.7-3.20090208.el6.x86_64
|
||||
Installing kernel-firmware-2.6.32-431.el6.noarch
|
||||
Installing tzdata-2013g-1.el6.noarch
|
||||
Installing nss-softokn-freebl-3.14.3-9.el6.x86_64
|
||||
Installing glibc-common-2.12-1.132.el6.x86_64
|
||||
Installing glibc-2.12-1.132.el6.x86_64
|
||||
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
|
||||
Installing bash-4.1.2-15.el6_4.x86_64
|
||||
Installing libattr-2.4.44-7.el6.x86_64
|
||||
Installing libcap-2.16-5.5.el6.x86_64
|
||||
Installing zlib-1.2.3-29.el6.x86_64
|
||||
Installing info-4.13a-8.el6.x86_64
|
||||
Installing popt-1.13-7.el6.x86_64
|
||||
Installing chkconfig-1.3.49.3-2.el6_4.1.x86_64
|
||||
Installing audit-libs-2.2-2.el6.x86_64
|
||||
Installing libcom_err-1.41.12-18.el6.x86_64
|
||||
Installing libacl-2.2.49-6.el6.x86_64
|
||||
Installing db4-4.7.25-18.el6_4.x86_64
|
||||
Installing nspr-4.10.0-1.el6.x86_64
|
||||
Installing nss-util-3.15.1-3.el6.x86_64
|
||||
Installing readline-6.0-4.el6.x86_64
|
||||
Installing libsepol-2.0.41-4.el6.x86_64
|
||||
Installing libselinux-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing shadow-utils-4.1.4.2-13.el6.x86_64
|
||||
Installing sed-4.2.1-10.el6.x86_64
|
||||
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
|
||||
Installing libuuid-2.17.2-12.14.el6.x86_64
|
||||
Installing libstdc++-4.4.7-4.el6.x86_64
|
||||
Installing libblkid-2.17.2-12.14.el6.x86_64
|
||||
Installing gawk-3.1.7-10.el6.x86_64
|
||||
Installing file-libs-5.04-15.el6.x86_64
|
||||
Installing libgpg-error-1.7-4.el6.x86_64
|
||||
Installing dbus-libs-1.2.24-7.el6_3.x86_64
|
||||
Installing libudev-147-2.51.el6.x86_64
|
||||
Installing pcre-7.8-6.el6.x86_64
|
||||
Installing grep-2.6.3-4.el6.x86_64
|
||||
Installing lua-5.1.4-4.1.el6.x86_64
|
||||
Installing sqlite-3.6.20-1.el6.x86_64
|
||||
Installing cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64
|
||||
Installing libidn-1.18-2.el6.x86_64
|
||||
Installing expat-2.0.1-11.el6_2.x86_64
|
||||
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
|
||||
Installing elfutils-libelf-0.152-1.el6.x86_64
|
||||
Installing libgcrypt-1.4.5-11.el6_4.x86_64
|
||||
Installing bzip2-1.0.5-7.el6_0.x86_64
|
||||
Installing findutils-4.4.2-6.el6.x86_64
|
||||
Installing libselinux-utils-2.0.94-5.3.el6_4.1.x86_64
|
||||
Installing checkpolicy-2.0.22-1.el6.x86_64
|
||||
Installing cpio-2.10-11.el6_3.x86_64
|
||||
Installing which-2.19-6.el6.x86_64
|
||||
Installing libxml2-2.7.6-14.el6.x86_64
|
||||
Installing libedit-2.11-4.20080712cvs.1.el6.x86_64
|
||||
Installing pth-2.0.7-9.3.el6.x86_64
|
||||
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
|
||||
Installing sysvinit-tools-2.87-5.dsf.el6.x86_64
|
||||
Installing libtasn1-2.3-3.el6_2.1.x86_64
|
||||
Installing p11-kit-0.18.5-2.el6.x86_64
|
||||
Installing p11-kit-trust-0.18.5-2.el6.x86_64
|
||||
Installing ca-certificates-2013.1.94-65.0.el6.noarch
|
||||
Installing device-mapper-persistent-data-0.2.8-2.el6.x86_64
|
||||
Installing nss-softokn-3.14.3-9.el6.x86_64
|
||||
Installing libnih-1.0.1-7.el6.x86_64
|
||||
Installing upstart-0.6.5-12.el6_4.1.x86_64
|
||||
Installing file-5.04-15.el6.x86_64
|
||||
Installing gmp-4.3.1-7.el6_2.2.x86_64
|
||||
Installing libusb-0.1.12-23.el6.x86_64
|
||||
Installing MAKEDEV-3.24-6.el6.x86_64
|
||||
Installing libutempter-1.1.5-4.1.el6.x86_64
|
||||
Installing psmisc-22.6-15.el6_0.1.x86_64
|
||||
Installing net-tools-1.60-110.el6_2.x86_64
|
||||
Installing vim-minimal-7.2.411-1.8.el6.x86_64
|
||||
Installing tar-1.23-11.el6.x86_64
|
||||
Installing procps-3.2.8-25.el6.x86_64
|
||||
Installing db4-utils-4.7.25-18.el6_4.x86_64
|
||||
Installing e2fsprogs-libs-1.41.12-18.el6.x86_64
|
||||
Installing libss-1.41.12-18.el6.x86_64
|
||||
Installing pinentry-0.7.6-6.el6.x86_64
|
||||
Installing binutils-2.20.51.0.2-5.36.el6.x86_64
|
||||
Installing m4-1.4.13-5.el6.x86_64
|
||||
Installing diffutils-2.8.1-28.el6.x86_64
|
||||
Installing make-3.81-20.el6.x86_64
|
||||
Installing dash-0.5.5.1-4.el6.x86_64
|
||||
Installing ncurses-5.7-3.20090208.el6.x86_64
|
||||
Installing groff-1.18.1.4-21.el6.x86_64
|
||||
Installing less-436-10.el6.x86_64
|
||||
Installing coreutils-libs-8.4-31.el6.x86_64
|
||||
Installing gzip-1.3.12-19.el6_4.x86_64
|
||||
Installing cracklib-2.8.16-4.el6.x86_64
|
||||
Installing cracklib-dicts-2.8.16-4.el6.x86_64
|
||||
Installing coreutils-8.4-31.el6.x86_64
|
||||
Installing pam-1.1.1-17.el6.x86_64
|
||||
Installing module-init-tools-3.9-21.el6_4.x86_64
|
||||
Installing hwdata-0.233-9.1.el6.noarch
|
||||
Installing redhat-logos-60.0.14-12.el6.centos.noarch
|
||||
Installing plymouth-scripts-0.8.3-27.el6.centos.x86_64
|
||||
Installing libpciaccess-0.13.1-2.el6.x86_64
|
||||
Installing nss-3.15.1-15.el6.x86_64
|
||||
Installing nss-sysinit-3.15.1-15.el6.x86_64
|
||||
Installing nss-tools-3.15.1-15.el6.x86_64
|
||||
Installing openldap-2.4.23-32.el6_4.1.x86_64
|
||||
Installing logrotate-3.7.8-17.el6.x86_64
|
||||
Installing gdbm-1.8.0-36.el6.x86_64
|
||||
Installing mingetty-1.08-5.el6.x86_64
|
||||
Installing keyutils-libs-1.4-4.el6.x86_64
|
||||
Installing krb5-libs-1.10.3-10.el6_4.6.x86_64
|
||||
Installing openssl-1.0.1e-15.el6.x86_64
|
||||
Installing libssh2-1.4.2-1.el6.x86_64
|
||||
Installing libcurl-7.19.7-37.el6_4.x86_64
|
||||
Installing gnupg2-2.0.14-6.el6_4.x86_64
|
||||
Installing gpgme-1.1.8-3.el6.x86_64
|
||||
Installing curl-7.19.7-37.el6_4.x86_64
|
||||
Installing rpm-libs-4.8.0-37.el6.x86_64
|
||||
Installing rpm-4.8.0-37.el6.x86_64
|
||||
Installing fipscheck-lib-1.2.0-7.el6.x86_64
|
||||
Installing fipscheck-1.2.0-7.el6.x86_64
|
||||
Installing mysql-libs-5.1.71-1.el6.x86_64
|
||||
Installing ethtool-3.5-1.el6.x86_64
|
||||
Installing pciutils-libs-3.1.10-2.el6.x86_64
|
||||
Installing plymouth-core-libs-0.8.3-27.el6.centos.x86_64
|
||||
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
|
||||
Installing libffi-3.0.5-3.2.el6.x86_64
|
||||
Installing python-2.6.6-51.el6.x86_64
|
||||
Installing python-libs-2.6.6-51.el6.x86_64
|
||||
Installing python-pycurl-7.19.0-8.el6.x86_64
|
||||
Installing python-urlgrabber-3.9.1-9.el6.noarch
|
||||
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
|
||||
Installing rpm-python-4.8.0-37.el6.x86_64
|
||||
Installing python-iniparse-0.3.1-2.1.el6.noarch
|
||||
Installing slang-2.2.1-1.el6.x86_64
|
||||
Installing newt-0.52.11-3.el6.x86_64
|
||||
Installing newt-python-0.52.11-3.el6.x86_64
|
||||
Installing ustr-1.0.4-9.1.el6.x86_64
|
||||
Installing libsemanage-2.0.43-4.2.el6.x86_64
|
||||
Installing libaio-0.3.107-10.el6.x86_64
|
||||
Installing pkgconfig-0.23-9.1.el6.x86_64
|
||||
Installing gamin-0.1.10-9.el6.x86_64
|
||||
Installing glib2-2.26.1-3.el6.x86_64
|
||||
Installing shared-mime-info-0.70-4.el6.x86_64
|
||||
Installing libuser-0.56.13-5.el6.x86_64
|
||||
Installing grubby-7.0.15-5.el6.x86_64
|
||||
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
|
||||
Installing yum-plugin-fastestmirror-1.1.30-14.el6.noarch
|
||||
Installing yum-3.2.29-40.el6.centos.noarch
|
||||
Installing dbus-glib-0.86-6.el6.x86_64
|
||||
Installing dhcp-common-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing centos-release-6-5.el6.centos.11.1.x86_64
|
||||
Installing policycoreutils-2.0.83-19.39.el6.x86_64
|
||||
Installing iptables-1.4.7-11.el6.x86_64
|
||||
Installing iproute-2.6.32-31.el6.x86_64
|
||||
Installing iputils-20071127-17.el6_4.2.x86_64
|
||||
Installing util-linux-ng-2.17.2-12.14.el6.x86_64
|
||||
Installing initscripts-9.03.40-2.el6.centos.x86_64
|
||||
Installing udev-147-2.51.el6.x86_64
|
||||
Installing device-mapper-libs-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-1.02.79-8.el6.x86_64
|
||||
Installing device-mapper-event-libs-1.02.79-8.el6.x86_64
|
||||
Installing openssh-5.3p1-94.el6.x86_64
|
||||
Installing device-mapper-event-1.02.79-8.el6.x86_64
|
||||
Installing lvm2-libs-2.02.100-8.el6.x86_64
|
||||
Installing cryptsetup-luks-libs-1.2.0-7.el6.x86_64
|
||||
Installing device-mapper-multipath-libs-0.4.9-72.el6.x86_64
|
||||
Installing kpartx-0.4.9-72.el6.x86_64
|
||||
Installing libdrm-2.4.45-2.el6.x86_64
|
||||
Installing plymouth-0.8.3-27.el6.centos.x86_64
|
||||
Installing rsyslog-5.8.10-8.el6.x86_64
|
||||
Installing cyrus-sasl-2.1.23-13.el6_3.1.x86_64
|
||||
Installing postfix-2.6.6-2.2.el6_1.x86_64
|
||||
Installing cronie-anacron-1.4.4-12.el6.x86_64
|
||||
Installing cronie-1.4.4-12.el6.x86_64
|
||||
Installing crontabs-1.10-33.el6.noarch
|
||||
Installing ntpdate-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing iptables-ipv6-1.4.7-11.el6.x86_64
|
||||
Installing selinux-policy-3.7.19-231.el6.noarch
|
||||
Installing kbd-misc-1.15-11.el6.noarch
|
||||
Installing kbd-1.15-11.el6.x86_64
|
||||
Installing dracut-004-335.el6.noarch
|
||||
Installing dracut-kernel-004-335.el6.noarch
|
||||
Installing kernel-2.6.32-431.el6.x86_64
|
||||
Installing fuse-2.8.3-4.el6.x86_64
|
||||
Installing selinux-policy-targeted-3.7.19-231.el6.noarch
|
||||
Installing system-config-firewall-base-1.2.27-5.el6.noarch
|
||||
Installing ntp-4.2.6p5-1.el6.centos.x86_64
|
||||
Installing device-mapper-multipath-0.4.9-72.el6.x86_64
|
||||
Installing cryptsetup-luks-1.2.0-7.el6.x86_64
|
||||
Installing lvm2-2.02.100-8.el6.x86_64
|
||||
Installing openssh-clients-5.3p1-94.el6.x86_64
|
||||
Installing openssh-server-5.3p1-94.el6.x86_64
|
||||
Installing mdadm-3.2.6-7.el6.x86_64
|
||||
Installing b43-openfwwf-5.2-4.el6.noarch
|
||||
Installing dhclient-4.1.1-38.P1.el6.centos.x86_64
|
||||
Installing iscsi-initiator-utils-6.2.0.873-10.el6.x86_64
|
||||
Installing passwd-0.77-4.el6_2.2.x86_64
|
||||
Installing authconfig-6.1.12-13.el6.x86_64
|
||||
Installing grub-0.97-83.el6.x86_64
|
||||
Installing efibootmgr-0.5.4-11.el6.x86_64
|
||||
Installing wget-1.12-1.8.el6.x86_64
|
||||
Installing sudo-1.8.6p3-12.el6.x86_64
|
||||
Installing audit-2.2-2.el6.x86_64
|
||||
Installing e2fsprogs-1.41.12-18.el6.x86_64
|
||||
Installing xfsprogs-3.1.1-14.el6.x86_64
|
||||
Installing acl-2.2.49-6.el6.x86_64
|
||||
Installing attr-2.4.44-7.el6.x86_64
|
||||
Installing chef-11.8.0-1.el6.x86_64
|
||||
warning: chef-11.8.0-1.el6.x86_64: Header V4 DSA/SHA1 Signature, key ID 83ef826a: NOKEY
|
||||
Installing bridge-utils-1.2-10.el6.x86_64
|
||||
Installing rootfiles-8.1-6.1.el6.noarch
|
||||
*** FINISHED INSTALLING PACKAGES ***
|
File diff suppressed because it is too large
Load Diff
@ -1,224 +0,0 @@
|
||||
ADAPTERS = [
|
||||
{'name': 'CentOS_openstack', 'os': 'CentOS', 'target_system': 'openstack'},
|
||||
]
|
||||
ROLES = [
|
||||
{'name': 'os-single-controller', 'target_system': 'openstack'},
|
||||
{'name': 'os-network', 'target_system': 'openstack'},
|
||||
{'name': 'os-compute', 'target_system': 'openstack'},
|
||||
]
|
||||
SWITCHES = [
|
||||
{'ip': '1.2.3.4', 'vendor': 'huawei', 'credential': {'version': 'v2c', 'community': 'public'}},
|
||||
]
|
||||
MACHINES_BY_SWITCH = {
|
||||
'1.2.3.4': [
|
||||
{'mac': '00:00:01:02:03:04', 'port': 1, 'vlan': 1},
|
||||
{'mac': '00:00:01:02:03:05', 'port': 2, 'vlan': 2},
|
||||
],
|
||||
}
|
||||
CLUSTERS = [
|
||||
{
|
||||
'name': 'cluster1',
|
||||
'adapter': 'CentOS_openstack',
|
||||
'mutable': False,
|
||||
'security': {
|
||||
'server_credentials': {
|
||||
'username': 'root', 'password': 'huawei'
|
||||
},
|
||||
'service_credentials': {
|
||||
'username': 'service', 'password': 'huawei'
|
||||
},
|
||||
'console_credentials': {
|
||||
'username': 'admin', 'password': 'huawei'
|
||||
}
|
||||
},
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.255.0',
|
||||
'ip_end': '192.168.20.200',
|
||||
'gateway': '',
|
||||
'ip_start': '192.168.20.100'
|
||||
},
|
||||
'storage': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.200',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'public': {
|
||||
'nic': 'eth2',
|
||||
'promisc': 1,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.255',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
},
|
||||
'tenant': {
|
||||
'nic': 'eth0',
|
||||
'promisc': 0,
|
||||
'netmask': '255.255.254.0',
|
||||
'ip_end': '10.145.88.120',
|
||||
'gateway': '10.145.88.1',
|
||||
'ip_start': '10.145.88.100'
|
||||
}
|
||||
},
|
||||
'global': {
|
||||
'nameservers': '192.168.20.254',
|
||||
'proxy': 'http://192.168.20.254:3128',
|
||||
'ntp_server': '192.168.20.254',
|
||||
'search_path': 'ods.com',
|
||||
'gateway': '10.145.88.1'
|
||||
},
|
||||
},
|
||||
'partition': '/home 20%%;/tmp 10%%;/var 30%%;',
|
||||
},
|
||||
]
|
||||
HOSTS_BY_CLUSTER = {
|
||||
'cluster1': [
|
||||
{
|
||||
'hostname': 'server1',
|
||||
'mac': '00:00:01:02:03:04',
|
||||
'mutable': False,
|
||||
'config': {
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.100',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-single-controller", "os-network"],
|
||||
},
|
||||
},{
|
||||
'hostname': 'server2',
|
||||
'mac': '00:00:01:02:03:05',
|
||||
'mutable': False,
|
||||
'config': {
|
||||
'networking': {
|
||||
'interfaces': {
|
||||
'management': {
|
||||
'ip': '192.168.20.101',
|
||||
},
|
||||
},
|
||||
},
|
||||
'roles': ["os-compute"],
|
||||
},
|
||||
},
|
||||
|
||||
],
|
||||
}
|
||||
|
||||
EXPECTED = {
|
||||
'test2': {
|
||||
'checkpoint_1': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.006,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
'server2': {
|
||||
'hostname': 'server2',
|
||||
'progress': 0.006,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.006,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_2': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.33,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
'server2': {
|
||||
'hostname': 'server2',
|
||||
'progress': 0.33,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.33,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_3': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.6,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
'server2': {
|
||||
'hostname': 'server2',
|
||||
'progress': 0.6,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.6,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_4': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 0.73882,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
'server2': {
|
||||
'hostname': 'server2',
|
||||
'progress': 0.68374,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 0.71128,
|
||||
'state': 'INSTALLING'
|
||||
},
|
||||
},
|
||||
},
|
||||
'checkpoint_5': {
|
||||
'host_states': {
|
||||
'server1': {
|
||||
'hostname': 'server1',
|
||||
'progress': 1.0,
|
||||
'state': 'READY',
|
||||
},
|
||||
'server2': {
|
||||
'hostname': 'server2',
|
||||
'progress': 1.0,
|
||||
'state': 'READY',
|
||||
}
|
||||
},
|
||||
'cluster_states': {
|
||||
'cluster1': {
|
||||
'clustername': 'cluster1',
|
||||
'progress': 1.0,
|
||||
'state': 'READY'
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -1,255 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""integration test for action update_progress"""
|
||||
import logging
|
||||
import mock
|
||||
import os
|
||||
import os.path
|
||||
import shutil
|
||||
import unittest2
|
||||
import uuid
|
||||
|
||||
from contextlib import contextmanager
|
||||
|
||||
|
||||
os.environ['COMPASS_IGNORE_SETTING'] = 'true'
|
||||
|
||||
|
||||
from compass.utils import setting_wrapper as setting
|
||||
reload(setting)
|
||||
|
||||
|
||||
setting.CONFIG_DIR = '%s/data' % os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
|
||||
from compass.actions import update_progress
|
||||
from compass.actions import util
|
||||
from compass.db import database
|
||||
from compass.db.model import Adapter
|
||||
from compass.db.model import Cluster
|
||||
from compass.db.model import ClusterHost
|
||||
from compass.db.model import ClusterState
|
||||
from compass.db.model import HostState
|
||||
from compass.db.model import Machine
|
||||
from compass.db.model import Role
|
||||
from compass.db.model import Switch
|
||||
|
||||
from compass.log_analyzor import file_matcher
|
||||
|
||||
from compass.utils import flags
|
||||
from compass.utils import logsetting
|
||||
|
||||
|
||||
def sortCheckPoints(check_points):
|
||||
ret = []
|
||||
mapping = {}
|
||||
for check_point in check_points:
|
||||
cp_index = int(check_point[-1])
|
||||
ret.append(cp_index)
|
||||
mapping[cp_index] = check_point
|
||||
|
||||
ret.sort()
|
||||
while True:
|
||||
if isinstance(ret[0], int):
|
||||
ret.append(mapping[ret[0]])
|
||||
ret.pop(0)
|
||||
else:
|
||||
break
|
||||
return ret
|
||||
|
||||
|
||||
class TestEndToEnd(unittest2.TestCase):
|
||||
"""Integration test classs."""
|
||||
|
||||
def _mock_lock(self):
|
||||
@contextmanager
|
||||
def _lock(lock_name, blocking=True, timeout=10):
|
||||
"""mock lock."""
|
||||
try:
|
||||
yield lock_name
|
||||
finally:
|
||||
pass
|
||||
|
||||
self.lock_backup_ = util.lock
|
||||
util.lock = mock.Mock(side_effect=_lock)
|
||||
|
||||
def _unmock_lock(self):
|
||||
util.lock = self.lock_backup_
|
||||
|
||||
def _test(self, config_file):
|
||||
full_path = '%s/data/%s' % (
|
||||
os.path.dirname(os.path.abspath(__file__)),
|
||||
config_file)
|
||||
config_file_path = '%s/%s' % (
|
||||
full_path, config_file)
|
||||
|
||||
class _TmpLogMocker:
|
||||
"""Mocks logs from a check point."""
|
||||
|
||||
def __init__(in_self, source_path, check_point, tmp_logdir):
|
||||
in_self.source_path = source_path
|
||||
in_self.check_point = check_point
|
||||
in_self.__logdir__ = tmp_logdir
|
||||
|
||||
def _merge_logs(in_self):
|
||||
dest = in_self.__logdir__
|
||||
source = os.path.join(
|
||||
in_self.source_path, in_self.check_point)
|
||||
shutil.copytree(source, dest)
|
||||
for root, sub_dir, files in os.walk(dest):
|
||||
for file in files:
|
||||
new_name = file.replace(".template", "")
|
||||
os.rename(
|
||||
os.path.join(root, file),
|
||||
os.path.join(root, new_name))
|
||||
|
||||
config_globals = {}
|
||||
config_locals = {}
|
||||
execfile(config_file_path, config_globals, config_locals)
|
||||
self._prepare_database(config_locals)
|
||||
cluster_hosts = {}
|
||||
with database.session() as session:
|
||||
clusters = session.query(Cluster).all()
|
||||
for cluster in clusters:
|
||||
cluster_hosts[cluster.id] = [
|
||||
host.id for host in cluster.hosts]
|
||||
|
||||
mock_log_path = os.path.join(full_path, "anamon")
|
||||
check_points = os.listdir(mock_log_path)
|
||||
check_points = sortCheckPoints(check_points)
|
||||
for check_point in check_points:
|
||||
tmp_logdir = os.path.join('/tmp/mocklogs', str(uuid.uuid4()))
|
||||
log_mocker = _TmpLogMocker(mock_log_path, check_point, tmp_logdir)
|
||||
setting.INSTALLATION_LOGDIR = log_mocker.__logdir__
|
||||
logging.info('temp logging dir set to: %s',
|
||||
setting.INSTALLATION_LOGDIR)
|
||||
log_mocker._merge_logs()
|
||||
reload(file_matcher)
|
||||
update_progress.update_progress(cluster_hosts)
|
||||
self._check_progress(config_locals, config_file, check_point)
|
||||
|
||||
def _check_progress(self, mock_configs, test_type, check_point):
|
||||
with database.session() as session:
|
||||
host_states = session.query(HostState).all()
|
||||
cluster_states = session.query(ClusterState).all()
|
||||
expected = mock_configs['EXPECTED']
|
||||
|
||||
for host_state in host_states:
|
||||
states = self._filter_query_result(
|
||||
host_state, ("hostname", "state", "progress"))
|
||||
expected_host_states = expected[
|
||||
test_type][check_point][
|
||||
'host_states'][host_state.hostname]
|
||||
self.assertEqual(expected_host_states, states)
|
||||
|
||||
for cluster_state in cluster_states:
|
||||
states = self._filter_query_result(
|
||||
cluster_state, ("clustername", "state", "progress"))
|
||||
expected_cluster_states = expected[
|
||||
test_type][check_point][
|
||||
'cluster_states'][cluster_state.clustername]
|
||||
self.assertEqual(expected_cluster_states, states)
|
||||
|
||||
def _filter_query_result(self, model, keywords):
|
||||
filtered_dict = {}
|
||||
for keyword in keywords:
|
||||
pair = {keyword: eval("model.%s" % keyword)}
|
||||
filtered_dict.update(pair)
|
||||
return filtered_dict
|
||||
|
||||
def _prepare_database(self, config_locals):
|
||||
"""Prepare database."""
|
||||
with database.session() as session:
|
||||
adapters = {}
|
||||
for adapter_config in config_locals['ADAPTERS']:
|
||||
adapter = Adapter(**adapter_config)
|
||||
session.add(adapter)
|
||||
adapters[adapter_config['name']] = adapter
|
||||
|
||||
roles = {}
|
||||
for role_config in config_locals['ROLES']:
|
||||
role = Role(**role_config)
|
||||
session.add(role)
|
||||
roles[role_config['name']] = role
|
||||
|
||||
switches = {}
|
||||
for switch_config in config_locals['SWITCHES']:
|
||||
switch = Switch(**switch_config)
|
||||
session.add(switch)
|
||||
switches[switch_config['ip']] = switch
|
||||
|
||||
machines = {}
|
||||
for switch_ip, machine_configs in (
|
||||
config_locals['MACHINES_BY_SWITCH'].items()
|
||||
):
|
||||
for machine_config in machine_configs:
|
||||
machine = Machine(**machine_config)
|
||||
machines[machine_config['mac']] = machine
|
||||
machine.switch = switches[switch_ip]
|
||||
session.add(machine)
|
||||
|
||||
clusters = {}
|
||||
for cluster_config in config_locals['CLUSTERS']:
|
||||
adapter_name = cluster_config['adapter']
|
||||
del cluster_config['adapter']
|
||||
cluster = Cluster(**cluster_config)
|
||||
clusters[cluster_config['name']] = cluster
|
||||
cluster.adapter = adapters[adapter_name]
|
||||
cluster.state = ClusterState(
|
||||
state="INSTALLING", progress=0.0, message='')
|
||||
session.add(cluster)
|
||||
|
||||
hosts = {}
|
||||
for cluster_name, host_configs in (
|
||||
config_locals['HOSTS_BY_CLUSTER'].items()
|
||||
):
|
||||
for host_config in host_configs:
|
||||
mac = host_config['mac']
|
||||
del host_config['mac']
|
||||
host = ClusterHost(**host_config)
|
||||
hosts['%s.%s' % (
|
||||
host_config['hostname'], cluster_name)] = host
|
||||
host.machine = machines[mac]
|
||||
host.cluster = clusters[cluster_name]
|
||||
host.state = HostState(
|
||||
state="INSTALLING", progress=0.0, message='')
|
||||
session.add(host)
|
||||
|
||||
def setUp(self):
|
||||
super(TestEndToEnd, self).setUp()
|
||||
logsetting.init()
|
||||
database.create_db()
|
||||
self._mock_lock()
|
||||
os.system = mock.Mock()
|
||||
self.progress_checker_ = {}
|
||||
|
||||
def tearDown(self):
|
||||
database.drop_db()
|
||||
self._unmock_lock()
|
||||
#shutil.rmtree('/tmp/mocklogs/')
|
||||
super(TestEndToEnd, self).tearDown()
|
||||
|
||||
def test_1(self):
|
||||
self._test('test1')
|
||||
|
||||
def test_2(self):
|
||||
self._test('test2')
|
||||
|
||||
if __name__ == '__main__':
|
||||
flags.init()
|
||||
logsetting.init()
|
||||
unittest2.main()
|
@ -1,13 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
@ -1,2 +0,0 @@
|
||||
id,name,os,target_system
|
||||
1,Centos_openstack,Centos,openstack
|
|
@ -1,3 +0,0 @@
|
||||
id,name,security_config.server_credentials.username,security_config.server_credentials.password,security_config.service_credentials.username,security_config.service_credentials.password,security_config.console_credentials.username,security_config.console_credentials.password,networking_config.interfaces.management.nic,networking_config.interfaces.management.netmask,networking_config.interfaces.management.promisc,networking_config.interfaces.management.ip_end,networking_config.interfaces.management.gateway,networking_config.interfaces.management.ip_start,networking_config.interfaces.storage.nic,networking_config.interfaces.storage.netmask,networking_config.interfaces.storage.promisc,networking_config.interfaces.storage.ip_end,networking_config.interfaces.storage.gateway,networking_config.interfaces.storage.ip_start,networking_config.interfaces.public.nic,networking_config.interfaces.public.netmask,networking_config.interfaces.public.promisc,networking_config.interfaces.public.ip_end,networking_config.interfaces.public.gateway,networking_config.interfaces.public.ip_start,networking_config.interfaces.tenant.nic,networking_config.interfaces.tenant.netmask,networking_config.interfaces.tenant.promisc,networking_config.interfaces.tenant.ip_end,networking_config.interfaces.tenant.gateway,networking_config.interfaces.tenant.ip_start,networking_config.global.nameservers,networking_config.global.ntp_server,networking_config.global.gateway,networking_config.global.ha_vip,networking_config.global.proxy,networking_config.global.search_path,partition_config,adapter_id,state
|
||||
1,cluster_01,root,root,service,admin,console,admin,eth0,255.255.255.0,1,10.120.1.200,None,10.120.1.100,eth3,255.255.255.0,0,172.29.1.200,None,172.29.1.100,eth2,255.255.255.0,0,12.145.1.200,None,12.145.1.100,eth1,255.255.255.0,0,192.168.1.200,None,192.168.1.100,8.8.8.8,127.0.0.1,192.168.1.1,None,http://127.0.0.1:3128,ods.com,"/home 20%;/tmp 10%;/var 30%;",1,READY
|
||||
2,cluster_02,root,root,service,admin,console,admin,eth0,255.255.255.0,1,10.120.2.200,None,10.120.2.100,eth3,255.255.255.0,0,172.29.2.200,None,172.29.2.100,eth2,255.255.255.0,0,12.145.2.200,None,12.145.2.100,eth1,255.255.255.0,0,192.168.2.200,None,192.168.2.100,8.8.8.8,127.0.0.1,192.168.1.1,None,http://127.0.0.1:3128,ods.com,"/home 20%;/tmp 10%;/var 30%;",1,ERROR
|
|
@ -1,7 +0,0 @@
|
||||
id,cluster_id,hostname,machine_id,config_data.networking.interfaces.management.ip,config_data.networking.interfaces.tenant.ip,config_data.roles,state,deploy_action
|
||||
1,1,host_01,1,10.120.1.100,192.168.1.100,['base'],READY,0
|
||||
2,1,host_02,2,10.120.1.101,192.168.1.101,['base'],READY,0
|
||||
3,1,host_03,3,10.120.1.102,192.168.1.102,['base'],READY,0
|
||||
4,2,host_01,4,10.120.2.100,192.168.2.100,['base'],ERROR,0
|
||||
5,2,host_02,5,10.120.2.101,192.168.2.101,['base'],READY,0
|
||||
6,2,host_03,6,10.120.2.102,192.168.2.102,['base'],ERROR,0
|
|
@ -1,12 +0,0 @@
|
||||
id,mac,port,vlan,switch_id
|
||||
1,00:0c:27:88:0c:a1,1,1,1
|
||||
2,00:0c:27:88:0c:a2,2,1,1
|
||||
3,00:0c:27:88:0c:a3,3,1,1
|
||||
4,00:0c:27:88:0c:b1,1,1,2
|
||||
5,00:0c:27:88:0c:b2,2,1,2
|
||||
6,00:0c:27:88:0c:b3,3,1,2
|
||||
7,00:0c:27:88:0c:c1,1,1,3
|
||||
8,00:0c:27:88:0c:c2,2,1,3
|
||||
9,00:0c:27:88:0c:c3,3,1,3
|
||||
10,00:0c:27:88:0c:d1,1,1,4
|
||||
11,00:0c:27:88:0c:d2,2,1,4
|
|
@ -1,2 +0,0 @@
|
||||
id,name,target_system,description
|
||||
1,compute,openstack,None
|
|
@ -1,5 +0,0 @@
|
||||
id,ip,credential_data.version,credential_data.community
|
||||
1,192.168.2.1,2c,public
|
||||
2,192.168.2.2,2c,public
|
||||
3,192.168.2.3,2c,public
|
||||
4,192.168.2.4,2c,public
|
|
@ -1,3 +0,0 @@
|
||||
id,ip,filter_port
|
||||
1,192.168.1.10,1
|
||||
2,192.168.1.11,2
|
|
1575
compass/tests/api/test_api.py
Executable file → Normal file
1575
compass/tests/api/test_api.py
Executable file → Normal file
File diff suppressed because it is too large
Load Diff
@ -1,126 +0,0 @@
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
import simplejson as json
|
||||
import time
|
||||
import unittest2
|
||||
|
||||
os.environ['COMPASS_IGNORE_SETTING'] = 'true'
|
||||
|
||||
|
||||
from compass.utils import setting_wrapper as setting
|
||||
reload(setting)
|
||||
|
||||
from compass.api import app
|
||||
from compass.api import auth
|
||||
from compass.api import login_manager
|
||||
|
||||
from compass.db import database
|
||||
from compass.db.model import User
|
||||
|
||||
from compass.utils import flags
|
||||
from compass.utils import logsetting
|
||||
|
||||
|
||||
login_manager.init_app(app)
|
||||
|
||||
|
||||
class AuthTestCase(unittest2.TestCase):
|
||||
DATABASE_URL = 'sqlite://'
|
||||
USER_CREDENTIALS = {"email": "admin@abc.com", "password": "admin"}
|
||||
|
||||
def setUp(self):
|
||||
super(AuthTestCase, self).setUp()
|
||||
logsetting.init()
|
||||
database.init(self.DATABASE_URL)
|
||||
database.create_db()
|
||||
|
||||
self.test_client = app.test_client()
|
||||
|
||||
def tearDown(self):
|
||||
database.drop_db()
|
||||
super(AuthTestCase, self).tearDown()
|
||||
|
||||
def test_login_logout(self):
|
||||
url = '/login'
|
||||
# a. successfully login
|
||||
data = self.USER_CREDENTIALS
|
||||
return_value = self.test_client.post(url, data=data,
|
||||
follow_redirects=True)
|
||||
|
||||
self.assertIn("Logged in successfully!", return_value.get_data())
|
||||
|
||||
url = '/logout'
|
||||
return_value = self.test_client.get(url, follow_redirects=True)
|
||||
self.assertIn("You have logged out!", return_value.get_data())
|
||||
|
||||
def test_login_failed(self):
|
||||
|
||||
url = '/login'
|
||||
# a. Failed to login with incorrect user info
|
||||
data_list = [{"email": "xxx", "password": "admin"},
|
||||
{"email": "admin@abc.com", "password": "xxx"}]
|
||||
for data in data_list:
|
||||
return_value = self.test_client.post(url, data=data,
|
||||
follow_redirects=True)
|
||||
self.assertIn("Wrong username or password!",
|
||||
return_value.get_data())
|
||||
|
||||
# b. Inactive user
|
||||
User.query.filter_by(email="admin@abc.com").update({"active": False})
|
||||
|
||||
data = {"email": "admin@abc.com", "password": "admin"}
|
||||
return_value = self.test_client.post(url, data=data,
|
||||
follow_redirects=True)
|
||||
self.assertIn("This username is disabled!", return_value.get_data())
|
||||
|
||||
def test_get_token(self):
|
||||
url = '/token'
|
||||
|
||||
# a. Failed to get token by posting incorrect user email
|
||||
req_data = json.dumps({"email": "xxx", "password": "admin"})
|
||||
return_value = self.test_client.post(url, data=req_data)
|
||||
self.assertEqual(401, return_value.status_code)
|
||||
|
||||
# b. Success to get token
|
||||
req_data = json.dumps(self.USER_CREDENTIALS)
|
||||
return_value = self.test_client.post(url, data=req_data)
|
||||
resp = json.loads(return_value.get_data())
|
||||
self.assertIsNotNone(resp['token'])
|
||||
|
||||
def test_header_loader(self):
|
||||
# Get Token
|
||||
url = '/token'
|
||||
req_data = json.dumps(self.USER_CREDENTIALS)
|
||||
return_value = self.test_client.post(url, data=req_data)
|
||||
token = json.loads(return_value.get_data())['token']
|
||||
user_id = auth.get_user_info_from_token(token, 50)
|
||||
self.assertEqual(1, user_id)
|
||||
|
||||
# Test on token expiration.
|
||||
# Sleep 5 seconds but only allow token lifetime of 2 seconds
|
||||
time.sleep(5)
|
||||
user_id = auth.get_user_info_from_token(token, 2)
|
||||
self.assertIsNone(user_id)
|
||||
|
||||
# Get None user from the incorrect token
|
||||
result = auth.get_user_info_from_token("xxx", 50)
|
||||
self.assertIsNone(result)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
flags.init()
|
||||
logsetting.init()
|
||||
unittest2.main()
|
@ -1,297 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""run fake flask server for test."""
|
||||
import copy
|
||||
import os
|
||||
import simplejson as json
|
||||
import sys
|
||||
|
||||
|
||||
curr_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
compass_dir = os.path.dirname(os.path.dirname(os.path.dirname(curr_dir)))
|
||||
sys.path.append(compass_dir)
|
||||
|
||||
|
||||
from compass.api import app
|
||||
from compass.db import database
|
||||
from compass.db.model import Adapter
|
||||
from compass.db.model import Cluster
|
||||
from compass.db.model import ClusterHost
|
||||
from compass.db.model import ClusterState
|
||||
from compass.db.model import HostState
|
||||
from compass.db.model import Machine
|
||||
from compass.db.model import Role
|
||||
from compass.db.model import Switch
|
||||
from compass.db.model import SwitchConfig
|
||||
from compass.utils import util
|
||||
|
||||
|
||||
def setupDb():
|
||||
"""setup database."""
|
||||
SECURITY_CONFIG = {
|
||||
"security": {
|
||||
"server_credentials": {
|
||||
"username": "root",
|
||||
"password": "root"},
|
||||
"service_credentials": {
|
||||
"username": "service",
|
||||
"password": "admin"},
|
||||
"console_credentials": {
|
||||
"username": "console",
|
||||
"password": "admin"}
|
||||
}
|
||||
}
|
||||
|
||||
NET_CONFIG = {
|
||||
"networking": {
|
||||
"interfaces": {
|
||||
"management": {
|
||||
"ip_start": "10.120.8.100",
|
||||
"ip_end": "10.120.8.200",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "",
|
||||
"nic": "eth0",
|
||||
"promisc": 1
|
||||
},
|
||||
"tenant": {
|
||||
"ip_start": "192.168.10.100",
|
||||
"ip_end": "192.168.10.200",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "",
|
||||
"nic": "eth1",
|
||||
"promisc": 0
|
||||
},
|
||||
"public": {
|
||||
"ip_start": "12.145.68.100",
|
||||
"ip_end": "12.145.68.200",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "",
|
||||
"nic": "eth2",
|
||||
"promisc": 0
|
||||
},
|
||||
"storage": {
|
||||
"ip_start": "172.29.8.100",
|
||||
"ip_end": "172.29.8.200",
|
||||
"netmask": "255.255.255.0",
|
||||
"gateway": "",
|
||||
"nic": "eth3",
|
||||
"promisc": 0
|
||||
}
|
||||
},
|
||||
"global": {
|
||||
"nameservers": "8.8.8.8",
|
||||
"search_path": "ods.com",
|
||||
"gateway": "192.168.1.1",
|
||||
"proxy": "http://127.0.0.1:3128",
|
||||
"ntp_server": "127.0.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
PAR_CONFIG = {
|
||||
"partition": "/home 20%;/tmp 10%;/var 30%;"
|
||||
}
|
||||
|
||||
HOST_CONFIG = {
|
||||
"networking": {
|
||||
"interfaces": {
|
||||
"management": {
|
||||
"ip": "%s"
|
||||
},
|
||||
"tenant": {
|
||||
"ip": "%s"
|
||||
}
|
||||
}
|
||||
},
|
||||
"roles": ["base"]
|
||||
}
|
||||
|
||||
print "Setting up DB ..."
|
||||
with database.session() as session:
|
||||
# populate switch_config
|
||||
switch_config = SwitchConfig(ip='192.168.1.10', filter_port='1')
|
||||
session.add(switch_config)
|
||||
|
||||
# populate role table
|
||||
role = Role(name='compute', target_system='openstack')
|
||||
session.add(role)
|
||||
|
||||
# Populate one adapter to DB
|
||||
adapter = Adapter(name='Centos_openstack', os='Centos',
|
||||
target_system='openstack')
|
||||
session.add(adapter)
|
||||
|
||||
#Populate switches info to DB
|
||||
switches = [Switch(ip="192.168.2.1",
|
||||
credential={"version": "2c",
|
||||
"community": "public"},
|
||||
vendor="huawei",
|
||||
state="under_monitoring"),
|
||||
Switch(ip="192.168.2.2",
|
||||
credential={"version": "2c",
|
||||
"community": "public"},
|
||||
vendor="huawei",
|
||||
state="under_monitoring"),
|
||||
Switch(ip="192.168.2.3",
|
||||
credential={"version": "2c",
|
||||
"community": "public"},
|
||||
vendor="huawei",
|
||||
state="under_monitoring"),
|
||||
Switch(ip="192.168.2.4",
|
||||
credential={"version": "2c",
|
||||
"community": "public"},
|
||||
vendor="huawei",
|
||||
state="under_monitoring")]
|
||||
session.add_all(switches)
|
||||
|
||||
# Populate machines info to DB
|
||||
machines = [
|
||||
Machine(mac='00:0c:27:88:0c:a1', port='1', vlan='1',
|
||||
switch_id=1),
|
||||
Machine(mac='00:0c:27:88:0c:a2', port='2', vlan='1',
|
||||
switch_id=1),
|
||||
Machine(mac='00:0c:27:88:0c:a3', port='3', vlan='1',
|
||||
switch_id=1),
|
||||
Machine(mac='00:0c:27:88:0c:b1', port='1', vlan='1',
|
||||
switch_id=2),
|
||||
Machine(mac='00:0c:27:88:0c:b2', port='2', vlan='1',
|
||||
switch_id=2),
|
||||
Machine(mac='00:0c:27:88:0c:b3', port='3', vlan='1',
|
||||
switch_id=2),
|
||||
Machine(mac='00:0c:27:88:0c:c1', port='1', vlan='1',
|
||||
switch_id=3),
|
||||
Machine(mac='00:0c:27:88:0c:c2', port='2', vlan='1',
|
||||
switch_id=3),
|
||||
Machine(mac='00:0c:27:88:0c:c3', port='3', vlan='1',
|
||||
switch_id=3),
|
||||
Machine(mac='00:0c:27:88:0c:d1', port='1', vlan='1',
|
||||
switch_id=4),
|
||||
Machine(mac='00:0c:27:88:0c:d2', port='2', vlan='1',
|
||||
switch_id=4),
|
||||
]
|
||||
|
||||
session.add_all(machines)
|
||||
# Popluate clusters into DB
|
||||
"""
|
||||
a. cluster #1: a new machine will be added to it.
|
||||
b. cluster #2: a failed machine needs to be re-deployed.
|
||||
c. cluster #3: a new cluster with 3 hosts will be deployed.
|
||||
"""
|
||||
clusters_networking_config = [
|
||||
{"networking":
|
||||
{"interfaces": {"management": {"ip_start": "10.120.1.100",
|
||||
"ip_end": "10.120.1.200"},
|
||||
"tenant": {"ip_start": "192.168.1.100",
|
||||
"ip_end": "192.168.1.200"},
|
||||
"public": {"ip_start": "12.145.1.100",
|
||||
"ip_end": "12.145.1.200"},
|
||||
"storage": {"ip_start": "172.29.1.100",
|
||||
"ip_end": "172.29.1.200"}}}},
|
||||
{"networking":
|
||||
{"interfaces": {"management": {"ip_start": "10.120.2.100",
|
||||
"ip_end": "10.120.2.200"},
|
||||
"tenant": {"ip_start": "192.168.2.100",
|
||||
"ip_end": "192.168.2.200"},
|
||||
"public": {"ip_start": "12.145.2.100",
|
||||
"ip_end": "12.145.2.200"},
|
||||
"storage": {"ip_start": "172.29.2.100",
|
||||
"ip_end": "172.29.2.200"}}}}
|
||||
]
|
||||
cluster_names = ['cluster_01', 'cluster_02']
|
||||
for name, networking_config in zip(cluster_names,
|
||||
clusters_networking_config):
|
||||
nconfig = copy.deepcopy(NET_CONFIG)
|
||||
util.merge_dict(nconfig, networking_config)
|
||||
c = Cluster(
|
||||
name=name, adapter_id=1,
|
||||
security_config=json.dumps(SECURITY_CONFIG['security']),
|
||||
networking_config=json.dumps(nconfig['networking']),
|
||||
partition_config=json.dumps(PAR_CONFIG['partition']))
|
||||
session.add(c)
|
||||
# Populate hosts to each cluster
|
||||
host_mips = ['10.120.1.100', '10.120.1.101', '10.120.1.102',
|
||||
'10.120.2.100', '10.120.2.101', '10.120.2.102']
|
||||
host_tips = ['192.168.1.100', '192.168.1.101', '192.168.1.102',
|
||||
'192.168.2.100', '192.168.2.101', '192.168.2.102']
|
||||
|
||||
hosts_config = []
|
||||
for mip, tip in zip(host_mips, host_tips):
|
||||
config = copy.deepcopy(HOST_CONFIG)
|
||||
config['networking']['interfaces']['management']['ip'] = mip
|
||||
config['networking']['interfaces']['tenant']['ip'] = tip
|
||||
hosts_config.append(json.dumps(config))
|
||||
|
||||
hosts = [
|
||||
ClusterHost(hostname='host_01', machine_id=1, cluster_id=1,
|
||||
config_data=hosts_config[0]),
|
||||
ClusterHost(hostname='host_02', machine_id=2, cluster_id=1,
|
||||
config_data=hosts_config[1]),
|
||||
ClusterHost(hostname='host_03', machine_id=3, cluster_id=1,
|
||||
config_data=hosts_config[2]),
|
||||
ClusterHost(hostname='host_01', machine_id=4, cluster_id=2,
|
||||
config_data=hosts_config[3]),
|
||||
ClusterHost(hostname='host_02', machine_id=5, cluster_id=2,
|
||||
config_data=hosts_config[4]),
|
||||
ClusterHost(hostname='host_03', machine_id=6, cluster_id=2,
|
||||
config_data=hosts_config[5])
|
||||
]
|
||||
session.add_all(hosts)
|
||||
|
||||
# Populate cluster state and host state
|
||||
cluster_states = [
|
||||
ClusterState(id=1, state="READY", progress=1.0,
|
||||
message="Successfully!"),
|
||||
ClusterState(id=2, state="ERROR", progress=0.5,
|
||||
message="Failed!")
|
||||
]
|
||||
session.add_all(cluster_states)
|
||||
|
||||
host_states = [
|
||||
HostState(id=1, state="READY", progress=1.0,
|
||||
message="Successfully!"),
|
||||
HostState(id=2, state="READY", progress=1.0,
|
||||
message="Successfully!"),
|
||||
HostState(id=3, state="READY", progress=1.0,
|
||||
message="Successfully!"),
|
||||
HostState(id=4, state="ERROR", progress=0.5,
|
||||
message="Failed!"),
|
||||
HostState(id=5, state="READY", progress=1.0,
|
||||
message="Successfully!"),
|
||||
HostState(id=6, state="ERROR", progress=1.0,
|
||||
message="Failed!")
|
||||
]
|
||||
session.add_all(host_states)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
db_url, port = sys.argv[1:]
|
||||
print db_url
|
||||
try:
|
||||
database.init(db_url)
|
||||
database.create_db()
|
||||
except Exception as error:
|
||||
print "=====> Failed to create database"
|
||||
print error
|
||||
|
||||
try:
|
||||
setupDb()
|
||||
except Exception as error:
|
||||
print "setupDb=====>Failed to setup database"
|
||||
print error
|
||||
|
||||
print "Starting server ....."
|
||||
print "port is ", port
|
||||
app.run(use_reloader=False, host="0.0.0.0", port=port)
|
@ -1,171 +0,0 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright 2014 Huawei Technologies Co. Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""test deploy from csv file."""
|
||||
import mock
|
||||
import os
|
||||
import shutil
|
||||
import signal
|
||||
import simplejson as json
|
||||
import socket
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
import unittest2
|
||||
|
||||
|
||||
curr_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
api_cmd_path = '/'.join((
|
||||
os.path.dirname(os.path.dirname(os.path.dirname(curr_dir))), 'bin'))
|
||||
sys.path.append(api_cmd_path)
|
||||
|
||||
|
||||
import csvdeploy
|
||||
|
||||
|
||||
os.environ['COMPASS_IGNORE_SETTING'] = 'true'
|
||||
|
||||
|
||||
from compass.utils import setting_wrapper as setting
|
||||
reload(setting)
|
||||
|
||||
|
||||
from compass.db import database
|
||||
from compass.db.model import Cluster
|
||||
from compass.db.model import ClusterHost
|
||||
from compass.utils import flags
|
||||
from compass.utils import logsetting
|
||||
|
||||
from compass.apiclient.restful import Client
|
||||
|
||||
|
||||
class ApiTestCase(unittest2.TestCase):
|
||||
def setUp(self):
|
||||
super(ApiTestCase, self).setUp()
|
||||
# Create database file
|
||||
try:
|
||||
self.db_dir = tempfile.mkdtemp()
|
||||
self.db_file = '/'.join((self.db_dir, 'app.db'))
|
||||
except Exception:
|
||||
sys.exit(2)
|
||||
|
||||
database_url = '/'.join(('sqlite://', self.db_file))
|
||||
# Get a free random port for app server
|
||||
|
||||
try:
|
||||
tmp_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
tmp_socket.bind(('', 0))
|
||||
self.port = tmp_socket.getsockname()[-1]
|
||||
tmp_socket.close()
|
||||
time.sleep(10)
|
||||
except socket.error:
|
||||
sys.exit(1)
|
||||
|
||||
cmd = '%s run_server.py %s %d' % (
|
||||
sys.executable, database_url, self.port)
|
||||
self.proc = subprocess.Popen(cmd, shell=True,
|
||||
stderr=subprocess.PIPE,
|
||||
preexec_fn=os.setsid,
|
||||
cwd=curr_dir)
|
||||
time.sleep(5)
|
||||
|
||||
# Initial database
|
||||
try:
|
||||
database.init(database_url)
|
||||
except Exception as error:
|
||||
print "Exception when initializing database: %s" % error
|
||||
|
||||
def tearDown(self):
|
||||
super(ApiTestCase, self).tearDown()
|
||||
|
||||
database.ENGINE.dispose()
|
||||
database.init('sqlite://')
|
||||
os.killpg(self.proc.pid, signal.SIGTERM)
|
||||
try:
|
||||
if os.path.exists(self.db_dir):
|
||||
shutil.rmtree(self.db_dir)
|
||||
except Exception:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
class TestAPICommand(ApiTestCase):
|
||||
CSV_IMPORT_DIR = '/'.join((curr_dir, 'test_files'))
|
||||
|
||||
def setUp(self):
|
||||
super(TestAPICommand, self).setUp()
|
||||
self.deploy_return_val = {
|
||||
'status': 'accepted',
|
||||
'deployment': {'cluster': {'cluster_id': 1,
|
||||
'url': '/clusters/1/progress'},
|
||||
'hosts': [{'host_id': 1,
|
||||
'url': '/cluster_hosts/1/progress'}]}}
|
||||
|
||||
def tearDown(self):
|
||||
# Remove the resulting output file from the test case.
|
||||
try:
|
||||
os.remove(os.path.join(self.CSV_IMPORT_DIR, 'progress.csv'))
|
||||
except OSError:
|
||||
pass
|
||||
super(TestAPICommand, self).tearDown()
|
||||
|
||||
def test_start(self):
|
||||
"""test start deploy from csv."""
|
||||
Client.deploy_hosts = mock.Mock(
|
||||
return_value=(202, self.deploy_return_val))
|
||||
csvdeploy.write_progress_to_file = mock.Mock()
|
||||
url = "http://127.0.0.1:%d" % self.port
|
||||
csvdeploy.start(self.CSV_IMPORT_DIR, url)
|
||||
clusters = csvdeploy.get_csv('cluster.csv',
|
||||
csv_dir=self.CSV_IMPORT_DIR)
|
||||
with database.session() as session:
|
||||
for csv_cluster in clusters:
|
||||
cluster_id = csv_cluster['id']
|
||||
cluster = session.query(
|
||||
Cluster
|
||||
).filter_by(id=cluster_id).first()
|
||||
self.assertIsNotNone(cluster)
|
||||
self.assertEqual(csv_cluster['name'], cluster.name)
|
||||
self.assertDictEqual(csv_cluster['security_config'],
|
||||
json.loads(cluster.security_config))
|
||||
self.maxDiff = None
|
||||
self.assertDictEqual(csv_cluster['networking_config'],
|
||||
json.loads(cluster.networking_config))
|
||||
self.assertEqual(csv_cluster['partition_config'],
|
||||
json.loads(cluster.partition_config))
|
||||
self.assertEqual(csv_cluster['adapter_id'], cluster.adapter_id)
|
||||
self.maxDiff = None
|
||||
|
||||
hosts = csvdeploy.get_csv('cluster_host.csv',
|
||||
csv_dir=self.CSV_IMPORT_DIR)
|
||||
for csv_host in hosts:
|
||||
cluster_id = csv_host['cluster_id']
|
||||
hostname = csv_host['hostname']
|
||||
host_in_db = session.query(ClusterHost)\
|
||||
.filter_by(cluster_id=cluster_id,
|
||||
hostname=hostname).first()
|
||||
self.assertIsNotNone(host_in_db)
|
||||
self.assertEqual(csv_host['hostname'], host_in_db.hostname)
|
||||
self.assertEqual(csv_host['machine_id'], host_in_db.machine_id)
|
||||
self.assertDictEqual(csv_host['config_data'],
|
||||
json.loads(host_in_db.config_data))
|
||||
self.maxDiff = None
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
flags.init()
|
||||
logsetting.init()
|
||||
unittest2.main()
|
@ -1,2 +0,0 @@
|
||||
id,name,os,target_system
|
||||
1,Centos_openstack,Centos,openstack
|
|
@ -1,4 +0,0 @@
|
||||
id,name,security_config.server_credentials.username,security_config.server_credentials.password,security_config.service_credentials.username,security_config.service_credentials.password,security_config.console_credentials.username,security_config.console_credentials.password,networking_config.interfaces.management.nic,networking_config.interfaces.management.netmask,networking_config.interfaces.management.promisc,networking_config.interfaces.management.ip_end,networking_config.interfaces.management.gateway,networking_config.interfaces.management.ip_start,networking_config.interfaces.storage.nic,networking_config.interfaces.storage.netmask,networking_config.interfaces.storage.promisc,networking_config.interfaces.storage.ip_end,networking_config.interfaces.storage.gateway,networking_config.interfaces.storage.ip_start,networking_config.interfaces.public.nic,networking_config.interfaces.public.netmask,networking_config.interfaces.public.promisc,networking_config.interfaces.public.ip_end,networking_config.interfaces.public.gateway,networking_config.interfaces.public.ip_start,networking_config.interfaces.tenant.nic,networking_config.interfaces.tenant.netmask,networking_config.interfaces.tenant.promisc,networking_config.interfaces.tenant.ip_end,networking_config.interfaces.tenant.gateway,networking_config.interfaces.tenant.ip_start,networking_config.global.nameservers,networking_config.global.ntp_server,networking_config.global.gateway,networking_config.global.ha_vip,networking_config.global.proxy,networking_config.global.search_path,partition_config,adapter_id,state
|
||||
1,cluster_01,root,root,service,admin,console,admin,eth0,255.255.255.0,1,10.120.1.200,None,10.120.1.100,eth3,255.255.255.0,0,172.29.1.200,None,172.29.1.100,eth2,255.255.255.0,0,12.145.1.200,None,12.145.1.100,eth1,255.255.255.0,0,192.168.1.200,None,192.168.1.100,8.8.8.8,127.0.0.1,192.168.1.1,None,http://127.0.0.1:3128,ods.com,"/home 20%;/tmp 10%;/var 30%;",1,READY
|
||||
2,cluster_02,root,root,service,admin,console,admin,eth0,255.255.255.0,1,10.120.2.200,None,10.120.2.100,eth3,255.255.255.0,0,172.29.2.200,None,172.29.2.100,eth2,255.255.255.0,0,12.145.2.200,None,12.145.2.100,eth1,255.255.255.0,0,192.168.2.200,None,192.168.2.100,8.8.8.8,127.0.0.1,192.168.1.1,None,http://127.0.0.1:3128,ods.com,"/home 20%;/tmp 10%;/var 30%;",1,ERROR
|
||||
3,cluster_03,root,admin,service,admin,console,admin,eth0,255.255.255.0,1,10.120.3.200,None,10.120.3.100,eth3,255.255.255.0,0,172.29.3.200,None,172.29.3.100,eth2,255.255.255.0,0,12.145.3.200,None,12.145.3.100,eth1,255.255.255.0,0,192.168.3.200,None,192.168.3.100,8.8.8.8,120.0.0.1,192.168.1.1,None,http://localhost:3128,ods.com,"/home 40%;/tmp 20%;/var 30%;",1,None
|
|
@ -1,12 +0,0 @@
|
||||
id,cluster_id,hostname,machine_id,config_data.networking.interfaces.management.ip,config_data.networking.interfaces.tenant.ip,config_data.roles,state,deploy_action
|
||||
1,1,host_01,1,10.120.1.100,192.168.1.100,['base'],READY,0
|
||||
2,1,host_02,2,10.120.1.101,192.168.1.101,['base'],READY,0
|
||||
3,1,host_03,3,10.120.1.102,192.168.1.102,['base'],READY,0
|
||||
4,2,host_01,4,10.120.2.100,192.168.2.100,['base'],ERROR,1
|
||||
5,2,host_02,5,10.120.2.101,192.168.2.101,['base'],READY,0
|
||||
6,2,host_03,6,10.120.2.102,192.168.2.102,['base'],ERROR,1
|
||||
7,3,host_01,7,10.120.3.100,192.168.3.100,['base'],None,1
|
||||
8,3,host_02,8,10.120.3.101,192.168.3.102,['base'],None,1
|
||||
9,3,host_03,9,10.120.3.102,192.168.3.102,['base'],None,1
|
||||
10,1,host_04,10,10.120.1.103,192.168.1.103,['base'],None,1
|
||||
11,2,host_04,11,10.120.2.104,192.168.2.104,['base'],None,1
|
|
@ -1,12 +0,0 @@
|
||||
id,mac,port,vlan,switch_id
|
||||
1,00:0c:27:88:0c:a1,1,1,1
|
||||
2,00:0c:27:88:0c:a2,2,1,1
|
||||
3,00:0c:27:88:0c:a3,3,1,1
|
||||
4,00:0c:27:88:0c:b1,1,1,2
|
||||
5,00:0c:27:88:0c:b2,2,1,2
|
||||
6,00:0c:27:88:0c:b3,3,1,2
|
||||
7,00:0c:27:88:0c:c1,1,1,3
|
||||
8,00:0c:27:88:0c:c2,2,1,3
|
||||
9,00:0c:27:88:0c:c3,3,1,3
|
||||
10,00:0c:27:88:0c:d1,1,1,4
|
||||
11,00:0c:27:88:0c:d2,2,1,4
|
|
@ -1,2 +0,0 @@
|
||||
id,name,target_system,description
|
||||
1,compute,openstack,None
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user