记一次云计算测试实验-openstack-icehouse-安装heat

网友投稿 246 2022-11-13

记一次云计算测试实验-openstack-icehouse-安装heat

在controller节点配置

yum install openstack-heat-api openstack-heat-engine openstack-heat-api-cfn

openstack-config --set /etc/heat/heat.conf database connection mysql://heat:000000@controller/heat

mysql -uroot -p000000

CREATE DATABASE heat;

GRANT ALL PRIVILEGES ON heat.* TO 'heat'@'localhost' IDENTIFIED BY '000000';

GRANT ALL PRIVILEGES ON heat.* TO 'heat'@'%' IDENTIFIED BY '000000';

exit

su -s /bin/sh -c "heat-manage db_sync" heat

openstack-config --set /etc/heat/heat.conf DEFAULT qpid_hostname controller

. admin-openrc.sh

keystone user-create --name=heat --pass=000000 --email=heat@localhost

keystone user-role-add --user=heat --tenant=service --role=admin

openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_uri --set /etc/heat/heat.conf keystone_authtoken auth_port 35357

openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_protocol --set /etc/heat/heat.conf keystone_authtoken admin_tenant_name service

openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_user heat

openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_password 000000

openstack-config --set /etc/heat/heat.conf ec2authtoken auth_uri service-create --name=heat --type=orchestration --description="Orchestration"

keystone endpoint-create \

--service-id=$(keystone service-list | awk '/ orchestration / {print $2}') \

--publicurl=\

--internalurl=\

--adminurl=service-create --name=heat-cfn --type=cloudformation --description="Orchestration CloudFormation"

keystone endpoint-create \

--service-id=$(keystone service-list | awk '/ cloudformation / {print $2}') \

--publicurl=\

--internalurl=\

--adminurl=role-create --name heat_stack_user

(注:192.168.100.10为物理controller的管理网络IP地址)

openstack-config --set /etc/heat/heat.conf DEFAULT heat_metadata_server_url --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url openstack-heat-api start

service openstack-heat-api-cfn start

service openstack-heat-engine start

chkconfig openstack-heat-api on

chkconfig openstack-heat-api-cfn on

chkconfig openstack-heat-engine on

. admin-openrc.sh

heat stack-list

刷新web界面。会发现dashboard界面的项目中多了一个编配栏目

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:记一次云计算测试实验-openstack-icehouse-安装sahara
下一篇:DOS工控主板的TCP/IP应用
相关文章

 发表评论

暂时没有评论,来抢沙发吧~