[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[virt-tools-list] RE: [et-mgmt-tools] virt-p2v problems



Hey,

I have edited /etc/xen files to use bond-bridge network script instead
of bridge net script. That's because we bond two NICS together
(BONDING_OPTS="mode=active-backup miimon=80"). Not sure if that is
related to the problem in any way.

Yes, "virsh list" throws the same error:

[root blpc6]# virsh list --all
libvir: error : configuration file syntax error: expecting a name
 Id Name                 State
----------------------------------
  0 Domain-0             running
  - emerson3_br_scania_com shut off


I have never noticed it because we manage guests through Conga.

/etc/libvirt/qemu/networks/default.xml is the only conf file I have for
libvirt and it looks like this:

<network>
  <name>default</name>
  <uuid>8b172bb5-9651-47ff-bb20-6c7881a82fd7</uuid>
  <bridge name="virbr0" />
  <forward/>
  <ip address="192.168.122.1" netmask="255.255.255.0">
    <dhcp>
      <range start="192.168.122.2" end="192.168.122.254" />
    </dhcp>
  </ip>
</network>

I'm not really sure whether it has been edited or not because we install
it from a global Satellite server and someone overseas might have edited
it.

The one million question: where is libvirt expecting for a name?

Emerson





-----Original Message-----
From: Cole Robinson [mailto:crobinso redhat com] 
Sent: Thursday, July 16, 2009 6:00 PM
Cc: Richard W.M. Jones; Ribeiro Emerson Gomes; Fedora/Linux Management
Tools
Subject: Re: [et-mgmt-tools] virt-p2v problems

Ribeiro Emerson Gomes wrote:
> Hey,
> 
> I narrowed the config file down to:
> 	<domain type="xen">
> 	  <name>emerson3</name>
> 	  <uuid>3ffcff461be5cef1ff45ffe1bb71b17a</uuid>
> 	  <memory>2095104</memory>
> 	</domain>
> 
> and I still get the very same error. 
> Maybe a missing tag??
> 
> Emerson
> 
> 

(Let's move to virt-tools-list)

That 'expecting a name' error shouldn't have to do with the XML file:
did you manually any of the libvirt .conf files, or do you have hand
editted files in /etc/xen? Do other virsh commands (list --all) throw
errors?

- Cole


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]