生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光
全部博文(276)
发布时间:2016-01-28 20:05:48
判断是否>>> import os>>> os.path.isfile('/opt/dir')False>>> os.path.isfile('/opt/file')True>>> os.path.exists('/opt/file')True>>> os.path.exists('/opt/dir')True>>> os.makedirs('/opt/dir1')>>> os.path.exists('/opt/dir1')True.........【阅读全文】
发布时间:2016-01-28 19:21:09
点击(此处)折叠或打开#!/usr/bin/env python# -*- coding:utf8 -*-import osimport sys#userfile = file('user.txt', 'r+')userlist = []userdict = {}#是否存在.........【阅读全文】
发布时间:2016-01-21 14:48:40
多方查找解决方法无果,使用开发版也这个问题,真不知道ovirt团队有没有测试通过就发布.Failed to execute stage 'Misc configuration': Command './js-ant' failed to execute点击(此处)折叠或打开[root@220 ~]# engine-setup [ INFO ] Stage: Initializing[ INFO.........【阅读全文】
发布时间:2016-01-12 11:00:19
7.7.1. Populating the ISO Storage DomainAn ISO storage domain is attached to a data center. ISO images must be uploaded to it. Red Hat Enterprise Virtualization provides an ISO uploader tool that ensures that the images are uploaded into the correct directory path, with the correct user permission.........【阅读全文】
发布时间:2016-01-12 10:49:01
原来创建的存储域删除,或导入.[root@192-168-166-119 iso]# pwd/opt/iso[root@192-168-166-119 iso]# ls44a06f32-6f8f-4701-8925-6943b5a33811 __DIRECT_IO_TEST__[root@192-168-166-119 iso]# rm * -rfvremoved ‘44a06f32-6f8f-4701-8925-6943b5a33811/dom_md/inbox’removed ‘44a06f32-6f8f-4701-8925-69.........【阅读全文】
发布时间:2016-01-11 13:52:09
系统版本:CentOS7.2ovirt3.6出现这个问题的原因是集群没有事先开启glusterfs功能,然后先添加了主机,造成这个报错.严格按照安装配置顺序操作解决.......【阅读全文】
发布时间:2016-01-07 17:02:03
[root@192-168-166-220 rpm-gpg]# grep ERROR /var/log/ovirt-engine/host-deploy/ovirt-host-deploy-20160107165628-192.168.166.109-39218f6e.log2016-01-07 16:56:28 ERROR otopi.plugins.otopi.packagers.yumpackager yumpackager.error:100 Yum The GPG keys listed for the "CentOS-7 - Virt - www.sky-mobi.com" re.........【阅读全文】