我尝试过在Hetzner (专用服务器)上安装OpenStack,但是它没有正确地完成安装。
我遵循了这份官方指南:
同样的安装是在家里的电脑上完成的,我没有任何问题。
$ sudo yum install -y centos-release-openstack-pike
$ sudo yum update -y
$ sudo yum install -y openstack-packstack
$ sudo packstack --allinone
$ sudo systemctl disable firewalld
$ sudo systemctl stop firewalld
$ sudo systemctl disable NetworkManager
$ sudo systemctl stop NetworkManager
$ sudo systemctl enable network
$ sudo systemctl start network
$ sudo yum install -y centos-release-openstack-pike
yum-config-manager --enable openstack-pike
$ sudo yum update -y
$ sudo yum install -y openstack-packstack
$ sudo packstack --allinone问题是,Hetzner提供单一的浮动IP或成熟块直接路由到您的机器。
有人遇到了这个问题,请提供一点帮助。
我在这里添加错误信息:
Applying 94.130.220.61_controller.pp
Testing if puppet apply is finished: 94.130.220.61_controller.pp [ / ]
94.130.220.61_controller.pp: [ ERROR ]
Applying Puppet manifests [ ERROR ]
ERROR : Error appeared during Puppet run: 94.130.220.61_controller.pp
Error: /Stage[main]/Nova::Db::Sync/Exec[nova-db-sync]: Failed to call refresh: Command exceeded timeout
You will find full trace in log /var/tmp/packstack/20180129-090526-jGw32P/manifests/94.130.220.61_controller.pp.log
Please check log file /var/tmp/packstack/20180129-090526-jGw32P/openstack-setup.log for more information
Additional information:
* A new answerfile was created in: /root/packstack-answers-20180129-090528.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 94.130.220.61. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to http://94.130.220.61/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.谢谢
发布于 2019-01-02 03:10:41
有相同的问题,通过更改木偶的超时值来修正它。
/usr/share/openstack-puppet/modules/nova/manifests/db/sync.pp
class nova::db::sync(
$extra_params = undef,
$db_sync_timeout = 300,
)将$db_sync_timeout从300更改为3600
我不得不对中子/usr/share/openstack-puppet/modules/neutron/manifests/db/sync.pp做同样的改变
发布于 2020-11-16 01:05:02
在Centos7,Packstack列车上也有同样的问题。硬件惠普DL580与40 SSD与80Threaad,8×SSD在RAID0。我做了一个小任务,如果有人用ansible部署Pack堆栈
- name: Fixup for issue at "https://serverfault.com/questions/894327/how-to-install-rdo-openstack-in-hetzner"
become: yes
become_user: root
lineinfile:
path: "/usr/share/{{ item }}"
regexp: ^ \$db_sync_timeout = \d+,$
line: " $db_sync_timeout = 0,"
state: present
backup: no
loop:
- "openstack-puppet/modules/nova/manifests/db/online_data_migrations.pp"
- "openstack-puppet/modules/nova/manifests/db/sync.pp"
- "openstack-puppet/modules/nova/manifests/db/sync_api.pp"
- "openstack-puppet/modules/neutron/manifests/db/sync.pp"发布于 2021-01-29 00:28:45
确保您已经安装了NTP服务,并且它工作正常。正如您在包堆栈结果中看到的那样:
* Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
https://serverfault.com/questions/894327
复制相似问题