[Bug 588953] Re: Unable to add /dev/md0 as storage pool

2010-06-08 Thread Rusty Burchfield
Sorry about that.

This is the workstation I am managing from.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 10.04 LTS
Release:10.04
Codename:   lucid
$ dpkg -l libvirt\* | egrep '^ii'
ii  libvirt-bin   0.7.5-5ubuntu27   
  the programs for the libvirt library
ii  libvirt0  0.7.5-5ubuntu27   
  library for interfacing with different virtu
$ dpkg -l virt-manager\* | egrep '^ii'
ii  virt-manager  0.8.2-2ubuntu8
  desktop application for managing virtual machines

This is the server I am managing.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 10.04 LTS
Release:10.04
Codename:   lucid
$ dpkg -l libvirt\* | egrep '^ii'
ii  libvirt-bin 0.7.5-5ubuntu27 
the programs for the libvirt library
ii  libvirt00.7.5-5ubuntu27 
library for interfacing with different virtu
$ dpkg -l virt-manager\* | egrep '^ii'
No packages found matching virt-manager*.

I haven't tested with virsh, but if you look at the source code, the
errors are being thrown by libvirt (on the remote machine) and are only
being displayed by virt-manager.

** Changed in: libvirt (Ubuntu)
   Status: Incomplete => New

-- 
Unable to add /dev/md0 as storage pool
https://bugs.launchpad.net/bugs/588953
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 588953] [NEW] Unable to add /dev/md0 as storage pool

2010-06-02 Thread Rusty Burchfield
Public bug reported:

This is the mirror set I want to use as vm storage.
$ ls /dev/md0*
/dev/md0  /dev/md0p1

However, when I try to add it as a storage pool using virt-manager, I receive 
this error message.
Error creating pool: Could not start storage pool: cannot open volume 
'/dev/md01': No such file or directory

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/createpool.py", line 433, in 
_async_pool_create
poolobj = self._pool.install(create=True, meter=meter, build=build)
  File "/usr/lib/pymodules/python2.6/virtinst/Storage.py", line 791, in install
build=build)
  File "/usr/lib/pymodules/python2.6/virtinst/Storage.py", line 474, in install
raise RuntimeError(errmsg)
RuntimeError: Could not start storage pool: cannot open volume '/dev/md01': No 
such file or directory

I receive this same error even if I reference the mirror device as
/dev/disk/by-uuid/259b1953-86c5-4d98-994e-79bb80491d8d instead of
/dev/md0.

I /am/ able to start the storage pool if I fdisk the mirror and remove
the partition on it.  It is pretty clear that there is something hard-
coded to expect bland partition numbering which is not guaranteed.

This command is a workaround.  However, I don't expect it to persist across 
reboots (without some /etc/rc.local action) and it is pretty lame. :(
$ sudo ln -s md0p1 /dev/md01

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
Unable to add /dev/md0 as storage pool
https://bugs.launchpad.net/bugs/588953
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] Re: kvm hangs on 2.6.32

2010-06-02 Thread Rusty Burchfield
Unfortunately, the message you reference is mis-threaded and unrelated
to the VIA support discussion. :(

-- 
kvm hangs on 2.6.32
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] Re: kvm hangs on Lucid Server RC

2010-04-26 Thread Rusty Burchfield
It turns out this is a known-problem on VIA Nano processors.
http://www.mail-archive.com/k...@vger.kernel.org/msg33108.html

It doesn't sound like they are interested in the issue upstream right
now.  So, unless someone here is intrigued enough to look into it with
me, I will just take the hit and use qemu.

-- 
kvm hangs on Lucid Server RC
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] Re: kvm hangs on Lucid Server RC

2010-04-25 Thread Rusty Burchfield
BTW, this is on a VIA processor.

$ cat /proc/cpuinfo 
processor   : 0
vendor_id   : CentaurHauls
cpu family  : 6
model   : 15
model name  : VIA Nano processor U2250 (1.6GHz Capable)
stepping: 3
cpu MHz : 1599.796
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat clflush acpi mmx fxsr sse sse2 ss tm pbe syscall nx lm constant_tsc up 
rep_good pni monitor vmx est tm2 ssse3 cx16 xtpr rng rng_en ace ace_en ace2 phe 
phe_en lahf_lm
bogomips: 3199.59
clflush size: 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

-- 
kvm hangs on Lucid Server RC
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] Re: kvm hangs with uuid option

2010-04-25 Thread Rusty Burchfield
OK, my workaround got me as far as the boot screen for the iso, but as
soon as a choose an action it locks up and starts spewing the above
errors into kern.log again.

So, it isn't the uuid option specifically, but that does trigger it
sooner.

** Summary changed:

- kvm hangs with uuid option
+ kvm hangs on Lucid Server RC

-- 
kvm hangs on Lucid Server RC
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] Re: kvm hangs with uuid option

2010-04-25 Thread Rusty Burchfield
As a workaround, I have replaced the /usr/bin/kvm soft-link with the following 
ruby code and made it executable.  I do not know what adverse side-effects it 
will have, but it works for now.
#!/usr/bin/ruby1.9

args = ARGV.dup
uuid_index = args.index('-uuid')
if (uuid_index)
  args.slice!(uuid_index, 2)
end

exec '/usr/bin/qemu-system-x86_64', *args

-- 
kvm hangs with uuid option
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 569890] [NEW] kvm hangs with uuid option

2010-04-25 Thread Rusty Burchfield
Public bug reported:

Binary package hint: kvm

Works (vnc session shows installer and no errors flowing into kern.log):
$ kvm -cdrom ubuntu-10.04-rc-server-amd64.iso -vnc :0

Fails with black vnc session and errors in kern.log:
$ kvm -uuid `uuid` -cdrom ubuntu-10.04-rc-server-amd64.iso -vnc :0

This is the error from kern.log (happens about 40 times per second):
kernel: [592333.140692] handle_exception: unexpected, vectoring info 0x880e 
intr info 0x8b0d

I have tried three different iso images to eliminate that as a factor
(openfiler, 3ware firmware, ubuntu server).

I don't specifically want to use a uuid.  However, managing vms with
libvirt does so automatically.  Therefore I am unable to use virt-
manager until this is fixed.

$ cat /etc/lsb-release | tail -1
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"
$ uname -a
Linux gicodefs 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010 
x86_64 GNU/Linux
$ dpkg --list qemu-kvm | tail -1
ii  qemu-kvm0.12.3+noroms-0ubuntu9Full virtualization on i386 and amd64 
hardware

** Affects: kvm (Ubuntu)
 Importance: Undecided
 Status: New

-- 
kvm hangs with uuid option
https://bugs.launchpad.net/bugs/569890
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs