Re: [Users] Still unable to boot in system with UEFI

2012-02-15 Thread Federico Alberto Sayd

El 15/02/12 12:34, Joey Boggs escribió:

On 02/15/2012 10:20 AM, Federico Alberto Sayd wrote:

El 14/02/12 13:29, Joey Boggs escribió:

On 02/14/2012 10:36 AM, Federico Alberto Sayd wrote:

El 14/02/12 10:35, Joey Boggs escribió:

On 02/14/2012 08:29 AM, Federico Alberto Sayd wrote:

Hello:

Recently I downloaded the ovirt stable node image. According to 
releases notes since 2.2.2 UEFI installation bug has been fixed, 
but I still can't boot from my server with UEFI. Ovirt installs 
without problem, but when the system reboots nothing  happens, 
the system don't boot. Then I try to boot with super grub disk 2 
live cd, it detects ovirt installation and boots the system.


I think that still there is a problem with UEFI in certain hardware:

Mi system is a IBM blade center HS22 7870

Can anyone confirm problems with UEFI in 2.2.2 version?

Thanks

Federico
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Can you boot the image like you did with the grub livecd and run 
efibootmgr -v also mount /dev/disk/by-label/EFI and run find on 
where you mounted it.




Ok,

efibootmgr -v

Fatal: Couldn't open either sysfs or procfs directories for 
accessing EFI variables.

Try 'modprobe efivars' as root

I can't mount /dev/disk/by-label/EFI, when I create a directory and 
try to mount the partition, mount says:


mount: /dev/sda1 already mounted or disco busy

however, mount output don't show that /dev/sda1 is mounted

Some directories are in read only mode and I could not create a 
directory to mount the partition, I tried into /config and /live.


/dev/disk/by-label/EFI points to /dev/sda1 and disco is the 
directory mount point.


Also,  /proc/efi/vars/   and  /sys/firmware/efi/vars/ are not present

Thanks



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Ah.. was assuming the grub disc you booted from was EFI enabled. Try 
booting the node iso in EFI mode and run through those steps again.


Super grub disk detects the grub.cfg from ovirt's installation and 
loads the system from this configuration. Therefore I assume that the 
kernel parameters from grub config loads the system with EFI enabled.


The grub config from grub's console is:

setparams 'oVirt Node Hypervisor 2.2.2-2.2.fc16'

set root=(hd0,3)
linux /vmlinuz0 root=live:LABEL=Root ro rootfstype=auto rootflags=ro 
crashkernel=512M-2G:64M,2G-:128M elevator=deadline quiet rd_NO_LVM 
rhgb rd.luks=0 rd.md=0 rd.dm=0

initrd /initrd0.img


EFI boot process is done before the grub config comes into play, and 
the grub config has a few extra lines in it. The machine I'm testing 
on when you goto the boot menu will show UEFI: $CD_DEVICE_NAME or for 
boot entries for ovirt it would show:  oVirt Node Hypervisor If your 
grub cd supports efi booting it will be noticeable in the boot menu. 
In order to do an efi installation it has to be booted in efi mode for 
it to properly setup the boot entries.



Before the Ovirt entry on Grub menu, Grub2 displays the config detected:

setparams '(hd0,gpt3)/grub2/grub.cfg'  'hd0,gpt3' 
'(hd0,gpt3)/grub2/grub.cfg'


cfg_device=$2
cfg=$3
root=$cfg_device
configfile $cfg

Is there where UEFI: parameter must be present?

Sorry, I am a newbie to UEFI and Grub2, meanwhile I am reading all I can 
about Grub2 and UEFI


Thanks

Thanks
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] POM files missing

2012-02-15 Thread sebastiaocleto
Hi!
 I read the message from Itamar Heim responding to Thomas Broda about the POM 
missing files,  writing in December 05, 2011,  but I could not found those 
files, in any sub directories under my $OVIRT_HOME,  after the previous command:

mvn clean install -Pgwt-user,gwt-admin

Just one error is reported after:

Results :

Failed tests: 
  
testformatValueWithTime(org.ovirt.engine.core.searchbackend.AuditLogConditionFieldAutoCompleterTest)

Tests run: 30, Failures: 1, Errors: 0, Skipped: 0





I'm trying to build ovirt-engine under Debian Squeeze 6.0.4. Hereafter my 
settings.xml:

settings xmlns=http://maven.apache.org/POM/4.0.0;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
  http://maven.apache.org/xsd/settings-1.0.0.xsd;

!-- PROFILES --

activeProfiles
activeProfileoVirtEnvSettings/activeProfile
/activeProfiles

profiles
profile
idoVirtEnvSettings/id
properties
jbossHome/etc/jbossas5/jbossHome

JAVA_1_6_HOME/usr/lib/jvm/java-1.6.0-openjdk/JAVA_1_6_HOME
forkTestsalways/forkTests
/properties
/profile
/profiles
/settings

Thanks a lot.

Sebastião Cleto.


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] POM files missing

2012-02-15 Thread Itamar Heim

On 02/15/2012 06:06 PM, sebastiaocl...@netscape.net wrote:

Hi!
I read the message from *Itamar Heim*respondingto *Thomas Broda*about
the POM missing files, writing in December 05, 2011, but I could not
found those files, in any sub directories under my $OVIRT_HOME, after
the previous command:

mvn clean install -Pgwt-user,gwt-admin


can you try to rule out broken unitests failing you, rather than 
environment?

mvn clean install -Pgwt-user,gwt-admin -DskipTests



Just one error is reported after:

*Results :

Failed tests:
testformatValueWithTime(org.ovirt.engine.core.searchbackend.AuditLogConditionFieldAutoCompleterTest)

Tests run: 30, Failures: 1, Errors: 0, Skipped: 0*





I'm trying to build ovirt-engine under Debian Squeeze 6.0.4. Hereafter
my settings.xml:

settings xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd;

!-- PROFILES --

activeProfiles
activeProfileoVirtEnvSettings/activeProfile
/activeProfiles

profiles
profile
idoVirtEnvSettings/id
properties
jbossHome/etc/jbossas5/jbossHome
JAVA_1_6_HOME/usr/lib/jvm/java-1.6.0-openjdk/JAVA_1_6_HOME
forkTestsalways/forkTests
/properties
/profile
/profiles
/settings

Thanks a lot.

Sebastião Cleto.




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt VM start fails - Perm Denied error

2012-02-15 Thread Dan Kenigsberg
On Wed, Feb 15, 2012 at 02:50:26PM +0530, Deepak C Shetty wrote:
 On 02/15/2012 01:27 PM, Dan Kenigsberg wrote:
 On Wed, Feb 15, 2012 at 12:13:39PM +0530, Deepak C Shetty wrote:
 On 02/14/2012 02:55 PM, Dan Kenigsberg wrote:
 On Tue, Feb 14, 2012 at 10:36:39AM +0530, Deepak C Shetty wrote:
 On 02/13/2012 03:16 PM, Dan Kenigsberg wrote:
 On Sun, Feb 12, 2012 at 11:58:05PM +0530, Deepak C Shetty wrote:
 Hi,
 I have tried this multiple times and i hit the same error.
 
 I have 3 storage domains  created (iso, data and export) all
 connected to the DC with DC status as Up and
 1 host with status as Up and the same (only) host acting as SPM.
 
 I used the engine-iso-uploader utility to upload my .iso to the iso 
 domain.
 Created a new VM and attached a vdisk of type sparse (thin-prov) and
 click on Run Once,
 where i select Attach CD and select my .iso, and change boot order
 to boot from CD, then disk.
 
 But i get this error...
 
 VM first-ovirt-vm is down. Exit message internal error process
 exited while connecting to monitor: qemu-kvm: -drive 
 file=/rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw:
 could not open disk image 
 /rhev/data-center/4087fea7-b54a-4318-8d5c-828eff8846f4/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso:
 Permission denied .
 
 I am unable to figure out why.. bcos the user.group perms for the
 .iso are fine.
 In fact i logged into the system serving the nfs share and added 0777 
 perms
 still i get the same error. Here is the snip of how the perms for
 .iso look like...
 
 ll 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 -rwxr-xr-x. 1 vdsm kvm 3757047808 Feb 13 04:24 
 /tmp/iso1-domain/35f880f8-bd0c-4063-b171-2ddaa59e1212/images/----/Fedora-16-x86_64-DVD.iso
 would you try `ls -lZ` ? Does your /var/log/audit/audit.log shows an
 selinux problem? What's `getenforce`? And `getsebool virt_use_nfs`?
 Hi Dan,
  Thanks for the hint, after setting virt_use_nfs, it worked for me.
 Strangely VDSM should have set it, not sure why it didn't.
 I suppose this is related to the fact that your `semanage` hangs. Please
 help us understand why.
 
 Hello Dan,
  This is what strace dumped, when i attached to the semanage process.
 Note that i am only pasting the last few lines.. as the dump was large...
 Let me know if you need to entire dump...
 I'd better know if strace seems to be advancing anywhere. Is there a
 blocking system call? For how long did you wait? (I guess I should have
 asked for `strace -t`)
 
 You are rite, i did not wait enuf for it to finish may be.
 This time i did.. it took ~ 2.5 mins to finish the semanage cmd.
 
 I started with -t this time, so here is the time gap (wait) that i see...
 20:12:20 close(5)   = 0
 20:12:20
 open(/etc/selinux/targeted/modules/tmp/netfilter_contexts,
 O_WRONLY|O_CREAT|O_TRUNC, 0600) = 5
 20:12:20 write(5, , 0)= 0
 20:12:20 close(5)   = 0
 20:15:19 open(/etc/selinux/targeted/modules/tmp/commit_num,
 O_RDONLY) = 5
 20:15:19 read(5,
 4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0,
 32) = 32
 20:15:19 close(5)   = 0
 
 I marked the gap with  .. let me know if you need the entire dump ?

hmm, I wish I'd asked you to use -ff, to see if there's a subthread
doing something fishy. Is something interesting written to
/var/log/audit /var/log/message at this time?

Anyway, I'm not sure that this list has the expertise to properly debug
an SELinux problem on your machine. It seems that it merits opening a
bug on policycoreutils-python - if you can identify why it takes so
long.

Dan.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Restoring Virtual Machines

2012-02-15 Thread Itamar Heim

On 02/15/2012 11:43 AM, ?? wrote:

hi, in the process of testing ovirt some questions:
1. If you are upgrading ovirt we erased the database postgress, whether it
is possible to restore the list of virtual machines without having to
restore the database from the dump? Take a virtual machine working on the
nodes.


not easily right now.
easiest (other than restore) would probably be to make the storage 
domain into an export domain, and import from it in the new engine.



2. Is it possible to manage virtual machines through the cli?


yes.


3. Is it possible to arrange a backup of virtual machines without
interruption of its performance?


I don't think there is a simple answer to this question.
can you explain what is the exact concern?

thanks,
   Itamar
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users