本节通过日志文件详细分析 instance start 操作。
下面是 start instance 的流程图
向 nova-api 发送请求
nova-api 发送消息
nova-compute 执行操作
下面我们详细讨论每一个步骤。
向 nova-api 发送请求
客户(可以是 OpenStack 最终用户,也可以是其他程序)向A...
分类:
其他好文 时间:
2016-05-10 02:52:08
阅读次数:
218
本节通过日志文件详细分析instancestart操作。下面是startinstance的流程图向nova-api发送请求nova-api发送消息nova-compute执行操作下面我们详细讨论每一个步骤。向nova-api发送请求客户(可以是OpenStack最终用户,也可以是其他程序)向API(nova-api)发送请求:“帮我启动..
分类:
其他好文 时间:
2016-05-09 11:13:45
阅读次数:
239
本节通过日志文件详细分析 instance start 操作。 下面是 start instance 的流程图 向 nova-api 发送请求 nova-api 发送消息 nova-compute 执行操作 下面我们详细讨论每一个步骤。 向 nova-api 发送请求 客户(可以是 OpenStac ...
分类:
其他好文 时间:
2016-05-09 06:58:00
阅读次数:
161
一.nova环境
参考文档:http://www.aboutyun.com/thread-13089-1-1.html
http://docs.openstack.org/mitaka/install-guide-ubuntu/nova-controller-install.html
1.创建nova数据库并授权
创建
mysql -u root -pCREATE DATABASE nova;...
分类:
系统相关 时间:
2016-05-07 08:35:51
阅读次数:
286
Chess Queen
You probably know how the game of chess is played and how chess queen operates. Two chess queens are in attacking position when they are on same row, column or diagonal of a chess board...
分类:
其他好文 时间:
2016-05-07 07:35:38
阅读次数:
212
OpenStackLiberty版本,这里简单记录下novabootfromvolume的代码调用过程。novabootfromvolume命令行novaclientnovaclient/v2/shell.py#novaclient端发起请求
defdo_boot(cs,args):
"""Bootanewserver."""
boot_args,boot_kwargs=_boot(cs,args)
extra_boot_kwargs=utils.get_r..
分类:
其他好文 时间:
2016-05-07 01:11:20
阅读次数:
382
本节详细分析instancelaunch和shutoff操作,以及如何在日志中快速定位有用信息的技巧。LaunchLaunchinstance应该算Nova最重要的操作。仔细研究lanuch操作能够帮助我们充分理解Nova各个子服务的协调配合和运行机制。前面我们已经以launch操作为例详细讨论了各个nova-*子服务。这..
分类:
其他好文 时间:
2016-05-06 09:35:15
阅读次数:
227
本节详细分析 instance launch 和 shut off 操作,以及如何在日志中快速定位有用信息的技巧。 Launch Launch instance 应该算 Nova 最重要的操作。 仔细研究 lanuch 操作能够帮助我们充分理解 Nova 各个子服务的协调配合和运行机制。 前面我们已 ...
分类:
其他好文 时间:
2016-05-06 07:06:53
阅读次数:
179