Issue: When you created an instance inside Openstack, you may find that you cannot ping address by domain name in the instance. But ping IP Address directly is OK. For example, ping 74.125.200.99 is OK, but ping www.google.com will be failed, because…
在openstack里面有时候删除instance时,volume无法跟着删除,可以自己编写脚本来实现, 脚本代码如下: #!/bin/bash for i in $(cat /root/host-del); do host_id=`nova list --all --ip $i |grep -w "$i" |awk '{print $2}'` volume_id=`cinder list --all |grep -w $host_id |a…
前情提要在第三天时,我们解说了如何在class里用include与extend,去使用module的method. Include is for adding methods to an instance of a class.Extend is for adding class methods.(出处)…Also,it is sometimes ok to use“include”to add both instance and class methods.#这句话比较进阶,之后再研究:)并透…
在安装的过程中,遇到了源的问题,找不到包的网页: 重新打开 预装源地址,打开epel-openstack-havana.repo 文件,显示如下: # Place this file in your /etc/yum.repos.d/ directory [openstack-havana] name=OpenStack Havana Repository for EPEL 6 baseurl=http://repos.fedorapeople.org/repos/openstack/op…