Re: [ovirt-users] Don't start vm

Ýòî ñîîáùåíèå èç íåñêîëüêèõ ÷àñòåé â ôîðìàòå MIME. --=_alternative 00406F2D43257DB0_= Content-Type: text/plain; charset="US-ASCII" Hi,
Hi, answer below
Nir Soffer <nsoffer@redhat.com>
Hi,
I attach the file. Below log in the vdsm.log.62.xz
The given nonexistent disk has probably appeared after
template
removal
from which it has been created. BUT it was independent and before problems was not, after template removal! The disk exists, but at it has changed ID!
I don't understand this description.
Can you describe to steps to reproduce this issue?
Guessing from your description: 1. Create vm with x disks 2. Create template 3. Create vm from template 4. Remove template ?
Yes. 1. Create vm with x disks on the DS 3524 through FC (multipathd on vdsm) 2. Create template 3. Create vm (independent) from template 4. Start vm and job in the vm 5. Remove template 6. Stop vm 7. Don`t start vm with error
Do you mean - start vm fail with error about missing lv?
Yes
8. seek it disk - #lsblk
Can you share the output of lsblk both before and after you stop the
vm? No, since vm does not start!
9. many command with block 253:20
Not sure what do you mean by that
You did not explain what you mean
Hm, ?? vgchange ....
Note: do *not* activate all lvs using "vgchange -a y" Only vdsm should activate its volumes.
OK! If vm don`t start, how to take data from vm?
Of course if you need to troubshoot the system, and the vm is not running, there is no problem to access the lv directly.
Even then, you should *not* activate all lvs in a vg using
vgchange -a y
But activate only the lv you want to access using
lvchange -a y
Thank you, did not know
10. mount finded lvm in lvm volume and save data
Mount? how mount is related to lvm?
VM disk is lv on vdsm. I mounted lv, inside lvm on lv vdsm!
You mean you activate the lv on the host?
Yes, intro LVM vdsm
12. reboot all vdsm host 13. dont't find ID it disk! ID it disk changed!
Please share output of lvs both before and after the vm is stopped.
Before -/dev/9d53ecef-8bfc-470b-8867-836bfa7df137/ fb8466c9-0867-4e73-8362-2c95eea89a83 After - /dev/9d53ecef-8bfc-470b-8867-836bfa7df137/33b905e2-23df-49a9- b772-4ebda3b0cd22
This not the output of lvs, these are the symlinks to the active lvs.
Can you share the lvs output before and after the vm is stopped?
No, since the vm does not start!
Now the problem disk has again received old ID(lvdisplay), BUT I have already removed it!
I'm not sure what you mean. Can you share the output of lvdisplay before and after the operation?
Already is not present, I have removed this problem disk
The Mysticism!
At me 3 disks on 9 GB, 5 days ago I have removed them. Now I them see
till
now (lvdisplay on the vdsm host) Why?
Did you update lvm cache using "pvscan --cache"?
No. I should after each operation with disks, do in the console "pvscan - cache"?
In general my problem has begun that on Windows 2008 Vm the empty seat
has
come to an end.
What do you mean by that?
This is first problem! Second problem - don't start the vm.
I have expanded volume in web gui. When I began to expand a disk in VM - error.
lvdisplay on the vdsm host has shown the old size of a disk!
Is the volume preallocated or thin provisioned?
All my disks - prelocated.
Preallocated volumes are extended when you modify the volume size in engine ui (as you described). Thin provisioned volumes are extended only when the available space is bellow a threshold, so the lv size will not change after you modify the volume size.
Sometimes normally all works!
Do you mean that now everything works?
The VM it has been removed, since for a week I could not start it! Now all works on others VM. But there were 2 problems! My problem to understand, that I have made not so or it is a problem oVirt. I wish to use oVirt, but is not assured of it because of these problems!
How I understand, probably, "all ok" when you work with VM which are
on
SPM host??!
Lost you here.
It agree, a head around )) Thanks Roma --=_alternative 00406F2D43257DB0_= Content-Type: text/html; charset="US-ASCII" <font size=2 face="sans-serif">Hi, </font> <br> <br><tt><font size=2><br> > > <br> > > Hi,<br> > > answer below<br> > > <br> > > > > Nir Soffer <nsoffer@redhat.com><br> > > > > <br> > > > > > > Hi,<br> > > > > > > <br> > > > > > > I attach the file. Below log in the vdsm.log.62.xz<br> > > > > > > <br> > > > > > > The given nonexistent disk has probably appeared after template<br> > > > > removal<br> > > > > > > from which it has been created.<br> > > > > > > BUT it was independent and before problems was not, after template<br> > > > > > > removal!<br> > > > > > > The disk exists, but at it has changed ID!<br> > > > > > <br> > > > > > I don't understand this description.<br> > > > > > <br> > > > > > Can you describe to steps to reproduce this issue?<br> > > > > > <br> > > > > > Guessing from your description:<br> > > > > > 1. Create vm with x disks<br> > > > > > 2. Create template<br> > > > > > 3. Create vm from template<br> > > > > > 4. Remove template<br> > > > > > ?<br> > > > > <br> > > > > Yes.<br> > > > > 1. Create vm with x disks on the DS 3524 through FC (multipathd on<br> > > vdsm)<br> > > > > 2. Create template<br> > > > > 3. Create vm (independent) from template<br> > > > > 4. Start vm and job in the vm<br> > > > > 5. Remove template<br> > > > > 6. Stop vm<br> > > > > 7. Don`t start vm with error<br> > > > <br> > > > Do you mean - start vm fail with error about missing lv?<br> > <br> </font></tt> <br><tt><font size=2>Yes</font></tt> <br> <br> <br><tt><font size=2> <br> > <br> > > > <br> > > > > 8. seek it disk - #lsblk<br> > > > <br> > > > Can you share the output of lsblk both before and after you stop the vm?</font></tt> <br> <br><tt><font size=2>No, since vm does not start!</font></tt> <br> <br><tt><font size=2><br> > <br> > > > <br> > > > > 9. many command with block 253:20<br> > > > <br> > > > Not sure what do you mean by that<br> > <br> > You did not explain what you mean</font></tt> <br> <br><tt><font size=2>Hm, ?? vgchange ....</font></tt> <br><tt><font size=2><br> > <br> > > > Note: do *not* activate all lvs using "vgchange -a y"<br> > > > Only vdsm should activate its volumes.<br> > > <br> > > OK! If vm don`t start, how to take data from vm?<br> > <br> > Of course if you need to troubshoot the system, and the vm is not<br> > running, there is no problem to access the lv directly.<br> > <br> > Even then, you should *not* activate all lvs in a vg using <br> > <br> > vgchange -a y<br> > <br> > But activate only the lv you want to access using<br> > <br> > lvchange -a y</font></tt> <br> <br><tt><font size=2>Thank you, did not know</font></tt> <br><tt><font size=2><br> > <br> > > <br> > > > <br> > > > > 10. mount finded lvm in lvm volume and save data<br> > > > <br> > > > Mount? how mount is related to lvm?<br> > > <br> > > VM disk is lv on vdsm. I mounted lv, inside lvm on lv vdsm!<br> > <br> > You mean you activate the lv on the host?</font></tt> <br> <br><tt><font size=2>Yes, intro LVM vdsm</font></tt> <br> <br><tt><font size=2><br> > <br> > > > > 12. reboot all vdsm host<br> > > > > 13. dont't find ID it disk! ID it disk changed!<br> > > > <br> > > > Please share output of lvs both before and after the vm is stopped.<br> > > <br> > > Before<br> > > -/dev/9d53ecef-8bfc-470b-8867-836bfa7df137/<br> > fb8466c9-0867-4e73-8362-2c95eea89a83<br> > > After -<br> > > /dev/9d53ecef-8bfc-470b-8867-836bfa7df137/33b905e2-23df-49a9-<br> > b772-4ebda3b0cd22<br> > <br> > This not the output of lvs, these are the symlinks to the active lvs.<br> > <br> > Can you share the lvs output before and after the vm is stopped?</font></tt> <br> <br> <br><tt><font size=2>No, since the vm does not start!</font></tt> <br><tt><font size=2><br> > <br> > > <br> > > Now the problem disk has again received old ID(lvdisplay), BUT I have<br> > > already removed it!<br> > <br> > I'm not sure what you mean. Can you share the output of lvdisplay before<br> > and after the operation?<br> > </font></tt> <br> <br><tt><font size=2>Already is not present, I have removed this problem disk</font></tt> <br> <br><tt><font size=2><br> > > <br> > > The Mysticism!<br> > > <br> > > At me 3 disks on 9 GB, 5 days ago I have removed them. Now I them see till<br> > > now (lvdisplay on the vdsm host) Why?<br> > <br> > Did you update lvm cache using "pvscan --cache"?</font></tt> <br> <br><tt><font size=2>No. I should after each operation with disks, do in the console "pvscan - cache"?</font></tt> <br> <br><tt><font size=2><br> > <br> > > <br> > > In general my problem has begun that on Windows 2008 Vm the empty seat has<br> > > come to an end.<br> > <br> > What do you mean by that?</font></tt> <br> <br><tt><font size=2>This is first problem! Second problem - don't start the vm. </font></tt> <br><tt><font size=2><br> > <br> > > I have expanded volume in web gui. When I began to expand<br> > > a disk in VM - error.<br> > <br> > > lvdisplay on the vdsm host has shown the old size of<br> > > a disk!<br> > <br> > Is the volume preallocated or thin provisioned?</font></tt> <br> <br><tt><font size=2>All my disks - prelocated.</font></tt> <br><tt><font size=2><br> > <br> > Preallocated volumes are extended when you modify the volume size in<br> > engine ui (as you described). Thin provisioned volumes are extended<br> > only when the available space is bellow a threshold, so the lv<br> > size will not change after you modify the volume size.<br> > <br> > > <br> > > Sometimes normally all works!<br> > <br> > Do you mean that now everything works?</font></tt> <br> <br> <br><tt><font size=2>The VM it has been removed, since for a week I could not start it!</font></tt> <br> <br><tt><font size=2>Now all works on others VM. But there were 2 problems! My problem to understand, that I have made not so or it is a problem oVirt. </font></tt> <br><tt><font size=2>I wish to use oVirt, but is not assured of it because of these problems!</font></tt> <br><tt><font size=2><br> > <br> > > <br> > > How I understand, probably, "all ok" when you work with VM which are on<br> > > SPM host??!<br> > <br> > Lost you here.<br> </font></tt> <br><tt><font size=2>It agree, a head around ))</font></tt> <br> <br> <br><tt><font size=2>Thanks</font></tt> <br> <br><tt><font size=2>Roma<br> </font></tt> --=_alternative 00406F2D43257DB0_=--
participants (1)
-
Roman Nikolayevich Drovalev