首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Openstack TripleO undercloud安装“找不到class ::ironic::drivers::deploy”

Openstack TripleO undercloud安装“找不到class ::ironic::drivers::deploy”
EN

Stack Overflow用户
提问于 2016-05-20 15:24:23
回答 1查看 540关注 0票数 0

我的主持人是:

代码语言:javascript
复制
cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

主机设置如下所述:http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#virtual-environment直到"Continue with Undercloud ...“步骤

结果是:

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

正在运行

代码语言:javascript
复制
openstack undercloud install

失败,错误为

代码语言:javascript
复制
+ 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,尽管据我所知,这不应该是必要的,因为undercloud不是安装在裸机上的。

同样的结果。

EN

回答 1

Stack Overflow用户

发布于 2016-05-20 19:42:24

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

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

https://stackoverflow.com/questions/37340461

复制
相关文章

相似问题

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