Openstack TripleO undercloud安装“无法找到class :: ironic :: drivers :: deploy”

时间:2016-05-20 07:24:23

标签: puppet openstack

我的主人是:

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

尝试按照此处所述安装具有讽刺意味的api http://docs.openstack.org/developer/ironic/deploy/install-guide.html虽然据我所知,这不应该是必要的,因为undercloud没有安装在裸机上。

同样的结果。

1 个答案:

答案 0 :(得分:0)

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