Centos 7.1 RDO Installation Liberty problems and solutions

Source: Internet
Author: User

1,rdo Installation

sudo yum update-ysudo yum install-y https://www.rdoproject.org/repos/rdo-release.rpmsudo yum install-y openstack-packs Tackpackstack--allinone

2, encountered problems and solutions

applying 192.168.103.29_api_nova.pp192.168.103.29_api_nova.pp:                        [ error  ]           applying puppet manifests                           [ error ]error : error appeared during  puppet run: 192.168.103.29_api_nova.pperror: could 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.logplease check log file /var/tmp/packstack/20151111-214219-emaukm/ Openstack-setup.log for more informationadditional 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[[email  protected] ~]# packstack --allinonewelcome to the packstack setup  utilitythe installation log file is available at: /var/tmp/packstack/ 20151111-221325-g3t0kh/openstack-setup.log

Workaround:

 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                       except IndexError: 98                          break 99                  error =  Surrogate % args100                 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))


Solve the problem:

 **** 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[[email protected] ~]# vim /usr/lib/ python2.7/site-packages/packstack/installer/setup_controller.py[[email protected] ~]# vim  /usr/lib/python2.7/site-packages/packstack/modules/puppet.py


This article from "Welcome comments, Welcome to like" blog, please be sure to keep this source http://swq499809608.blog.51cto.com/797714/1711970

Centos 7.1 RDO Installation Liberty problems and solutions

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.