Still in the basic learning process, writing this article is also strong courage to write, because a lot of basic knowledge is not quite clear (bird Brother's that the private food has not yet learned it), just in time to catch up with colleagues need to take an environment on the development, since there is a need to try it, below the deployment process encountered problems recorded, For the future may also encounter the same problem know how to solve.
To get to the bottom, it is also the study of the main, a lot of smattering in the middle of finding a packstack automated deployment tools, all of the following operation configuration is done with it.
# yum install-y centos-release-openstack-mitaka# yum update-y# sudo yum install-y openstack-packstack# packstack--alli None
Perform the top-up procedure if everything goes well, it will take about 40 minutes. (estimated), the problem encountered during Packstack--allinone deployment:
1.
Puppeterror:error appeared during Puppet run:10.10.15.14_amqp.pperror:execution of '/usr/bin/yum-d 0-e 0-y install E Rlang ' returned 1:error downloading packages:you would find full trace in Log/var/tmp/packstack/20160518-220204-u2bftf/ma Nifests/10.10.15.14_amqp.pp.log
This error troubled for half a day, online check some information that is the hostname of the problem, good rest/etc/hosts:
127.0.0.1 localhost ops10.10.15.14 ops
Save and then go to execute
# Packstack--allinone
The second problem arises at this point, which occurs the next day:
2.
Puppeterror:error appeared during Puppet run:10.10.15.14_horizon.pperror:execution of '/usr/bin/yum-d 0-e 0-y instal L Openstack-dashboard ' returned 1:error downloading packages:you would find full trace in log/var/tmp/packstack/20160519- 142443-mes6ez/manifests/10.10.15.14_horizon.pp.log
Knowledge reserves is not enough or can not solve, the Internet to find data bar degree Niang not to force or Google, there is said need to run Yum update again until there is no software need to update on it, and then try to run the update command does have a software update, but the feeling should have little impact on the deployment, continue to execute:
# Packstack--allinone
Did not expect to really smooth past, specific what reason or not understand, just happy not a third problem ensued:
3.
Error:error appeared during Puppet run:10.10.15.14_gnocchi.pperror:execution of '/usr/bin/yum-d 0-e 0-y Install Ope Nstack-gnocchi-metricd ' returned 1:error downloading packages:you would find full trace in log/var/tmp/packstack/20160519 -160900-aneten/manifests/10.10.15.14_gnocchi.pp.log
Do not touch the real thing is really not the knowledge of their own is how scarce, one can not solve, and then Google, the article said the need to
NetworkManager stop, and the firewall and SELinux, OK, then try it:
# systemctl List-unit-files |grep neworkmanager networkmanager-dispatcher.service disabledNetworkManager-wait- Online.service disablednetworkmanager.service disabled# systemctl Disable NetworkManager #setenforce 0
Everything is closed, continue packstack--allinone
installation completed successfully ******additional information: * a new answerfile was created in: /root/packstack-answers-20160519-204455.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 10.10.15.14. To use the command line tools you need to source the file. * to access the openstack dashboard browse to http://10.10.15.14/dashboard . Please, find your login credentials stored in the keystonerc_admin in your home directory. * to use nagios, browse to http://10.10.15.14/nagios Username: nagiosadmin, password: 7e49305b747b4a5e * the installation log file is available at: /var/tmp/packstack/20160519-204454-q57asm/openstack-setup.log * the generated manifests are available at: /var/tmp/packstack/ 20160519-204454-q57asm/manifests
Successfully!! This time can be small excitement, try it!
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/80/53/wKiom1c90L3C-I9lAAB2HeNVd-U301.jpg "title=" 1.jpg " alt= "Wkiom1c90l3c-i9laab2henvd-u301.jpg"/>
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/80/53/wKiom1c90OHgpXefABReGWFbQbg598.jpg "style=" float: none; "title=" 88600869438773503.jpg "alt=" Wkiom1c90ohgpxefabregwfbqbg598.jpg "/>
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/80/51/wKioL1c90fODZcQ1ABYfXyKWkQg638.jpg "style=" float: none; "title=" 296169851964098239.jpg "alt=" Wkiol1c90fodzcq1abyfxykwkqg638.jpg "/>
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/80/53/wKiom1c90TCC1ApsABjl2Qu9ulE446.jpg "style=" float: none; "title=" 606901634313695223.jpg "alt=" Wkiom1c90tcc1apsabjl2qu9ule446.jpg "/>
Finally can be logged in, but the configuration may not be quite right, now 8 g of memory plus 5G of swap partitions are all occupied, resulting in the back of the page to hit the code is not the card, and so tomorrow to study well.
It is also a first step, continue to refuel!
Attached to the website of reference:
https://www.rdoproject.org/install/quickstart/
Http://www.flashguides.co.uk/guide/Installing_OpenStack_Kilo_on_CentOS_with_Packstack
http://www.linuxtechi.com/single-node-openstack-liberty-installation-centos-7/
This article from "Product small stream, into Jianghai" blog, please be sure to keep this source http://goodjoe.blog.51cto.com/9173556/1775223
Learn OpenStack Mitaka Single-node deployment notes