[ovirt-users] Re: is disk reduce command while VM is active after snapshot deletion save?

2021-11-03 Thread christian . peater
thnx for the quick answer.

the two disk volumes i have reduced are active. the response of the curl 
command is saying complete. i have set async to false to get a 
response from the rest api. 
when i called lvdisplay on the image_id of the volumes i was able to see that 
the images got shrank.

SD is Fibre Channel so it is block SD

the vms are running oracle databases. maybe i should freeze fs bevor calling 
reduce command? is it possible to call fsfreeze via rest api?

best regards
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KWDHYLJG7TKNHR3BXWXNSYCY2HA5ZBNB/


[ovirt-users] is disk reduce command while VM is active after snapshot deletion save?

2021-11-03 Thread christian . peater
When creating a snapshot, the volume gets two lv extents (2GB) . But after 
deleting the snapshot, the extents are kept and with every Snapshot creation 
the volume size increases.
This is really annoying, especially when using snapshot for nightly backup. we 
are using oVirt 4.3.10 and we can't upgrade to 4.4

I have read that to shrink the volume the disk reduce command is what helps 
here, but the rest api documentation says, that this is only applicable while 
vm is not running. crazy as i am, i have called the reduce command while the vm 
was running, and it seemed to work. the volume has shrunk and the vm didn't 
crash.

But is it save to do so? and why isn't the reduce command is called after 
deletion of a snapshot?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/J44AVKWJIRA3YBABUW2E6IUB4ND4Z7Z2/


[ovirt-users] Re: Snapshot and disk size allocation

2021-10-28 Thread christian . peater
Hello, is there any progress in this problem? I have tried to reduce a bloated 
volume by trigger the reduce command over rest api. I am using ovirt 4.3.10, 
but i get no response, and the volume keeps bloated anyway. I'm getting 
frustrated, because i am using a backupscript which creates a snapshot, then 
creates a clone vm out of the snapshot, exports it and removes snapshot and 
cloned vm. This is done every night, and so the volumes increase.
it is a productiv cluster with 70 vm, and i can't just stop them and do som 
magic stuff.

any ideas?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LBV7H4PUGFMBNRQVZ43BXRZSCWL33MVZ/


[ovirt-users] Storage Domain with SAN LUN - Discard is not supported by underlying storage

2021-10-27 Thread christian . peater
I try to create a new block based storage domain with fibre channel luns, but i 
can't activate the "discard after delete" check.
SAN is a HPE 3PAR, is there any option I have to take in the SAN?

screenshot:
https://diphoton.de/owncloud/index.php/s/ipLgGgZj38gizIv


any ideas?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/STMA66WOCTEDYXYJ43AQJAIPIQYPOW4R/


[ovirt-users] Re: REST API import VM from Export Domain

2021-09-17 Thread christian . peater
yeah, you're absolutly right. now it works, how it schould do :)
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3FR4HVZUXAREJGMRIZKGLZEK4AVVH3RF/


[ovirt-users] Re: REST API import VM from Export Domain

2021-09-15 Thread christian . peater
i've put all in a rest client to check the syntax and how the request looks, 
now i got this response:

access_denied: Cannot authenticate user 'admin@intern': No valid profile found 
in credentials..

:(
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ON3HUSXWNAG633GYWLGZY4BYRDYTI3GP/


[ovirt-users] REST API import VM from Export Domain

2021-09-14 Thread christian . peater
i'm using OLVM 4.3.10 oVirt and i'm trying to import a VM from the Export 
Storage Domain with the REST API.

curl command is:

curl \
-X POST  \
--header "Version:4" \
--header "Accept:application/xml" \
--header "Content-type:application/xml" \
--user $_OLVM_USERNAME:$_OLVM_PASSWORD \
--data '


'$DST_SD'


'$CLUSTER'

true

'$VM_NAME'


'
https://$_OLVM_HOSTNAME/ovirt-engine/api/storagedomains/$SRC_SD_ID/vms/$SD_VM_ID/import

Response is:


400 Bad Request

Bad Request
Your browser sent a request that this server could not understand.



When i use the same syntax to just get a list of importable VMs there is no 
error and the Response is a xml entity.

Any idea?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QBOLEYD64OZ6TZOZYEVFJPJXJXRDTBPO/