磁盘挂载异常处理流程(3)

来源:互联网 发布:知乎怎么改手机号 编辑:程序博客网 时间:2024/05/22 12:04

同名设备错误:(xend)

  /usr/lib64/python2.6/site-packages/xen/xend/Args.py(166)__call__()
-> return self.call_with_form_args(self.fn, fargs, xargs=xargs)
  /usr/lib64/python2.6/site-packages/xen/xend/Args.py(138)call_with_form_args()
-> return fn(*params, **keys)
  /usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py(1175)device_create()
-> dev_uuid = self.info.device_add(dev_type, cfg_sxp = dev_config)
  /usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py(1673)device_add()
-> ret_uuid = self.device_duplicate_check(dev_type, dev_info, target, config)
> /usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py(1486)device_duplicate_check()
-> raise XendConfigError('The device "%s" is already defined' %
device_create –> device_add -> device_duplicate_check

                                merge_sxp = sxp.from_string("('vbd' ('uname' ''))")
                            else:
                                merge_sxp = config

                            dev_uuid = sxp.child_value(o_dev_info, 'uuid')
                            if dev_uuid != None and \
                               self.device_update(dev_uuid, cfg_sxp = merge_sxp):
                                return dev_uuid

                        raise XendConfigError('The device "%s" is already defined' %
                                              blkdev_name)

原创粉丝点击