[ovirt-users] Re: How to reduce load during create VM

2021-04-26 Thread ovirt . org
Hi, no, we don't use bit cloning via "clone" function, but we use templates as 
a raw format template.

When creating a VM through this template, the server load will increase a lot.

We want to minimize this sharp increase during the establishment. We are 
willing to wait longer to set up the server.
___
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/UZNQMWBETBZNAV6I47EFE5W6ZB4TDUJR/


[ovirt-users] Re: How to assign a server disk and nic profile via REST API?

2021-05-02 Thread ovirt . org
This is to add a secondary additional vnic. I don't need that.

I want to change exist something primary vnic, not add it.

Optional i need set this vnic while "create VM".

I want set this from screenshot on create VM setting.

https://prnt.sc/126trb8
___
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/L54KTSLCNVMRGKWP7HDQVVVEN5GMNAR4/


[ovirt-users] Re: How to assign a server disk and nic profile via REST API?

2021-05-02 Thread ovirt . org
Temporary solution for me is:

PUT /ovirt-engine/api/vms/$serverID/nics/$nicID


  ovirtmgmt_25
  virtio
  


But this solution is not optional, i need set this on "create VM".

Ad this to:

POST /ovirt-engine/api/vms


$hostname
$description

$cluster


$template




1
$cpu
1


$ramMB

true
$ramMBguaranteed
$ramMBmax



like this, but not workling:


$hostname
$description

$cluster


$template



  ovirtmgmt_25
  virtio
  




1
$cpu
1


$ramMB

true
$ramMBguaranteed
$ramMBmax


___
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/I3IHCJIR5N7M6ODF75QS7DR4E2VWSWYU/


[ovirt-users] How i can set vnic while Create VM

2021-05-02 Thread ovirt . org
How i can set vnic while Create VM via rest-api?

I mean this (on screenshot), how to via rest-api?

https://prnt.sc/126trb8

Thanks very much.
___
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/RE7ZTP43GF77QVFRROB6VPCJUVOLXL3L/


[ovirt-users] How to assign a server disk and nic profile via REST API?

2021-04-04 Thread ovirt . org
Hello to everybody,

for about an hour I have stuck my nose in the ovirt and rhev documentation, but 
I still can't understand how to use the REST API to change the disk profile and 
nothing the server profile.

Ideally, how to set it for them when setting up a VM.

Thank you so much for the advice.
___
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/WK2XPICALNTXSLTUODFJFFZZB7B5PXZL/


[ovirt-users] Re: How to assign a server disk and nic profile via REST API?

2021-04-21 Thread ovirt . org
Thanks. Is it possible to do it like this via the REST-API?
I can't find it in the documentation. :-(
I don't use Python.
___
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/GBCOWSEHG6HR2FFWTY6MLD632EPOOQWT/


[ovirt-users] How to reduce load during create VM

2021-04-21 Thread ovirt . org
Hi everyone, please, can you limit the "Create VM" process somewhere so that 
setting up quota does not load the server so much, especially storage when 
duplicating the template disk?
___
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/2PO6CSPZN6N4E2VHNDOSS2VHMP2ZFH7J/


[ovirt-users] [Rest API] How to get server user from "permissions"?

2021-10-01 Thread ovirt . org
Hello, please how to get server user from "permissions"?

I try this, but does not working:
https://ovirt.localhost/ovirt-engine/api/vms/4ekb93a4-64c6-4b13-9927-8f37f2165td2/permissions?follow=permissions.permissions.user._id=permission.role._id%20%3D%20---0001-0001=1

I need: Show the server user.
This means: Find the user ID of a specific server that is in the role with ID: 
---0001-0001

Thanks for advice.
___
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/6EVGFYFDZPXW6GQ24WRMJLK4KAMW3QHB/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-06 Thread ovirt . org
ovirt.domain.com: Software Version:4.3.4.3-1.el7
ovirt2.domain.com: Software Version:4.3.10.4-1.el7

I test everything on the server ovirt2.domains.com.

No i try #1:
GET 
https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc

Result #2:


false
107374182400
qcow2_v3
false
true
ok
image
20090257408
...


No i try #2:
PUT 
https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc

30737418240


Result #2:   
"content": "\n\nUpdating disk attributes other than 
QCOW version is permitted only for disk-attachments, which reside under 
VMs.\nOperation Failed\n\n",
"msg": "Status code was 409 and not [200]: HTTP Error 409: Conflict",
"url": 
"https://ovirt2.domain.com/ovirt-engine/api/disks/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc;,

So version 4.3 really has no way to adjust the disk size via the API? The only 
way is to upgrade to 4.4?
___
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/IHYRZE4HJIFL7L7CUTFEMZD2VZJVSVWW/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-07 Thread ovirt . org
although I don't see the elements there via GET, it really works, Thanks a lot. 
Karma +1 :-)
___
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/Y6554EC3FP45EVZ7NUTKUFETOJRDV5NB/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
This is informations from apidoc 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/rest_api_guide/index#services-disk-methods-update

Here is example:


  qcow2_v3


But this not working if i change to this:


  {{ new size > actual size }}


OR


  {{ new size > actual size }}


I get this error: I have HTTP Error 400: Bad Request  Request syntactically 
incorrect. But syntax is OK:
___
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/E73S45SOELXWQ3TCHEGLHNSZ55JGQBPL/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
https://ovirt.mydomains/ovirt-engine/apidoc/#/ is not working (page is blank, 
has ovirt horizontal menu, but content is empty).

You may mean the page 
https://ovirt.mydomains/ovirt-engine/apidoc/#/services/disk/methods/update

It works for me, but the information I see on it seems insufficient (unusable) 
to me:

update

This operation updates the disk with the appropriate parameters. The only field 
that can be updated is qcow_version.

For example, disk update can be done using the following request:

PUT /ovirt-engine/api/disks/123

With a request body like this:


  qcow2_v3


Since the backend operation is asynchronous, the disk element that is returned 
to the user might not be synced with the changed properties.

I have HTTP Error 400: Bad Request  Request syntactically incorrect. But syntax 
is OK:

Ansible:

---

  - name: REST call w XML body 
uri: 
  url: https://ovirt.{{ domain }}/ovirt-engine/api/disks/{{ diskid }}
  user: {{ user }}
  password: {{ password }}
  method: PUT
  validate_certs: no
  headers: 
Content-Type: "application/xml"
  #body_format: raw
  body: "{{lookup('file','put.xml')}}" 
register: result

put.xml:


18737418240

___
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/QG2MORLKB3UJ6YQ4ZHW57724PMKWY4FS/


[ovirt-users] API how to increase extend resize disk VM

2021-10-04 Thread ovirt . org
Hello, please how to increase extend resize disk of VM?

I can working with ansible or REST API.

Ansible working is here, but i not found manual for update size: 
https://docs.ansible.com/ansible/2.3/ovirt_disks_module.html

On official ovirt documentation i cant found how to update. I found only old 
manual in KB page, but not working on lastest: 
https://www.ovirt.org/develop/release-management/features/storage/online-virtual-drive-resize.html

PUT /api/vms/{VM_ID}/disks/{DISK_ID} HTTP/1.1
Accept: application/xml
Content-type: application/xml


{NEW_SIZE_IN_BYTES}


Thanks for advice.
___
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/EBIMZ4GMNOYANXDAFZPN3YZX7XDQW3KG/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
But for me there is no element for the value of space. It looks something like 
this:


true
true
virtio_scsi
false
false
false




So is it not possible to increase extend space using the API in ovirt?
___
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/BMD7NICA4UUHBRTWOCNY22E3POQUZZLL/


[ovirt-users] Re: API how to increase extend resize disk VM

2021-10-05 Thread ovirt . org
I try this: PUT 
https://ovirt.domain.com/ovirt-engine/api/vms/678faf6f-fa5f-4785-a365-e1b85925575f/diskattachments/f770c0d1-dd0d-40a8-a69a-a63d8db5c2cc


  true
  true
  
30737418240
  


I recieve: Request syntactically incorrect. 
Status code was 400 and not [200]: HTTP Error 400: Bad Request
___
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/PUFVAU7GGOZ4ZMFMUNDWATAPPSXMKOTE/


[ovirt-users] Setting up a server via the REST API with adding your own SSH key

2021-11-08 Thread ovirt . org
Hello, please, how i can set ssh_key via REST API on create VM (run-once)? 
Thanks

I have this XML code, but does not working:


  true
  

  $sudoUser
  $rootPassword
  

  
$sudoUser
  
  ssh-rsa CENSORED r...@1.server.com

  
..
___
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/GK2JGVJ4PAA3ONC2YDVOQEHXBW237H4N/


[ovirt-users] Re: Setting up a server via the REST API with adding your own SSH key

2021-11-08 Thread ovirt . org
I found: https://lists.ovirt.org/pipermail/users/2016-April/038848.html

I also use authorized_keys instead of authorized_ssh_keys.

This topic has been resolved, thanks.
___
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/OCF5KRTPP4Y6ADUCYYFNKHG2T5Z2QVOD/


[ovirt-users] Re: How to set Disk profile via REST API?

2021-12-02 Thread ovirt . org
I mean 
$hostname
$description

$cluster


$template
$disk_profile 
< How please? :-D



1
$cpu
1


$ramMB

true
$ramMBguaranteed
$ramMBmax


___
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/PP3WBLW22NQJRSVCUNSAHGNB3L4FIVKT/


[ovirt-users] How to set Disk profile via REST API?

2021-12-01 Thread ovirt . org
Hi,

I have ovirt version: 4.3.4.3-1.el7 I can't find in the documentation how to 
set up a server disk profile during creation via the REST API. If it didn't 
work during creation, then it doesn't matter later after creation.

How to please set up a disk profile server via REST API?

Thank you.
___
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/53JEN35GEHH4HG4NW3VJBV2IR7VO7YVH/


[ovirt-users] How to find out I / O usge from servers

2022-01-06 Thread ovirt . org
Hi everyone, I would like via API, or. pull information about I / O usage by 
individual servers directly from the postre database. But I have a data 
warehouse turned off for performance reasons. Is this information collected 
somewhere so that I can collect it from somewhere in my external database or 
read it from the virus database?

Thanks for the information.
___
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/VXYYXEXOR2ZGRBQ6PE425L3NFJ3IBIWP/


[ovirt-users] How to add an AlmaLinux 8 template?

2022-04-20 Thread ovirt . org
Hi, I'm looking for instructions on how to add the AlmaLinux template, resp. I 
can create and seal a template as an image. but I'm interested in how to do it 
via cloud instances of qcow2 and cloud-init in the 
sense:https://wiki.almalinux.org/cloud/Generic-cloud-on-local.html#almalinux-guest-os-support

I can't find the instructions ideally step by step.

Thanks you very much for support and advice.
___
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/2DPNRPJDV53UQEISF72BDXJSF5M7MPZ4/