0

我的主人是:

cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

主机设置按此处所述完成:http: //docs.openstack.org/developer/tripleo-docs/environments/environments.html#virtual-environment直至“继续使用 Undercloud ...”步骤

结果:

sudo virsh list --all
 Id    Name                           State
----------------------------------------------------
 3     baremetalbrbm_0                running
 4     instack                        running
 -     baremetalbrbm_1                shut off

undercloud 设置如下所述完成:http: //docs.openstack.org/developer/tripleo-docs/installation/installation.html

尝试在 instack VM 上进行安装。SSL设置也是如此。

跑步

openstack undercloud install

失败了

+ puppet apply --detailed-exitcodes /etc/puppet/manifests/puppet-stack-config.pp Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked. Warning: Scope(Class[Swift]): swift_hash_suffix has been deprecated and should be replaced with swift_hash_path_suffix, this will be removed Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name parameter default value will be changed to "Compute Service" (according future release. In case you use different value, please update your manifests accordingly. Warning: Scope(Class[Nova::Keystone::Auth]): Note that service_name_v3 parameter default value will be changed to "Compute Service v3" (acco in a future release. In case you use different value, please update your manifests accordingly. Warning: Scope(Class[Glance::Api]): The known_stores parameter is deprecated, use stores instead Warning: Scope(Class[Glance::Api]): default_store not provided, it will be automatically set to glance.store.filesystem.Store Warning: Scope(Class[Nova::Api]): In N cycle, enabled_apis will have to be an array of APIs to enable. Warning: Scope(Class[Neutron::Server]): identity_uri, auth_tenant, auth_user, auth_password, auth_region configuration options are deprecateted options Warning: Scope(Class[Neutron::Agents::Dhcp]): The dhcp_domain parameter is deprecated and will be removed in future releases Warning: Scope(Class[Heat]): Default value for rabbit_heartbeat_timeout_threshold parameter is different from OpenStack project defaults Warning: Scope(Class[Heat]): "admin_user", "admin_password", "admin_tenant_name" configuration options are deprecated in favor of auth_plugi Warning: Scope(Class[Nova::Network::Neutron]): neutron_auth_plugin parameter is deprecated and will be removed in a future release, use neut Error: Could not find class ::ironic::drivers::deploy for instack on node instack Error: Could not find class ::ironic::drivers::deploy for instack on node instack
+ rc=1
+ set -e
+ echo 'puppet apply exited with exit code 1' puppet apply exited with exit code 1
+ '[' 1 '!=' 2 -a 1 '!=' 0 ']'
+ exit 1 [2016-05-19 15:32:29,361] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/cot status 1]

[2016-05-19 15:32:29,362] (os-refresh-config) [ERROR] Aborting... Traceback (most recent call last):   File "<string>", line 1, in <module>   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 987, in install
    _run_orc(instack_env)   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 866, in _run_orc
    _run_live_command(args, instack_env, 'os-refresh-config')   File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 444, in _run_live_command
    raise RuntimeError('%s failed. See log for details.' % name) RuntimeError: os-refresh-config failed. See log for details. Command 'instack-install-undercloud' returned non-zero exit status 1

尝试按照此处http://docs.openstack.org/developer/ironic/deploy/install-guide.html的描述安装 Ironic api,尽管据我了解,这不是必需的,因为 undercloud 没有安装在裸机上机器。

结果相同。

4

1 回答 1

0

经过几个小时的 Puppet 阅读后,我进入 /etc/puppet/modules/ironic/manifests/drivers 文件夹,毫不奇怪地发现部署类不存在。也许它不应该被需要?我从https://github.com/openstack/puppet-ironic/blob/master/manifests/drivers/deploy.pp复制了它,它似乎已经超越了最初报告的错误。手指交叉。

于 2016-05-20T11:42:24.463 回答