首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在赫茨纳安装RDO (OpenStack)?

如何在赫茨纳安装RDO (OpenStack)?
EN

Server Fault用户
提问于 2018-01-26 19:49:05
回答 3查看 2.6K关注 0票数 0

我尝试过在Hetzner (专用服务器)上安装OpenStack,但是它没有正确地完成安装。

我遵循了这份官方指南:

RDO装置

同样的安装是在家里的电脑上完成的,我没有任何问题。

代码语言:javascript
复制
$ 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或成熟块直接路由到您的机器。

有人遇到了这个问题,请提供一点帮助。

我在这里添加错误信息:

代码语言:javascript
复制
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.

测井误差Pastebin

谢谢

EN

回答 3

Server Fault用户

发布于 2019-01-02 03:10:41

有相同的问题,通过更改木偶的超时值来修正它。

/usr/share/openstack-puppet/modules/nova/manifests/db/sync.pp

代码语言:javascript
复制
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做同样的改变

票数 1
EN

Server Fault用户

发布于 2020-11-16 01:05:02

在Centos7,Packstack列车上也有同样的问题。硬件惠普DL580与40 SSD与80Threaad,8×SSD在RAID0。我做了一个小任务,如果有人用ansible部署Pack堆栈

代码语言:javascript
复制
    - 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"
票数 0
EN

Server Fault用户

发布于 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.

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/894327

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档