在CentOS 7上安装OpenStack Mitaka版本(6)

[DEFAULT]
...
auth_strategy = keystone
[keystone_authtoken]
...
auth_uri = :5000
auth_url = :35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = NOVA_PASS

绑定ip

[DEFAULT]
...
my_ip = 10.0.0.101

支持neutron

[DEFAULT]
...
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

vnc配置

[vnc]
...
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

glance配置

[glance]
...
api_servers = :9292

并发锁

[oslo_concurrency]
...
lock_path = /var/lib/nova/tmp

同步数据库

# su -s /bin/sh -c "nova-manage api_db sync" nova
# su -s /bin/sh -c "nova-manage db sync" nova

启动

# systemctl enable openstack-nova-api.service \
  openstack-nova-consoleauth.service openstack-nova-scheduler.service \
  openstack-nova-conductor.service openstack-nova-novncproxy.service
# systemctl start openstack-nova-api.service \
  openstack-nova-consoleauth.service openstack-nova-scheduler.service \
  openstack-nova-conductor.service openstack-nova-novncproxy.service

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/20f7ebec44c80756d640c68384734727.html