CentOS 7.1 RDO installation Liberty Problems and Solutions

Source: Internet
Author: User

CentOS 7.1 RDO installation Liberty Problems and Solutions

CentOS 7.1 RDO installation Liberty Problems and Solutions

1. RDO Installation
Sudo yum update-y
Sudo yum install-y https://www.rdoproject.org/repos/rdo-release.rpm
Sudo yum install-y openstack-packstack
Packstack -- allinone

2. Problems and Solutions

Applying 192.168.103.29 _ api_nova.pp
192.168.103.29 _ api_nova.pp: [ERROR]
Applying Puppet manifests [ERROR]
 
ERROR: Error appeared during Puppet run: 192.168.103.29 _ api_nova.pp
Error: cocould not start Service [nova-api]: Execution of '/usr/bin/systemctl start openstack-nova-api' returned 1: Job for openstack-nova-api.service failed. see 'systemctl status openstack-nova-api.service 'and 'journalctl-xn' for details.
You will find full trace in log/var/tmp/packstack/20151111-214219-emaUkm/manifests/192.168.103.29 _ api_nova.pp.log
Please check log file/var/tmp/packstack/20151111-214219-emaUkm/openstack-setup.log for more information
Additional information:
* A new answerfile was created in:/root/packstack-answers-20151111-214220.txt
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* File/root/keystonerc_admin has been created on OpenStack client host 192.168.103.29. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http: // 192.168.103.29/dashboard.
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http: // 192.168.103.29/nagios username: nagiosadmin, password: e940d92875d848ae
[Root @ athCloudLibry10329 ~] # Packstack -- allinone
Welcome to the Packstack setup utility
 
The installation log file is available at:/var/tmp/packstack/20151111-221325-g3t0kh/ openstack-setup.log

Solution:

68 def validate_logfile (logpath ):
69 """
70 Check given Puppet log file for errors and raise PuppetError if there is
71 any error
72 """
73 manifestpath = OS. path. splitext (logpath) [0]
74 manifestfile = OS. path. basename (manifestpath)
75 with open (logpath) as logfile:
76 for line in logfile:
77 line = line. strip ()
78
79 if re_error.search (line) is None:
80 continue
81 error = re_color.sub ('', line) # remove colors
82 if re_ignore.search (line ):
83 msg = ('ignoring expected error during Puppet run % s: % s' %
84 (manifestfile, error ))
85 logger. debug (msg)
86 continue
87 for regex, surrogate in surrogates:
88 match = re. search (regex, error)
89 if match is None:
90 continue
91 args = {}
92 num = 1
93 while True:
94 try:
95 args ['arg % d' % num] = match. group (num)
96 num + = 1
97 TB IndexError:
98 break
99 error = surrogate % args
100
101 # Add, william
102 # message = ('error appeared during Puppet run: % s \ n % s \ N'
103 # 'you will find full trace in log % s' %
104 # (manifestfile, error, logpath ))

 
Solution:

***** Installation completed successfully ******
 
Additional information:
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
* File/root/keystonerc_admin has been created on OpenStack client host 192.168.103.29. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http: // 192.168.103.29/dashboard.
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http: // 192.168.103.29/nagios username: nagiosadmin, password: e940d92875d848ae
* Because of the kernel update the host 192.168.103.29 requires reboot.
* The installation log file is available at:/var/tmp/packstack/20151111-222425-E5F0Jm/openstack-setup.log
* The generated manifests are available at:/var/tmp/packstack/20151111-222425-E5F0Jm/manifests
[Root @ athCloudLibry10329 ~] # Vim/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py
[Root @ athCloudLibry10329 ~] # Vim/usr/lib/python2.7/site-packages/packstack/modules/puppet. py

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.