在安装kilo的时候出现了一个报错 solution: add export OS_REGION_NAME=RegionOne into admin-openrc.sh ...
分类:
其他好文 时间:
2016-06-03 01:06:01
阅读次数:
189
killall dnsmasqsystemctl restart openstack-nova-compute/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/u ...
分类:
其他好文 时间:
2016-06-02 19:52:44
阅读次数:
288
1. network和subnet创建代码流程
[root@jun ~(keystone_user1)]# neutron net-create demo-net
[root@jun ~(keystone_user1)]# neutron subnet-create demo-net 1.1.1.0/24 --name demo-subnet --gateway 1....
分类:
系统相关 时间:
2016-06-02 13:46:38
阅读次数:
852
nova和neutron都可以,但是感觉还是用neutron好。 文档感觉很low,去binding python的文档看neutron的简直想死 http://docs.openstack.org/developer/python-neutronclient/ 。。。只能去看源码 看参数还是得去看 ...
分类:
编程语言 时间:
2016-06-01 19:40:36
阅读次数:
153
QQ:16264558 TEL:13963782271
Migrate操作的作用是将instance从当前的计算节点迁移到其他节点上。Migrate不要求源和目标节点必须共享存储,当然共享存储也是可以的。Migrate前必须满足一个条件:计算节点间需要配置nova用户无密码访问。下面是Migrateinstance的流程图向nova-api发送请求nova-api发送消息nov..
分类:
其他好文 时间:
2016-05-30 07:39:18
阅读次数:
213
上一节我们shelveinstance到Glance,本节讨论如何通过unshelve操作恢复该instance。因为Glance中保存了instance的p_w_picpath,unshelve的过程其实就是通过该p_w_picpathlaunch一个新的instance,nova-scheduler也会调度合适的计算节点来创建该instance。instanceunshelve后可..
分类:
其他好文 时间:
2016-05-27 15:07:42
阅读次数:
161
nova rebuild¶ usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll] [--minimal] [--preserve-ephemeral] [--name <name>] [--description < ...
分类:
其他好文 时间:
2016-05-27 14:41:16
阅读次数:
252
接上一篇: Openstack liberty源码分析 之 云主机的启动过程1nova-conductornova-api通过rpc发送启动云主机请求后,nova-conductor会收到该请求,根据路由映射,该请求会递交给
nova/conductor/manager.py.ComputeTaskManager.build_instances处理,如下(函数说明见注释):def build_in...
分类:
其他好文 时间:
2016-05-27 12:34:42
阅读次数:
267
在分析nova boot创建VM的代码流程与neutron-dhcp-agent之前,首先分析neutron-dhcp-agent服务启动流程。与其他服务的启动入口一样。查看setup.cfg文件。
[entry_points]
console_scripts =
neutron-db-manage = neutron.db.migration.cli:main...
分类:
其他好文 时间:
2016-05-27 11:47:13
阅读次数:
300