Blog Posts

VM Failes to start with error: VDI not available

触发条件: Ssh 至 VM内部,执行关机命令(shutdown -h now), 在NFS backend下的Vm通过Cloudstack无法启动 产生原因:Xenserver 与存储设备或者Lun失去连接

Read More

OpenStack Nova 添加扩展API流程

例子中涉及到SQLAlchemy 得相关操作,可以参考 [上一随笔] Openstack 中规定,扩展openstack得api有两种方式 创建新的WSGI 资源 扩展原有得WSGI资源得控制器(我得理解是,接受到API请求后,具体得响应逻辑) 这两种方式中,都要求写一个新的模块来声明控制器类去处理请求和实现扩展。 在一个API模块中,可以有一个或多个得资源和扩展控制器。

Read More

OpenStack Nova 使用SQLAlchemy 操作Flavor(Mysql backend)

##SQLAlchemy 简介 The SQLAlchemy Object Relational Mapper presents a method of associating user-defined Python classes with database tables, and instances of those classes (objects) with rows in their corresponding tables.

Read More

Setting Debug Environment Of Cloudstack In Production

This introduction will outline specifically how setting debug environment in production of Cloudstack, and how building a single project into a patch.

Read More