摘要:
mysql -uxxx -pxxx -hxxxx <<EOFuse cinderdelete from volume_admin_metadata where volume_id ='$1';delete from volume_attachment where volume_id = '$1';d 阅读全文
摘要:
mysql -unova -pxxxx -h<ip> <<EOFuse nova delete from instance_actions_events where action_id in (select id from instance_actions where instance_uuid = 阅读全文
摘要:
a=`cat ip.list`for ip in $adoping -c 3 -w 0.2 $ip &>/dev/nullif [ $? -eq 0 ]thenecho "ip is ok!"elseecho "ip is unreached!!!!!"fidone 说明:ip.list 要提前建在 阅读全文
摘要:
上传的镜像开出虚机,登录界面为Centos7.4 同样可以看到云硬盘中存储的镜像信息为centos7.4版本 为了保持原有的ID 防止已经开通好的虚机不影响热迁移,rebuild等功能,有了如下的解决方案; 1)删除原有的镜像记录id # glance image-delete <image_id> 阅读全文