[ovirt-users] Re: Power management on Dell PowerEdge R320 and R520

2021-05-14 Thread Pavel Strzinek
Never mind, the test was probably failing correctly as I tested the power 
management with other node in maintenance. When more than one node are active, 
the test passes and power management works correctly. 

It could be mentioned in docs though that the power management should be 
configured and tested with at least two nodes being active ... 
___
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/GYQZXAUKR7HN322QTJQWSS2C64BAWLMO/


[ovirt-users] Re: Power management on Dell PowerEdge R320 and R520

2021-05-14 Thread David White via Users
Hi Pavel,
At the risk of being somewhat lazy, could I ask you where the docs are for 
installing the iDrac modules and getting power management setup? This is a 
topic that I haven't explored yet, but probably need to.

I have 3x Dell R630s.


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Friday, May 14, 2021 4:15 AM, Pavel Strzinek  
wrote:

> Never mind, the test was probably failing correctly as I tested the power 
> management with other node in maintenance. When more than one node are 
> active, the test passes and power management works correctly.
> 

> It could be mentioned in docs though that the power management should be 
> configured and tested with at least two nodes being active ...
> 

> 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/GYQZXAUKR7HN322QTJQWSS2C64BAWLMO/



publickey - dmwhite823@protonmail.com - 0x320CD582.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
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/RMKHJMVBSPTLA4HUHZS5RR2ARL55H34P/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hello, sorry if I continue in this thread but I have the same issue.
This solution in my case doesn't work and the VM can't reboot after an update 
task like this 

- name: Set next_run
  ovirt_vm:
next_run: yes
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
wait: true
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

- name: Change state in next_run and reboot
  ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
boot_devices:
  - hd
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

What's wrong? 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/CYVEOCXTZLREOWMH7RW4MDBL364UIL4C/


[ovirt-users] Re: Power management on Dell PowerEdge R320 and R520

2021-05-14 Thread Pavel Strzinek
Hi David,
I meant oVirt docs, e.g. 
https://www.ovirt.org/documentation/administration_guide/index.html#Setting_fencing_parameters_on_a_host.
 Docs for installing and setting up iDrac module will be probably available 
through Dell, but I had no trouble with that part.
___
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/SX6675W7XTJG2M55A4Y4CBNYJ4OFV6GN/


[ovirt-users] [ANN] Async release for oVirt 4.4.6

2021-05-14 Thread Sandro Bonazzola
On May 14th 2021 the oVirt project released an async update to the
following packages:

   - ovirt-hosted-engine-ha-2.4.7
   - ovirt-release44-4.4.6.2
   - ovirt-engine-4.4.6.8
   - oVirt Node 4.4.6.2

Fixing the following bugs:

   - Bug 1909888  - [RFE]
   Support multiple IQN in hosted-engine.conf for Active-Active DR setup
   - Bug 1957253 
- [cinderlib]
   Enable using Managed Block Storage on 4.6 cluster by default
   - Bug 1958869  - Import
   VM from export domain fails - the imported VM remains in 'image locked'
   state


oVirt Node Changes:
- Consume above oVirt updates
- Updated hivex (CVE-2021-3504
)

Full diff list:

*--- ovirt-node-ng-image-4.4.6.1.manifest-rpm*  *2021-05-11
08:39:44.714649170 +0200**+++
ovirt-node-ng-image-4.4.6.2.manifest-rpm*   *2021-05-14
08:58:12.581488678 +0200*@@ -253 +253
@@-hivex-1.3.18-20.module_el8.5.0+746+bbd5d70c.x86_64+hivex-1.3.18-21.el8s.x86_64@@
-638 +638 
@@-ovirt-hosted-engine-ha-2.4.6-1.el8.noarch+ovirt-hosted-engine-ha-2.4.7-1.el8.noarch@@
-643 +643 
@@-ovirt-node-ng-image-update-placeholder-4.4.6.1-1.el8.noarch+ovirt-node-ng-image-update-placeholder-4.4.6.2-1.el8.noarch@@
-651,2 +651,2 
@@-ovirt-release-host-node-4.4.6.1-1.el8.noarch-ovirt-release44-4.4.6.1-1.el8.noarch+ovirt-release-host-node-4.4.6.2-1.el8.noarch+ovirt-release44-4.4.6.2-1.el8.noarch


-- 

Sandro Bonazzola

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA 

sbona...@redhat.com


*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
___
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/KY2HPBBWVWXQIF5I3HGQKFWBDMWPOOW2/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Strahil Nikolov via Users
Hi,

the info is not enough. Can you provide the error you receive.Most probably you 
will need to enable some debug to identify the issue.
Best Regards,Strahil Nikolov
 
 
  On Fri, May 14, 2021 at 12:44, Alessio B. 
wrote:   Hello, sorry if I continue in this thread but I have the same issue.
This solution in my case doesn't work and the VM can't reboot after an update 
task like this 

    - name: Set next_run
      ovirt_vm:
        next_run: yes
        name: "{{ item.name }}"
        auth: "{{ ovirt_auth }}"
        wait: true
      with_items:
        - "{{ vm_result.ovirt_vms }}"
      ignore_errors: true

    - name: Change state in next_run and reboot
      ovirt_vm:
        name: "{{ item.name }}"
        auth: "{{ ovirt_auth }}"
        state: next_run
        wait: true
        boot_devices:
          - hd
      with_items:
        - "{{ vm_result.ovirt_vms }}"
      ignore_errors: true

What's wrong? 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/CYVEOCXTZLREOWMH7RW4MDBL364UIL4C/
  
___
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/5PMGZ66ZPICJDL5LQ2KDYI3IJLOF5VDE/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hi,

in debug mode I haven't any error.
The reboot can't be invoked when the VMs are in running state.
___
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/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/


[ovirt-users] Re: Live ("any") disk migration between storages KILLS a virtual machine with Windows (UEFI) !!!

2021-05-14 Thread Patrick Lomakin
> What type of storage (and brand) are you using for the storage ?
> Best Regards,Strahil Nikolov
>  
>  
>   On Wed, May 12, 2021 at 21:01, Patrick 
> Lomakinpatrick.lomakin(a)gmail.com wrote:  
> The weekend went horribly. I created a second storage domain in order to move 
> all the
> virtual machines to a higher performance RAID array (From RAID6 to RAID10). 
> My mistake was
> trying to move two Windows domain controllers from one storage domain to 
> another. The
> problem is that when I "live" moved the virtual machine disk between storage
> domains, my Windows Server 2019 virtual machines worked fine until the next 
> reboot. After
> a reboot, the machine just won't start and throws an error - Status: 
> 0xc428 - The
> digital signature for this file couldn't be verified. Moving back to the
> "old" domain doesn't help.
> None of the procedures with VMs worked (Re-create boot area, turn on kernel 
> flag -
> bcdedit.exe /set nointegritychecks on). I am ready to help and interested in 
> developing
> Ovirt. I can also provide more information to developers if needed.
> ___
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/NN3XMTEX72H...
I use Lenovo DS4200 SAN with iSCSI
___
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/RPJDGCKZ4MOFNX4QQSI7OEEMXCIQLCKV/


[ovirt-users] Re: Ooops! in last step of Hyperconverged deployment

2021-05-14 Thread Harry O
Like this?

 - name: Detect VLAN ID
shell: ip -d link show {{ he_bridge_if }} | grep 'vlan ' | grep -Po 'id 
\K[\d]+' | cat
environment: "{{ he_cmd_lang }}"
register: vlan_id_out
changed_when: true
  - debug: var=vlan_id_out
  - name: Set Engine public key as authorized key without validating the 
TLS/SSL certificates
authorized_key:
  user: root
  state: present
  key: https://{{ he_fqdn 
}}/ovirt-engine/services/pki-resource?resource=engine-certificate=OPENSSH-PUBKEY
  validate_certs: false
  register: output
  failed_when: never
  - include_tasks: auth_sso.yml
  - name: DEBUG
  debug:
  var: 'output'
  - name: Ensure that the target datacenter is present
ovirt_datacenter:
  state: present
___
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/4PAZVHEYLSOGGZNIYBXOZP5EBXTLNEU4/


[ovirt-users] Error Adding host to cluster

2021-05-14 Thread David Johnson
When I attempt to install a new host to my cluster from the GUI I get this
set of errors/warnings, and the install fails.


   - Host has no default route
   - The Host CPU does not match the Cluster CPU Tye and is running in a
   degraded mode. It is missing the following CPU flags: vmx,
   model_Cascadelake-Server-noTSX.


The new host has a brand new bare centos 8 installation on it. It
successfully installed from the internet.

The *new host* hardware is  48x Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

The *pre-existing host* is  64x Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz

If I am reading the ansible logs correctly, ansible is failing to find the
*ovirt-hosted-engine-setup* package, which is confusing since I have a
separate physical machine for the engine (which I am using to install
from), and don't want a self hosted engine.

Any advice would be welcome.




---
Ansible logs from the most recent failed installation attempt:

2021-05-14 20:18:04,949 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2', 'counter': 52, 'stdout': 'fatal: [
ovirt-host-04.maxisinc.net]: FAILED! => {"changed": false, "failures": ["No
package ovirt-hosted-engine-setup available."], "msg": "Failed to install
some of the specified packages", "rc": 1, "results": []}', 'start_line':
44, 'end_line': 45, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'runner_on_failed', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.947870', 'parent_uuid':
'd8cb8a87-894e-e341-1e1c-01a1', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'play': 'all', 'play_uuid':
'd8cb8a87-894e-e341-1e1c-0007', 'play_pattern': 'all', 'task':
'Install ovirt-hosted-engine-setup package', 'task_uuid':
'd8cb8a87-894e-e341-1e1c-01a1', 'task_action': 'yum', 'task_args':
'', 'task_path':
'/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-host-deploy-vdsm/tasks/packages.yml:6',
'role': 'ovirt-host-deploy-vdsm', 'host': 'ovirt-host-04.maxisinc.net',
'remote_addr': 'ovirt-host-04.maxisinc.net', 'res': {'msg': 'Failed to
install some of the specified packages', 'failures': ['No package
ovirt-hosted-engine-setup available.'], 'results': [], 'rc': 1,
'invocation': {'module_args': {'name': ['ovirt-hosted-engine-setup'],
'state': 'present', 'allow_downgrade': False, 'autoremove': False,
'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [],
'disablerepo': [], 'download_only': False, 'enable_plugin': [],
'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery':
True, 'install_weak_deps': True, 'security': False, 'skip_broken': False,
'update_cache': False, 'update_only': False, 'validate_certs': True,
'lock_timeout': 30, 'conf_file': None, 'disable_excludes': None,
'download_dir': None, 'list': None, 'releasever': None}},
'_ansible_no_log': False, 'changed': False}, 'start':
'2021-05-15T01:18:03.800468', 'end': '2021-05-15T01:18:04.947696',
'duration': 1.147228, 'ignore_errors': None, 'event_loop': None, 'uuid':
'fa961926-9a3a-4d9e-a6bf-d53f98645af2'}}

2021-05-14 20:18:04,951 - runner_service.services.playbook - DEBUG -
cb_event_handler event_data={'uuid':
'1007f755-dee8-407f-999c-b08c8b813ea7', 'counter': 53, 'stdout': '\r\nPLAY
RECAP
*\r\
novirt-host-04.maxisinc.net : ok=14   changed=1unreachable=0
 failed=1skipped=2rescued=0ignored=0   \r\n', 'start_line': 45,
'end_line': 49, 'runner_ident': '6060ba26-b51b-11eb-ba6e-d8cb8a87894e',
'event': 'playbook_on_stats', 'pid': 1742807, 'created':
'2021-05-15T01:18:04.949918', 'parent_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'event_data': {'playbook':
'ovirt-host-deploy.yml', 'playbook_uuid':
'e5595457-2c74-4525-8d98-e34bf2e0e342', 'changed': {'
ovirt-host-04.maxisinc.net': 1}, 'dark': {}, 'failures': {'
ovirt-host-04.maxisinc.net': 1}, 'ignored': {}, 'ok': {'
ovirt-host-04.maxisinc.net': 14}, 'processed': {'ovirt-host-04.maxisinc.net':
1}, 'rescued': {}, 'skipped': {'ovirt-host-04.maxisinc.net': 2},
'artifact_data': {}, 'uuid': '1007f755-dee8-407f-999c-b08c8b813ea7'}}
2021-05-14 20:18:05,147 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml, UUID=6060ba26-b51b-11eb-ba6e-d8cb8a87894e
ended, status=failed
2021-05-14 20:18:05,154 - runner_service.services.playbook - INFO -
Playbook ovirt-host-deploy.yml Stats: {'skipped': {'
ovirt-host-04.maxisinc.net': 2}, 'ok': {'ovirt-host-04.maxisinc.net': 14},
'dark': {}, 'failures': {'ovirt-host-04.maxisinc.net': 1}, 'processed': {'
ovirt-host-04.maxisinc.net': 1}, 'changed': {'ovirt-host-04.maxisinc.net':
1}}


*David Johnson*
___
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: 

[ovirt-users] Re: Error Adding host to cluster

2021-05-14 Thread Patrick Lomakin
have you tried installing ovirt packages on the host manually?
___
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/MKBTMPK5Y5OXPBVOTN3FQYEBVBWGXJFR/


[ovirt-users] Power management on Dell PowerEdge R320 and R520

2021-05-14 Thread Pavel Strzinek
Hello,
I am having trouble configuring fencing on these two servers with iDrac7 module 
from freshly installed oVirt 4.4.6. I tried drac5, drac7 and ipmilan modules 
and neither passes the test. I used ipmilan with option "lanplus=1", as noted 
in previous threads about idrac usage with oVirt/RHEV, but with no success. 
Also, I am successfully using ipmilan fencing from older oVirt 4.2 on several 
SuperMicro server nodes.

This is the error message in engine.log:
2021-05-14 09:28:41,185+02 ERROR 
[org.ovirt.engine.core.bll.pm.FenceProxyLocator] (default task-6) 
[12faf352-da4a-4b24-9ab9-af54559cecd1] Can not run fence action on host 
'onode1', no suitable proxy host was found.

I can successfully query the idrac module with ipmitool from command line on 
the node, using the same 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/LE7FUYGXI47VMI3F746LET4HHHKIPQYO/


[ovirt-users] Re: Migrating VMs with templates from 4.2.8 to new 4.4.6 instance

2021-05-14 Thread Pavel Strzinek
Hello,
I tried to alternatively use NFS data storage for migration instead of export, 
but I am not successful either. After attaching the storage to new instance 
(and converting it to version 5 - irreversible step!), I cannot import the 
template either, it gives me this error in GUI:

Error while executing action:
Template_XYZ:
Cannot import Template. The image {diskImageId}/{imageId} does not exist on 
any active storage domain.

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


[ovirt-users] Create Brick from Engine host view

2021-05-14 Thread Harry O
When I try to create a single disk brick via host view "storage devices" on 
engine, I get the following error.
Error while executing action Create Brick: Internal Engine Error
Failed to create brick lalaf on host hej1.5ervers.lan of cluster Clu1.
I want the brick to be single disk no raid, no cache. Is there a way to create 
it via CLI? Do I need to pull some logs?
___
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/3R75BVRMRY6DTLMQHQJYSYJQGLHKUAVU/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hi Martin,

Thank you for the help, I have modified my playbook without the first task.
Here is it:

- name: Change state in next_run and reboot
  ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

The VMs doesn't reboot. Nothing has changed, I can't understand where is my 
error.

Here my scenario by ansible playbook:

1) turn on VMs (Works fine)
2) first reboot (NO)
3) second reboot (NO)
___
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/CMOUQHPWKPP3RSYSDVAQBI4TLH3WK2EB/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Martin Necas
You are not providing any other parameters that's why it does not reboot.
In ansible, you are inputting what state you want to have the machine.

Let's say that you have some running VM with 2GiB of RAM and you want to
change it to 4GiB.
If you will start the playbook for the first time it will change to 4GiB
and reboot,
but the second time no changes because it already has 4GiB, so no change
needed.

The same goes for the boot, I guess the VM already had HD boot and you were
trying to change it to it,
ansible checked that it was not necessary.

On Fri, May 14, 2021 at 8:25 PM Alessio B. 
wrote:

> Hi Martin,
>
> Thank you for the help, I have modified my playbook without the first task.
> Here is it:
>
> - name: Change state in next_run and reboot
>   ovirt_vm:
> name: "{{ item.name }}"
> auth: "{{ ovirt_auth }}"
> state: next_run
> wait: true
>   with_items:
> - "{{ vm_result.ovirt_vms }}"
>   ignore_errors: true
>
> The VMs doesn't reboot. Nothing has changed, I can't understand where is
> my error.
>
> Here my scenario by ansible playbook:
>
> 1) turn on VMs (Works fine)
> 2) first reboot (NO)
> 3) second reboot (NO)
> ___
> 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/CMOUQHPWKPP3RSYSDVAQBI4TLH3WK2EB/
>
___
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/6RM4CFJ2FNRFAAUCSB3KXLOBWHTJKLXG/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Martin Necas
On Fri, May 14, 2021 at 6:57 PM Martin Necas  wrote:

>  Hi Alessio,
>
> I just tested it and it seems to be working without a problem.
>
> To explain the examples which you sent, might help.
>
> The `next_run: true` "prepares" the VM parameters and after reboot, the
> parameters will be set.
> I noticed that you did not set any parameter to the VM in that task, so it
> has nothing to do.
>
> And as for the second example, with `state: next_run`, this updates the
> parameters and reboots automatically.
>
It checks the state of the parameters if it should update them or not, if
it is already HD it does not need any update so it just passes.

> Please check out if the VM does not already have boot_devices set to hard
> disk.
>

> Martin Necas
>
> On Fri, May 14, 2021 at 1:36 PM Alessio B. <
> alessio.battaglia.1...@gmail.com> wrote:
>
>> Hi,
>>
>> in debug mode I haven't any error.
>> The reboot can't be invoked when the VMs are in running state.
>> ___
>> 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/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/
>>
>
___
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/RQZJPBPRVXTTWO4JTY26JKAQBZWJBG47/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Klaas Demter

Shouldn't it be opened against the ovirt collection?

https://github.com/oVirt/ovirt-ansible-collection/issues

On 11/5/18 11:23 AM, Ondra Machacek wrote:

Joey is right, we don't such functionality. But feel free to open an
issue here[1] and we can implement it.

[1] https://github.com/ansible/ansible/issues

On 11/3/18 1:10 AM, Joey Ma wrote:

hi,

AFAIK, setting state=stopped is the only way to poweroff a VM. While to
reboot a VM, you could also follow the steps below:
1. Update a VM with some new properties that requires a restart 
operation,

also with the param: next_run=true
2. Set state=next_run in your playbook and apply it

Then the VM could reboot automatically.

On Sat, Nov 3, 2018 at 1:19 AM Nathanaël Blanchet  
wrote:


Hello, is there a way to poweroff or reboot (without stopped and 
running

state) a vm with the ovirt_vm ansible module?

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/EBJOTJJKW3TGI63D2FXAK53ORXEUU3LO/ 






___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/L5PEO3WOODJIB2WOV4HW2JD7UFOX2CVF/



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/3HPGM2N7WTTV5SDH6BQ7PVDLRTLUZY2R/

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


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Martin Necas
 Hi Alessio,

I just tested it and it seems to be working without a problem.

To explain the examples which you sent, might help.

The `next_run: true` "prepares" the VM parameters and after reboot, the
parameters will be set.
I noticed that you did not set any parameter to the VM in that task, so it
has nothing to do.

And as for the second example, with `state: next_run`, this updates the
parameters and reboots automatically.
Please check out if the VM does not already have boot_devices set to hard
disk.

Martin Necas

On Fri, May 14, 2021 at 1:36 PM Alessio B. 
wrote:

> Hi,
>
> in debug mode I haven't any error.
> The reboot can't be invoked when the VMs are in running state.
> ___
> 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/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/
>
___
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/EV6QQX6BFLKTVZYDFOQG6PZR6PKK4WQS/