ERROR : Error appeared during Puppet run: 192.168.13.108_cinder.pp
Error: Failed to apply catalog: Found 1 dependency cycle:
You will find full trace in log /var/tmp/packstack/20160920-033611-c2FBxv/manifests/192.168.13.108_cinder.pp.log
[root@openstack ~]# cat /var/tmp/packstack/20160920-033611-c2FBxv/manifests/192.168.13.108_cinder.pp.log
Warning: Scope(Class[Cinder::Backup::Swift]): The OpenStack default value of backup_swift_container differs from the puppet module default of "volumes_backup" and will be changed to the upstream OpenStack default in N-release.
Warning: Scope(Cinder::Type[iscsi]): Parameters $os_password/$os_region_name/$os_tenant_name/$os_username/$os_auth_url are not longer required
Warning: Scope(Cinder::Type[iscsi]): Auth creds will be used from env or /root/openrc file or cinder.conf
Notice: Compiled catalog for openstack.openstacklocal in environment production in 1.19 seconds
Error: Failed to apply catalog: Found 1 dependency cycle:
(Exec[losetup /dev/loop2 /var/lib/cinder/cinder-volumes] => Class[Cinder::Setup_test_volume] => File[/var/lib/cinder] => File[/var/lib/cinder/cinder-volumes] => Exec[losetup /dev/loop2 /var/lib/cinder/cinder-volumes])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz
修改answer-file:
[root@openstack ~]# vim packstack-answers-20160920-033612.txt
CONFIG_CINDER_BACKEND=lvm #默认存储后端使用用块存储,默认为lvm,因为本次实验使用的是已有OpenStack的VM中测试,只一个分区,没有创建cinder-volumes,修改为
CONFIG_CINDER_BACKEND=
ERROR : Error appeared during Puppet run: 192.168.13.108_provision_glance
Error: Execution of '/usr/bin/openstack image create --format shell cirros --public --container-format=bare --disk-format=qcow2 --copy-from=http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img' returned 1: 400 Bad Request: The HTTP URL is invalid: HTTPConnectionPool(host='download.cirros-cloud.net', port=80): Max retries exceeded with url: /0.3.4/cirros-0.3.4-x86_64-disk.img (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x529ed10>: Failed to establish a new connection: [Errno -2] Name or service not known',)) (HTTP 400)
网络太慢,下载cirros镜像失败,再试一次就好了。
[root@openstack ~]# packstack --answer-file=packstack-answers-20160920-033612.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20160920-062350-B8XWSm/openstack-setup.log
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.13.108. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://192.168.13.108/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* To use Nagios, browse to http://192.168.13.108/nagios username: nagiosadmin, password: ab7b1f659e654acc
* Because of the kernel update the host 192.168.13.108 requires reboot.
* The installation log file is available at: /var/tmp/packstack/20160920-062350-B8XWSm/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20160920-062350-B8XWSm/manifests
[root@openstack ~]#