def Feedback(self, msg):
"""Acumulate feedback in our buffer."""
- self._feed_buf.write("%s %s\n" % (time.ctime(msg[0]), msg[2]))
+ self._feed_buf.write("%s %s\n" % (time.ctime(utils.MergeTime(msg[0])),
+ msg[2]))
if self.opts.verbose:
Log(msg)
hvm_boot_order=None,
file_driver="loop",
file_storage_dir=None,
- iallocator=self.opts.iallocator)
+ iallocator=self.opts.iallocator,
+ hvm_nic_type=constants.HT_HVM_NIC_RTL8139,
+ hvm_disk_type=constants.HT_HVM_DEV_IOEMU)
+
self.ExecOp(op)
self.to_rem.append(instance)
mac="auto",
file_storage_dir=None,
file_driver=None,
- iallocator=self.opts.iallocator)
+ iallocator=self.opts.iallocator,
+ hvm_nic_type=
+ constants.HT_HVM_NIC_RTL8139,
+ hvm_disk_type=
+ constants.HT_HVM_DEV_IOEMU)
+
erem_op = opcodes.OpRemoveExport(instance_name=instance)
Log("- Export instance %s to node %s" % (instance, enode))