Re: disk snapshot status is Illegal
by Benny Zlotnik
The vdsm logs are not the correct ones.
I assume this is the failure:
2020-02-04 22:04:53,631+05 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.MergeVDSCommand]
(EE-ManagedThreadFactory-commandCoordinator-Thread-9)
[1e9f5492-095c-48ed-9aa0-1a899eedeab7] Command 'MergeVDSCommand(HostName =
iondelsvr72.iontrading.com,
MergeVDSCommandParameters:{hostId='22502af7-f157-40dc-bd5c-6611951be729',
vmId='4957c5d4-ca5e-4db7-8c78-ae8f4b694646',
storagePoolId='c5e0f32e-0131-11ea-a48f-00163e0fe800',
storageDomainId='70edd0ef-e4ec-4bc5-af66-f7fb9c4eb419',
imageGroupId='737b5628-e9fe-42ec-9bce-38db80981107',
imageId='31c5e807-91f1-4f73-8a60-f97a83c6f471',
baseImageId='e4160ffe-2734-4305-8bf9-a7217f3049b6',
topImageId='31c5e807-91f1-4f73-8a60-f97a83c6f471', bandwidth='0'})'
execution failed: VDSGenericException: VDSErrorException: Failed to
MergeVDS, error = Drive image file could not be found, code = 13
please find the vdsm logs containing flow_id
1e9f5492-095c-48ed-9aa0-1a899eedeab7 and provide output for `vdsm-tool
dump-volume-chains 70edd0ef-e4ec-4bc5-af66-f7fb9c4eb419` so we can see the
status of the chain on vdsm
As well as `virsh -r dumpxml ind-co-ora-ee-02` (assuming ind-co-ora-ee-02
is the VM with the issue)
Changing the snapshot status with unlock_entity will likely work only if
the chain is fine on the storage
On Tue, Feb 4, 2020 at 7:40 PM Crazy Ayansh <shashank123rastogi(a)gmail.com>
wrote:
> please find the attached the logs.
>
> On Tue, Feb 4, 2020 at 10:23 PM Benny Zlotnik <bzlotnik(a)redhat.com> wrote:
>
>> back to my question then, can you check what made the snapshot illegal?
>> and attach the vdsm and engine logs from the occurrence so we can assess
>> the damage
>>
>> also run `dump-volume-chains <sd_id>` where the image resides so we can
>> see what's the status of the image on vdsm
>>
>> On Tue, Feb 4, 2020 at 6:46 PM Crazy Ayansh <shashank123rastogi(a)gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Yes VM is running but i scared if i shutdown the VM and it not came back.
>>> I have also upgraded engine from 4.3.6.6 to 4.3.8. but still the issue
>>> persists. I am also unable to take snapshot of the the same VM as the new
>>> snapshot failing. Please help.
>>>
>>> Thanks
>>> Shashank
>>>
>>>
>>>
>>> On Tue, Feb 4, 2020 at 8:54 PM Benny Zlotnik <bzlotnik(a)redhat.com>
>>> wrote:
>>>
>>>> Is the VM running? Can you remove it when the VM is down?
>>>> Can you find the reason for illegal status in the logs?
>>>>
>>>> On Tue, Feb 4, 2020 at 5:06 PM Crazy Ayansh <
>>>> shashank123rastogi(a)gmail.com> wrote:
>>>>
>>>>> Hey Guys,
>>>>>
>>>>> Any help on it ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Tue, Feb 4, 2020 at 4:04 PM Crazy Ayansh <
>>>>> shashank123rastogi(a)gmail.com> wrote:
>>>>>
>>>>>>
>>>>>> Hi Team,
>>>>>>
>>>>>> I am trying to delete a old snapshot of a virtual machine and getting
>>>>>> below error :-
>>>>>>
>>>>>> failed to delete snapshot 'snapshot-ind-co-ora-02' for VM
>>>>>> índ-co-ora-ee-02'
>>>>>>
>>>>>>
>>>>>>
>>>>>> [image: image.png]
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list -- users(a)ovirt.org
>>>>> To unsubscribe send an email to users-leave(a)ovirt.org
>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>> oVirt Code of Conduct:
>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>> List Archives:
>>>>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/C7OR4HQEKNJ...
>>>>>
>>>>
4 years, 2 months
Unable to complete engine setup
by info@placedusoleil.net
I attempted the installation on fully updated Centos 7 with selinux and firewalld disabled.
engine-setup produces the following error:
[root@ovt-00 ~]# engine-setup
***L:ERROR Internal error: 'module' object has no attribute 'createPlugins'
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/__main__.py", line 83, in main
installer.execute()
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 147, in execute
sys.exc_info()[2],
File "/usr/lib/python2.7/site-packages/otopi/util.py", line 86, in raiseExceptionInformation
exec('raise info[1], None, info[2]')
File "/usr/lib/python2.7/site-packages/otopi/main.py", line 141, in execute
self.context.loadPlugins()
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 769, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 112, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 100, in _loadPlugins
os.path.basename(path),
PluginLoadException: 'module' object has no attribute 'createPlugins'
I would appreciate any advise or hint on how to complete my installation.
Thanks
4 years, 2 months
disk snapshot status is Illegal
by Crazy Ayansh
Hi Team,
I am trying to delete a old snapshot of a virtual machine and getting below
error :-
failed to delete snapshot 'snapshot-ind-co-ora-02' for VM índ-co-ora-ee-02'
[image: image.png]
Thanks
4 years, 2 months
Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
by Charles Lam
Thank you very much Vinícius for the clarification, I will try and report.
Sincerely,
Charles
On Tue, Feb 4, 2020 at 5:32 PM Vinícius Ferrão <ferrao(a)versatushpc.com.br>
wrote:
> Hi Charles, I never done it on Gluster. But my hosted engine runs on a
> VLAN too on separate network on top of a LACP bond with the ovirtmgmt
> network.
>
> You must create the file. The contents of the file was on my first email,
> adapt it to your needs and them run the vdsm-tool command.
>
> Sent from my iPhone
>
> On 4 Feb 2020, at 19:29, Charles Lam <clam2718(a)gmail.com> wrote:
>
>
> Thank you so very much Vinícius, I am trying to deploy the hosted engine
> to a Gluster Storage Domain on a separate network with a VLAN. I had
> utilized the Cockpit Hyperconverged wizard.
>
> Where do I find storage-network.json, and do I then is it best to run the
> deployment from the command line or Cockpit?
>
> Gratefully,
> Charles
>
> On Tue, Feb 4, 2020 at 5:19 PM Vinícius Ferrão <ferrao(a)versatushpc.com.br>
> wrote:
>
>> Are you trying to deploy the hosted engine to a Storage Domain which is
>> in a separate network with a VLAN?
>>
>> If this is the issue you must inform VDSM the network so it finds the
>> path. This must be informed during the playbook phase where it asks for the
>> shared storage settings.
>>
>> For example:
>>
>> storage-network.json:
>>
>> {"networks": {"storage": {"bonding": "bond0", "bridged": false, "vlan":
>> 192, "ipaddr": "192.168.10.1", "netmask": "255.255.255.248",
>> "defaultRoute": false}}, "bondings": {}, "options": {"connectivityCheck":
>> false}}
>>
>> vdsm-client -f storage-network.json Host setupNetworks
>>
>>
>>
>> Sent from my iPhone
>>
>> > On 4 Feb 2020, at 19:15, "clam2718(a)gmail.com" <clam2718(a)gmail.com>
>> wrote:
>> >
>> > Hello,
>> >
>> > I am having this same issue and have inserted the three new lines from
>> >
>> > https://github.com/ansible/ansible/issues/66858
>> >
>> > into
>> "/lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py"
>> yet the issue still occurs when attempting deployement. I have rebooted
>> the oVirt Node hosts since patching to no avail. Do I need to insert the
>> fix elsewhere or take other action to properly apply this fix?
>> >
>> > Thank you very much for your assistance.
>> >
>> > Respectfully,
>> > Charles
>> > _______________________________________________
>> > Users mailing list -- users(a)ovirt.org
>> > To unsubscribe send an email to users-leave(a)ovirt.org
>> > Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>> > oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> > List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/UKWVUWZBISU...
>>
>
4 years, 2 months
Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"
by Charles Lam
Hello,
I am having this same issue and have inserted the three new lines into /lib/python2.7/site-packages/ansible/modules/cloud/ovirt/ovirt_network.py yet it still occurs. I have rebooted the oVirt Node host. Do I need to insert the fix elsewhere or take other action to properly apply this fix?
Thank you very much,
Diamond Tours, Inc.
Charles Lam
13100 Westlinks Terrace, Suite 1, Fort Myers, FL 33913-8625
O: 239. 437.7117 | F: 239.790.1130 | Cell: 239.227.7474
CLam(a)DiamondTours.com<mailto:CLam@DiamondTours.com>
4 years, 2 months
oVirt API - New vm on specified storage
by Tommaso - Shellrent
Hi to all.
we are tring to create a new VM via API, but we are unable to
select the desidered storage where to deploy it.
We make a call like this:
CALL:
POST /ovirt-engine/api/vms?clone=true
Data:
{"cpu":{"topology":{"sockets":1,"cores":4,"threads":1}},"memory":4294967296,"memory_policy":{"guaranteed":4294967296,"max":4294967296},"disk_attachments":[{"disk":{"id":"925c999e-536f-4905-bc54-5cf64477a3a7","format":"cow","storage_domains":[{"id":"a772c71a-bd7b-4898-9497-120dcd853d96"}]}}],"name":"apitest.domain.com","fqdn":"apitest.domain.com","cluster":{"id":"890681f6-e0fe-11e9-81b5-0200007c8e05"},"template":{"id":"45da14a2-7f6f-43d9-9481-19a2034700fe"}}
But the reply is:
Reply HTTP 400
{
"detail" : "For correct usage, see:
https://XXXXXXX/ovirt-engine/apidoc#services/vms/methods/add",
"reason" : "Request syntactically incorrect."
}
Have someone some suggestion or good example??
Best regards.
--
Shellrent Logo
*Tommaso De Marchi*
COO Chief Operating Officer - Shellrent S.r.l.
Tel. 0444321155 <tel:+390444321155> | Fax 04441492177
Via dell'Edilizia, 19 - 36100 Vicenza
4 years, 2 months
memory overcommit in oVirt
by yam yam
Hello,
I thought memory overcommit feature in oVirt utilizes host's overcommit features by manipulating kernel variables like vm.overcommit_ratio, vm_overcommit_memory.
but, I've just confirmed that those variables didn't change at all.
I wonder if oVirt's overcommit really has nothing to do with that of host
and if so, how does oVirt manage memory overcommit.
4 years, 2 months
Snapshots not possible
by Christoph Köhler
Hi,
since we have updated to 4.3.7 and another cluster to 4.3.8 snapshots
are not longer possible. In previous version all went well...
° libGfApi enabled
° gluster 6.7.1 on gluster-server and client
° libvirt-4.5.0-23.el7_7.3
vdsm on a given node says:
jsonrpc/2) [vds] prepared volume path:
gluvol3/e54d835a-d8a5-44ae-8e17-fcba1c54e46f/images/1f43916a-bbf2-447b-b17d-ba22d4ec8c90/0e56d498-11d2-4f35-b781-a2e06d286eb8
(clientIF:510)
(jsonrpc/2) [virt.vm] (vmId='acdc31b5-082b-4a68-b586-02354a7fdd73')
<?xml version='1.0' encoding='utf-8'?>
<domainsnapshot><disks><disk name="sda" snapshot="external"
type="network"><source
name="gluvol3/e54d835a-d8a5-44ae-8e17-fcba1c54e46f/images/1f43916a-bbf2-447b-b17d-ba22d4ec8c90/0e56d498-11d2-4f35-b781-a2e06d286eb8"
protocol="gluster" type="network"><host name="192.168.1
1.20" port="0" transport="tcp"
/></source></disk></disks></domainsnapshot> (vm:4497)
(jsonrpc/2) [virt.vm] (vmId='acdc31b5-082b-4a68-b586-02354a7fdd73')
Disabling drive monitoring (drivemonitor:60)
(jsonrpc/2) [virt.vm] (vmId='acdc31b5-082b-4a68-b586-02354a7fdd73')
Freezing guest filesystems (vm:4268)
WARN (jsonrpc/2) [virt.vm]
(vmId='acdc31b5-082b-4a68-b586-02354a7fdd73') Unable to freeze guest
filesystems: Guest agent is not responding: QEMU guest agent is not
connected (vm:4273)
INFO (jsonrpc/2) [virt.vm]
(vmId='acdc31b5-082b-4a68-b586-02354a7fdd73') Taking a live snapshot
(drives=sda, memory=True) (vm:4513)
...
...
ERROR (jsonrpc/2) [virt.vm]
(vmId='acdc31b5-082b-4a68-b586-02354a7fdd73') Unable to take snapshot
(vm:4517)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 4514,
in snapshot
self._dom.snapshotCreateXML(snapxml, snapFlags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line
100, in f
ret = attr(*args, **kwargs)
File
"/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py",
line 131, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line
94, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2620, in
snapshotCreateXML
if ret is None:raise libvirtError('virDomainSnapshotCreateXML()
failed', dom=self)
libvirtError: internal error: unable to execute QEMU command
'transaction': Could not read L1 table: Input/output error
...
INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call VM.snapshot failed
(error 48) in 4.65 seconds (__init__:312)
It seems that the origin is libvirt or qemu.
Regards
Chris
4 years, 2 months