OpenStack中有用的一些命令

重启nova服务

systemctl restart libvirtd.service openstack-nova-compute.service

上传镜像

glance image-create --name "windows7" --file /home/bnc/win7.qcow2 --disk-format qcow2 --container-format bare --progress

有关quota的设置

http://docs.openstack.org/openstack-ops/content/projects_users.html     

NEUTRON PTL名单

https://github.com/openstack/governance/blob/master/reference/projects.yaml#L2404
https://review.openstack.org/#/admin/groups

Metadata的设置

Sending discover...
Sending select for 192.168.60.6...
Lease of 192.168.60.6 obtained, lease time 86400
cirros-ds 'net' up at 1.08
checking http://169.254.169.254/2009-04-04/instance-id
failed 1/20: up 1.09. request failed
failed 2/20: up 13.15. request failed
failed 3/20: up 25.17. request failed
failed 4/20: up 37.18. request failed
failed 5/20: up 49.20. request failed
failed 6/20: up 61.22. request failed
failed 7/20: up 73.24. request failed
failed 8/20: up 85.25. request failed
failed 9/20: up 97.27. request failed
failed 10/20: up 109.29. request failed
failed 11/20: up 121.30. request failed
failed 12/20: up 133.32. request failed

虚拟机启动会去拿metadata, 需要额外设置下

vi /etc/neutron/dhcp_agent.ini
enable_isolated_metadata = True
systemctl restart neutron-dhcp-agent

LVM的设置

http://jingyan.baidu.com/article/148a1921813aaa4d70c3b17e.html
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值