[ovirt-users] Re: Ovirt VM import issue

2020-12-23 Thread Liran Rotenberg
Hi,
First - I would try without th ' in the start and the end of the OVA path.
Other than that, we will need logs.

Regards,
Liran

On Wed, Dec 23, 2020 at 5:06 PM Shani Leviim  wrote:

> +Liran Rotenberg 
>
> Hi Deekshith,
> Is there some more info on the engine log?
>
>
> *Regards,*
>
> *Shani Leviim*
>
>
> On Tue, Dec 22, 2020 at 2:51 PM Deekshith via Users 
> wrote:
>
>> Hi Team ,
>>
>>
>>
>>
>>
>> We are not able to import the Virtual machine from ova file into Ovirt
>>  .Kindly help us
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Regards
>>
>> *Deekshith*
>>
>>
>> ___
>> 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/BDXY3M5KZ7DKH76IVN4KOLT2LR5B3QNL/
>>
>
___
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/KPMLWYJ35BHHTEGTSIVUYUENRBHLQS3R/


[ovirt-users] Re: OVA export issues

2020-12-19 Thread Liran Rotenberg
On Sat, Dec 19, 2020 at 7:33 PM Jonathan Baecker  wrote:

> Hello,
>
> I have here an older server, one host with external engine,  4.4.4-1.el8
> installation, with a slow 2Gbit nfs storage. When I export OVAs from
> smaller VMs (under 40GB) it works but with bigger one, around 95GB I have
> problems.
>
> I have already change the export target to a local folder, which makes the
> process faster and the GUI shows no errors, but when I extract the vm.ovf
> file, from the exported archive, it is not complete. It missing a closing
> part from the xml definition. The end stops here: *
> By my test before, I was able to add the closing part by hand and import
> the OVA, but then the VM had no disk attached. I don't know if the size is
> the problem, my backup script which export the VMs to the export domain
> works normal. I only know, that the error I can reproduce on minimum 2 VMs.
>
> The last part of the export log looks like:
>
> /var/log/ovirt-engine/ansible-runner-service.log:2020-12-19 12:02:52,610 -
> runner_service.services.playbook - DEBUG - cb_event_handler
> event_data={'uuid': '2ac62a85-7efa-4d14-a941-c1880bd016fd', 'counter': 35,
> 'stdout': 'changed: [onode-2.example.org]', 'start_line': 34, 'end_line':
> 35, 'runner_ident': '9ac880ce-4219-11eb-bfd8-5254000e4c2c', 'event':
> 'runner_on_ok', 'pid': 1039034, 'created': '2020-12-19T17:02:52.606639',
> 'parent_uuid': '5254000e-4c2c-ed4e-fdf7-0022', 'event_data':
> {'playbook': 'ovirt-ova-export.yml', 'playbook_uuid':
> 'ee4a698c-f639-49c8-8fa9-af2778f0862d', 'play': 'all', 'play_uuid':
> '5254000e-4c2c-ed4e-fdf7-0007', 'play_pattern': 'all', 'task':
> 'Rename the OVA file', 'task_uuid': '5254000e-4c2c-ed4e-fdf7-0022',
> 'task_action': 'command', 'task_args': '', 'task_path':
> '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-ova-export-post-pack/tasks/main.yml:2',
> 'role': 'ovirt-ova-export-post-pack', 'host': 'onode-2.discovery.intern',
> 'remote_addr': 'onode-2.discovery.intern', 'res': {'cmd': ['mv',
> '/mnt/intern/win2016-01.ova.tmp', '/mnt/intern/win2016-01.ova'], 'stdout':
> '', 'stderr': '', 'rc': 0, 'start': '2020-12-19 12:02:52.560917', 'end':
> '2020-12-19 12:02:52.572358', 'delta': '0:00:00.011441', 'changed': True,
> 'invocation': {'module_args': {'_raw_params': 'mv
> "/mnt/intern/win2016-01.ova.tmp" "/mnt/intern/win2016-01.ova"', 'warn':
> True, '_uses_shell': False, 'stdin_add_newline': True, 'strip_empty_ends':
> True, 'argv': None, 'chdir': None, 'executable': None, 'creates': None,
> 'removes': None, 'stdin': None}}, 'stdout_lines': [], 'stderr_lines': [],
> '_ansible_no_log': False}, 'start': '2020-12-19T17:02:51.954144', 'end':
> '2020-12-19T17:02:52.605820', 'duration': 0.651676, 'event_loop': None,
> 'uuid': '2ac62a85-7efa-4d14-a941-c1880bd016fd'}}
>
> Any ideas?
>
Hi Jonathan,
Can you share the engine log and the whole export logs?

Regards,
Liran

>
> Best regards
>
> Jonathan
>
>
>
> ___
> 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/KGA5H7F77EH6MREIEB55TBFDOJOUG6KD/
>
___
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/FYCHJ4IL7KG2VUNEZ5DUIWDEGPEIHF3W/


[ovirt-users] Re: Guest OS Memory Free/Cached/Buffered: Not Configured

2020-11-29 Thread Liran Rotenberg
Hi Stefan,
Please check out https://bugzilla.redhat.com/1884050 if it fits your
problem.
The resolution was having the right guest-agent installed in the
guest(qemu-guest-agent or ovirt-guest-agent).

On Sun, Nov 29, 2020 at 10:57 AM Stefan Seifried 
wrote:

> Hi,
>
> I'm quite new to oVirt, so my apologizies if I'm asking something dead
> obvious:
> I noticed that there is an item in the 'General Tab' of each VM, which
> says 'Guest OS Memory Free/Cached/Buffered' and on all my VM's it says 'Not
> Configured'. Right now I'm trying to figure out how to enable this feature.
> I assume that this gives me the equivalent output of executing 'free' on
> the shell on a Linux guest.
>
> Googling and digging around the VMM guide did not give me any pointers so
> far.
>
> Thanks in advance,
> Stefan
>
> PS: A little background info: I have one 'client' which keeps nagging me
> to increase the RAM on his VM because it's constantly operating at 95%
> memory load (as shown on the VM dashboard). After a quick investigation
> with 'free' I could see that Linux has built up the disk cache to 12G (from
> 16G total, no swapping occured). My intention is to make the real memory
> load visible to him, as he has already access to the VM portal for
> shutdown/restart/etc.
> ___
> 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/4IBDDFYNKD7PESO7BTR66SZRGQTSXCVD/
>
___
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/76XUOTFFLVEVBAEJ7NUSPGF45ZZF3AOH/


[ovirt-users] Re: [ovirt-devel] Host's status how to change to UP when I execute Management--> Active command

2020-11-05 Thread Liran Rotenberg
Hi,
The engine will monitor that host. Once it's reachable and we can get
information from it the status will change accordingly.
Please check out the HostMonitoring class.

On Thu, Nov 5, 2020 at 11:57 AM lifuqi...@sunyainfo.com <
lifuqi...@sunyainfo.com> wrote:

>
> Hi,
> I checkout ovirt-engine's code with branch 4.2;  When execute Host's
> Management --> Active  command,  ovirt engine just set vds's status to
> "Unassigned" but how the vds's status changed to "UP" in ovirt-engine?  The
> code in ActiveVdsCommand.executeCommand() as follows:
> protected void executeCommand() {
>
> final VDS vds = getVds();
> try (EngineLock monitoringLock = acquireMonitorLock("Activate
> host")) {
> executionHandler.updateSpecificActionJobCompleted(vds.getId(),
> ActionType.MaintenanceVds, false);
>
> setSucceeded(setVdsStatus(VDSStatus.Unassigned).getSucceeded());
>
> if (getSucceeded()) {
> TransactionSupport.executeInNewTransaction(() -> {
> // set network to operational / non-operational
> List networks =
> networkDao.getAllForCluster(vds.getClusterId());
> networkClusterHelper.setStatus(vds.getClusterId(),
> networks);
> return null;
> });
>
> // Start glusterd service on the node, which would haven
> been stopped due to maintenance
> if (vds.getClusterSupportsGlusterService()) {
> runVdsCommand(VDSCommandType.ManageGlusterService,
> new GlusterServiceVDSParameters(vds.getId(),
> Arrays.asList("glusterd"), "restart"));
> // starting vdo service
> GlusterStatus isRunning =
> glusterUtil.isVDORunning(vds.getId());
> switch (isRunning) {
> case DOWN:
> log.info("VDO service is down in host : '{}' with
> id '{}', starting VDO service",
> vds.getHostName(),
> vds.getId());
> startVDOService(vds);
> break;
> case UP:
> log.info("VDO service is up in host : '{}' with
> id '{}', skipping starting of VDO service",
> vds.getHostName(),
> vds.getId());
>break;
> case UNKNOWN:
> log.info("VDO service is not installed host :
> '{}' with id '{}', ignoring to start VDO service",
> vds.getHostName(),
> vds.getId());
> break;
> }
>
> }
> }
> }
> }
>
>
> Your Sincerely
> Mark Lee
> ___
> Devel mailing list -- de...@ovirt.org
> To unsubscribe send an email to devel-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/de...@ovirt.org/message/36745S77NLH3KINTB4MQMGTBE5EDWTUW/
>
___
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/IMTEWTYO4TPQ3ZHGNZOLVVZAXXSJ7H7O/


[ovirt-users] Re: Affinity Group Graceful Migration

2020-11-05 Thread Liran Rotenberg
On Wed, Nov 4, 2020 at 7:23 PM  wrote:

> Hello,
>  I'm trying to get an Affinity Group setup that will gracefully remove VMs
> from a Host. Below is what I've tried but the VMs will not migrate off.
>
> oVirt 4.3
> Priority: 1
> VM Affinity Rule: Disabled
> Host Affinity Rule: Negative ( Soft )
> Virtual Machines: Select a VM ( My understanding is this would mean all
> VMs? )
> Hosts: Host: 
>
Hi,
In the virtual machines select all the VMs you wish that (kindly) won't be
on that host. If you didn't select any, this rule won't do anything.
Every amount of time the engine will check if one of these VMs is on the
host. If so it will check the possibility to migrate it/them away.
Soft affinity indicates that if it won't be possible, that's fine and the
VM will stay on that host, on the next check iteration the engine will try
to do it again.

>
> Also, is this right place to ask for help on this?
>
This is exactly the right place :)

> ___
> 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/NPKSHDG3ULD4AP54PUNITCHTQKOAHLW7/
>
___
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/LBDPVXYIISDSRTXMSM3U7WQY7SGZLYSU/


[ovirt-users] Re: Help needed - Not able to find Windows Guest agent in 4.4.1.10-1.el8 Hosted Engine

2020-08-17 Thread Liran Rotenberg
Hi,
Windows guest tools/Ovirt guest tools were dropped in 4.4 in favor of
virtio-win.
Try: # yum install virtio-win

On Sat, Aug 15, 2020 at 4:05 PM Alex K  wrote:

>
>
> On Fri, Aug 14, 2020, 06:12 dhanaraj.ramesh--- via Users 
> wrote:
>
>> Hi Team,
>>
>> unable to locate Windows guest agant iso in 4.4.1.10-1.el8 Hosted Engine
>> version. please share us where can i get the iso?
>>
> Usually I grab them from here: https://resources.ovirt.org/pub/
> I was not able to find a 4.4 version, but 4.3 will do just fine.
>
>>
>> there is no /usr/share/oVirt-guest-tools-iso/oVirt-tools-setup.iso
>> available in 4.4.1 HE
>> ___
>> 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/BAHAWSDM5BRMJGUFIM337PP7NL5WPGX3/
>>
> ___
> 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/U57AMBSVXWFOKFHGTQMWX72Y76HOIG6R/
>
___
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/TV5KHAIKZ3WUHBQC3SGJJ53ALHM55D7C/


[ovirt-users] Re: Windows TimeZone UTC

2020-07-26 Thread Liran Rotenberg
On Sun, Jul 26, 2020 at 11:52 AM Erez Zarum  wrote:

> Hey Liran,
> I still don't understand from those resources how can i add an "extra"
> timezone that is not "compiled" into Engine?
> Is there a possibility you can write one here? I fear to mess up the
> Engine.
>
Hi, I'm afraid not. There is no option to add a new one.
The only options you have for windows are:
https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms912391(v=winembedded.11)?redirectedfrom=MSDN
As can be seen in:
https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/TimeZoneType.java

> ___
> 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/4TJBJEW5QF74EKOBEX5TBH2VHSYRSISR/
>
___
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/OT2BQH3TJ5Y7IPGFNEE2C4UPMECISUZC/


[ovirt-users] Re: Windows TimeZone UTC

2020-07-22 Thread Liran Rotenberg
I think this:
https://www.ovirt.org/develop/developer-guide/engine/engine-config-examples.html
Or this:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/administration_guide/sect-the_engine_configuration_tool
May help you.

Here is an example in the docs:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4-beta/html/administration_guide/vdsm_hooks_defining_custom_properties

Liran.

On Wed, Jul 22, 2020 at 1:54 PM Erez Zarum  wrote:

> I ran into this link while searching, how can i change it using
> engine-config? I see no reference there.
>
> 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/THBA6GJ4W3UF2GKWUXX2GH2B53WA/
>
___
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/XA6TFE7ZCOPVGU4HNGSMOBLOY4QOSSIY/


[ovirt-users] Re: Windows TimeZone UTC

2020-07-21 Thread Liran Rotenberg
Hi Erez,
Did you try changing it in the engine-config[1]?

[1] -
https://www.ovirt.org/develop/developer-guide/engine/engine-supported-time-zones.html

Regards,
Liran.

On Mon, Jul 20, 2020 at 7:24 PM Erez Zarum  wrote:

> The Engine has the TimeZone types compiled, this may be an issue when one
> wants to configure a Windows Machine to use UTC as a Timezone instead of
> GMT.
> Using GMT sets the Windows VM to "London, Dublin" time which may cause
> issues with daylight saving for some users.
> There should be an option to supply our own Timezone or the least, make
> sure it is indeed coordinated with what Windows supports.
> ___
> 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/XZ6KQWPMSH6U5P57KL2Y2WN6KPVHO43L/
>
___
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/WTI24BJBDBNK5LP26CGXB46E2XWUJ52P/


[ovirt-users] Re: cloud-init: reverts on reboot

2020-06-18 Thread Liran Rotenberg
On Fri, Jun 12, 2020 at 9:23 AM Florian Schmid via Users 
wrote:

> Hi,
>
> we are using cloud-init for several years now and it looks like, that
> cloud-init needs a config for every boot, otherwise, it will use the
> default network config, which is DHCP.
>
> We come around this issue by adding this file:
> cat /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
> network: {config: disabled}
>
> by cloud-init itself on the first run.
>
> With this, cloud-init creates only once the network config and never
> touches it again.
> I would not completely disable cloud-init, because this could also have
> some drawbacks, like not being able to create a root/user password anymore,
> if on worst case, ssh is not working anymore...
>
> What we also fix on the first boot is the datasource_list
> -> datasource_list: ["NoCloud", "ConfigDrive"]
>
> Otherwise, we have an extremely long boot process (up to 5 minutes or so),
> because cloud-init tries to reach several cloud-config URLs.
>
> BR Florian
>
> - Ursprüngliche Mail -
> Von: "Jp" 
> An: "users" 
> Gesendet: Donnerstag, 11. Juni 2020 16:54:31
> Betreff: [ovirt-users] Re: cloud-init: reverts on reboot
>
> I re-read the docs on creating VMs.
>
> What is the difference between the Run Once w/ it's pop-up form vs the
> Initial Run with it's embedded form?
>
>From an engine point of view it's quite a difference, run once creates a
one-time configuration to start the VM with and then roll back to the
existing.
As for cloud-init, when you set it in the Edit VM, initial run (without
run-once), on the first time you will run the VM in your environment(first
boot for that VM in your environment), cloud-init will use it.
While, on run-once, it will use the configuration again.

>
> If an (updated) doc were to have a sequential workflow for using
> cloud-init in oVirt for a new VM's setup, would it look like this:
>
> * assume cloud-init already installed, ex. Glance image; so
> SysPre/Cloud-Init process already done*
>
> Glance Image Method
>
> 1. Import Image + Create Template
> 2. Create VM (_don't_ use Run; and _don't_ populate Initial Run tab)
> 3. start VM with Run Once (_not_ Run)
> 4. fill out Run Once pop-up form
> 5. VM boots as usual
> 6. remote Console/shell into VM to verify setting
> 7. Reboot or Shutdown/Run
> 8. use cloud-init'd VM like any other non-cloud-init'd VM
>
> That ^ look right?
>
I don't really understand point 8. But from at 5 the VM should consume the
cloud-init configuration and it should stay in the VM.
You may try and reconfigure if you use run-once again, setting cloud-init
configuration again.
It looks OK.

> Is CentOS8.2 out?  I checked blog.centos.org but it looks like they had
build issues to still resolve as of last week ...
I'm not sure about centos8.2, adding +Sandro Bonazzola 
 .

> ___
> 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/LXA4TCGENOQ3PPNGTCRPZQQJYXSR52QI/
> ___
> 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/CE7MMZEETR3E5CQUGQ3RBI6KXFVOLUMD/
>
___
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/KO4JDDJ33RMXWY3B6VWIDGJDXARQVP2Z/


[ovirt-users] Re: cloud-init: reverts on reboot

2020-06-11 Thread Liran Rotenberg
Hi Justin,
Make sure that cloud-init is installed and enabled on the VM (before
creating a template from it).
The template should be sealed.

Then you can create a VM from it.
There are two options:
1. Edit the VM with cloud-init configuration.
2. Run-Once with cloud-init configuration.

Your changes should persist on the VM. If you are talking specifically
about the static network being reverted back (to DHCP), we had a bug on it.
Please make sure your cloud-init version is up to date to be at least
18.5-8 as seen in the bug:
https://bugzilla.redhat.com/1706482


Regards,
Liran.

On Thu, Jun 11, 2020 at 9:45 AM Nathanaël Blanchet  wrote:

> Sure it is possible, use "run once" setting with cloud-init checkbox to
> fetch cloud-init settings when you decide and not only at the first boot.
>
> - Mail original -
> De: "Jp" 
> À: "users" 
> Envoyé: Jeudi 11 Juin 2020 04:36:16
> Objet: [ovirt-users] cloud-init: reverts on reboot
>
> cloud-init settings entered into Hosted Engine are reverting after reboot,
> so what's the correct workflow for using the UI form?
>
> I'd like a workflow where I can:
> 1. start with Template (covers most settings)
> 2. create VM
> 3. use cloud-init in the UI (for a few settings, like static IP)
> 4. start/reboot VM and have cloud-init settings stick
>
> How is the above possible?
> ___
> 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/ECHLM4E4Z327XAPDJS5RM6DRM3V4T2JS/
> ___
> 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/YY72LPGSJM5CUETKAXXEUOUUOEMKBP4I/
>
___
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/JUJS7H63YVVURIHFSBFYZXZE56MMRVES/


[ovirt-users] Re: cloud-init ovirt

2020-04-16 Thread Liran Rotenberg
On Wed, Apr 15, 2020 at 5:19 PM PunkGeek  wrote:

> Hello,
> How can I use ovirt tools that configure cloud-init vms by python?
> https://red.ht/2K1gBkn
> Actually, I want just to use this tool in my python libvirt script.
> Best regards
>

Hi,
You can use Python SDK. Here is an example using cloud init:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/start_vm_with_cloud_init.py

Regards,
Liran.

> ___
> 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/WYXK2KZA4P4QRJ5WVVVZU6HFRBW77PIB/
>
___
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/KNMCJWAZ5D2CH4H7VBACFRKCEF6CFGGX/


[ovirt-users] Re: power_saving schedule not powering off hosts

2020-04-05 Thread Liran Rotenberg
On Sun, Apr 5, 2020 at 3:38 PM Maton, Brett 
wrote:

> I've got a cluster made up of five physical hosts, (Dells with idrac 7
> management)
> Power management / fencing enabled on all hosts.
>
> I've enabled the power_saving scheduling policy on my cluster, it's
> migrated all the VM's to a couple of physical hosts so three are sitting
> idle with no VM's.
>
> Shouldn't the power_saving policy shut down the idle hosts?
>
Hi,
It should. In the cluster scheduling policy, did you set
"EnableAutomaticHostPowerManagement" to be true? and setting
"HostsInReserve" to a number of reserve idle hosts is also set?

Regards,
Liran.

> ___
> 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/TCILNZPXCNSJGOAOCB6G6I2SOQS43JVH/
>
___
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/KJE4MQVKIN55IG6S2LSDC3FRLNPTLQIP/


[ovirt-users] Re: Intel Xeon X5460

2019-09-01 Thread Liran Rotenberg
Hi Marcello,
Unfortunately, this processor is not supported since 4.3.
Your processor is in Penryn family (from looking on wikipedia).

Here is the related bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1540921

Regards,
Liran.

On Sun, Sep 1, 2019 at 9:50 AM Marcello Gentile 
wrote:

> Is this procesor supported?
>
>
> https://ark.intel.com/content/www/us/en/ark/products/33087/intel-xeon-processor-x5460-12m-cache-3-16-ghz-1333-mhz-fsb.html
>
> Seems to meet all the requirements but when I install the self hosted
> engine it fails with the error message below:
>
> [ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The
> host has been set in non_operational status, deployment errors: code 156:
> Host Ovirt-Node1.adsdata.ca moved to Non-Operational state as host CPU
> type is not supported in this cluster compatibility version or is not
> supported at all, code 9000: Failed to verify Power Management
> configuration for Host Ovirt-Node1.adsdata.ca., fix accordingly and
> re-deploy."}
>
> Thanks for any help
> ___
> 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/SXZJZ2VQ7ILF56W4NWA5OS6KD5FTJUIO/
>
___
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/XUH5KHUQCQWWMNC52K4CDPICGY7JSIPM/


[ovirt-users] Re: large size OVA import fails

2019-08-22 Thread Liran Rotenberg
There is a default timeout for ansible, which is 30 minutes.
You may refer to:
https://bugzilla.redhat.com/show_bug.cgi?id=1528960
https://github.com/oVirt/ovirt-engine/blob/master/packaging/services/ovirt-engine/ovirt-engine.conf.in

"
# Specify the ansible-playbook command execution timeout in minutes.
It's used for any task, which executes
# AnsibleExecutor class. To change the value permanentaly create a
conf file 99-ansible-playbook-timeout.conf in
# /etc/ovirt-engine/engine.conf.d/
ANSIBLE_PLAYBOOK_EXEC_DEFAULT_TIMEOUT=30
"

Please try to create 99-ansible-playbook-timeout.conf in
/etc/ovirt-engine/engine.conf.d/ and set
ANSIBLE_PLAYBOOK_EXEC_DEFAULT_TIMEOUT=

Regards,
Liran.


On Thu, Aug 22, 2019 at 4:06 PM  wrote:
>
> I have a fairly large OVA (~200GB) that was exported from oVirt4.3.5. I'm 
> trying to import it into a new cluster, also oVirt4.3.5. The import starts 
> fine but fails again and again.
> Everything I can find online appears to be outdated, mentioning incorrect log 
> file locations and saying virt-v2v does the import.
>
> On the engine in /var/log/ovirt-engine/engine.log I can see where it is doing 
> the CreateImageVDSCommand, then a few outputs concerning adding the disk, 
> which end with USER_ADD_DISK_TO_VM_FINISHED_SUCCESS, then the ansible command:
>
> 2019-08-20 15:40:38,653-04
> Executing Ansible command:  /usr/bin/ansible-playbook --ssh-common-args=-F 
> /var/lib/ovirt-engine/.ssh/config -v 
> --private-key=/etc/pki/ovirt-engine/keys/engine_id_rsa 
> --inventory=/tmp/ansible-inventory8416464991088315694 
> --extra-vars=ovirt_import_ova_path="/mnt/vm_backups/myvm.ova" 
> --extra-vars=ovirt_import_ova_disks="['/rhev/data-center/mnt/glusterSD/myhost.mydomain.com:_vmstore/59502c8b-fd1e-482b-bff7-39c699c196b3/images/886a3313-19a9-435d-aeac-64c2d507bb54/465ce2ba-8883-4378-bae7-e231047ea09d']"
>  --extra-vars=ovirt_import_ova_image_mappings="{}" 
> /usr/share/ovirt-engine/playbooks/ovirt-ova-import.yml [Logfile: 
> /var/log/ovirt-engine/ova/ovirt-import-ova-ansible-20190820154038-myhost.mydomain.com-25f6ac6f-9bdc-4301-b896-d357712dbf01.log]
>
> Then nothing about the import until:
> 2019-08-20 16:11:08,859-04 INFO  
> [org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-88) [3321d4f6] Lock freed to 
> object 'EngineLock:{exclusiveLocks='[myvm=VM_NAME, 
> 464a25ba-8f0a-421d-a6ab-13eff67b4c96=VM]', sharedLocks=''}'
> 2019-08-20 16:11:08,894-04 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-88) [3321d4f6] EVENT_ID: 
> IMPORTEXPORT_IMPORT_VM_FAILED(1,153), Failed to import Vm myvm to Data Center 
> Default, Cluster Default
>
>
> I've found the import logs on the engine, in /var/log/ovirt-engine/ova, but 
> the ovirt-import-ova-ansible*.logs for the imports of concern only contain:
>
> 2019-08-20 19:59:48,799 p=44701 u=ovirt |  Using 
> /usr/share/ovirt-engine/playbooks/ansible.cfg as config file
> 2019-08-20 19:59:49,271 p=44701 u=ovirt |  PLAY [all] 
> *
> 2019-08-20 19:59:49,280 p=44701 u=ovirt |  TASK [ovirt-ova-extract : Run 
> extraction script] ***
>
> Watching the host selected for the import, I can see the qemu-img convert 
> process running, but then the engine frees the lock on the VM and reports the 
> import as having failed. However, the qemu-img process continues to run on 
> the host. I don't know where else to look to try and find out what's going on 
> and I cannot see anything that says why the import failed.
> Since the qemu-img process on the host is still running after the engine log 
> shows the lock has been freed and import failed, I'm guessing what's 
> happening is on the engine side.
>
> Looking at the time between the start of the ansible command and when the 
> lock is freed it is consistently around 30 minutes.
>
> # first try
> 2019-08-20 15:40:38,653-04 ansible command start
> 2019-08-20 16:11:08,859-04 lock freed
>
> 31 minutes
>
> # second try
> 2019-08-20 19:59:48,463-04 ansible command start
> 2019-08-20 20:30:21,697-04 lock freed
>
> 30 minutes, 33 seconds
>
> # third try
> 2019-08-21 09:16:42,706-04 ansible command start
> 2019-08-21 09:46:47,103-04 lock freed
>
> 30 minutes, 45 seconds
>
> With that in mind, I took a look at the available configuration keys from 
> engine-config --list. After getting each the only one set to ~30 minutes and 
> looks like it could be the problem was SSHInactivityHardTimeoutSeconds (set 
> to 1800 seconds). I set it to 3600 and tried the import again, but it still 
> failed at ~30 minutes, so that's apparently not the correct key.
>
>
> Also, just FYI, I also tried to import the ova using virt-v2v, but that fails 
> immediately:
>
> virt-v2v: error: expecting XML expression to return an integer (expression:
> rasd:Parent/text(), matching string: 

[ovirt-users] Re: Problem with cloud-init (metrics install)

2019-08-11 Thread Liran Rotenberg
Hi again,
Adding +Dominik Holler
If you deployed the static configuration to the VM using cloud-init
you might be hitting this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1593010

Let me know if this is the case. If not, please elaborate on the steps
you did to this VM.

Regards,
Liran.



On Thu, Aug 8, 2019 at 8:32 PM Chris Adams  wrote:
>
> How do you keep it from reverting back to DHCP on the next reboot?
>
> Once upon a time, Jayme  said:
> > I found this a bit confusing myself.  I ended up having to do it manually
> > by logging in to the VM and changing the IP afterward.
> >
> > On Thu, Aug 8, 2019 at 11:21 AM Chris Adams  wrote:
> >
> > > I'm following this guide:
> > >
> > >
> > > https://ovirt.org/documentation/metrics-install-guide/Installing_Metrics_Store.html
> > >
> > > Specifically, the step "Setup virtual machine static IP and Mac
> > > address".  The deploy does a bunch of stuff automatically, so the first
> > > opportunity I have to do anything is after the VM is already booted.
> > >
> > > It seems that having a DHCP server, with matching reverse/forward DNS
> > > entries for each IP, is a requirement, and that there's not a way to set
> > > the metrics store VM to a static IP (despite having to have a DNS entry
> > > pointing to an IP).
> > >
> > > Once upon a time, Liran Rotenberg  said:
> > > > Hi Chris,
> > > > Run Once option is different from normal run.
> > > > For cloud-init you shall need the pre-requirement:
> > > > A sealed VM, for example if you wish to create a template:
> > > >
> > > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/chap-templates#Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates
> > > > Cloud-init service should be installed and enabled on the VM (make
> > > > sure before sealing the VM).
> > > > Run will consume the cloud-init configuration only if it is the VM's
> > > first run.
> > > >
> > > > Regards,
> > > > Liran.
> > > >
> > > > On Thu, Aug 8, 2019 at 4:07 PM Chris Adams  wrote:
> > > > >
> > > > > I am trying to set up the oVirt Metrics Store, which uses cloud-init
> > > for
> > > > > network settings, so I set the info under the "Initial Run" tab.
> > > > > However, it doesn't seem to actually apply the network settings unless
> > > I
> > > > > "run once" and enable clout-init there.
> > > > >
> > > > > I haven't used cloud-init before (been on my to-do list to check out) 
> > > > > -
> > > > > am I missing something?
> > > > >
> > > > > --
> > > > > Chris Adams 
> > > > > ___
> > > > > 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/UKBKKLQQBFDNSVEIKETOD5GQPVVX2LBT/
> > > > ___
> > > > 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/TAATB64XMPFMBV3TGO6BZOQ3RNGX7Q6A/
> > >
> > > --
> > > Chris Adams 
> > > ___
> > > 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/PKZJG2AXVMWDXIT4R65DQ2BJI3OZF3OQ/
> > >
>
> > ___
> > 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/UDRDSQQ4NJRN36WTKEKAJLQLOMK6B5FG/
>
>
> --
> Chris Adams 
___
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/IXMWSBZSZ7Z5W3SROMJIMSBHFEGR7D72/


[ovirt-users] Re: Problem with cloud-init (metrics install)

2019-08-08 Thread Liran Rotenberg
Hi Chris,
Run Once option is different from normal run.
For cloud-init you shall need the pre-requirement:
A sealed VM, for example if you wish to create a template:
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/virtual_machine_management_guide/chap-templates#Sealing_Virtual_Machines_in_Preparation_for_Deployment_as_Templates
Cloud-init service should be installed and enabled on the VM (make
sure before sealing the VM).
Run will consume the cloud-init configuration only if it is the VM's first run.

Regards,
Liran.

On Thu, Aug 8, 2019 at 4:07 PM Chris Adams  wrote:
>
> I am trying to set up the oVirt Metrics Store, which uses cloud-init for
> network settings, so I set the info under the "Initial Run" tab.
> However, it doesn't seem to actually apply the network settings unless I
> "run once" and enable clout-init there.
>
> I haven't used cloud-init before (been on my to-do list to check out) -
> am I missing something?
>
> --
> Chris Adams 
> ___
> 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/UKBKKLQQBFDNSVEIKETOD5GQPVVX2LBT/
___
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/TAATB64XMPFMBV3TGO6BZOQ3RNGX7Q6A/


[ovirt-users] Re: RHEL 8 Template Seal failed

2019-05-21 Thread Liran Rotenberg
I'll copy Michal's answer from another thread:
"Indeed it won’t work for el8 guests. Unfortunately an el7
libguestfs(so any virt- tool) can’t work with el8 filesystems. And
ovirt still uses el7 hosts
That’s going to be a limitation until 4.4

Thanks,
michal"

If you wish to seal el8 guest, you might seal it manually and create a
template from it.
Liran.

On Fri, May 17, 2019 at 7:46 AM Vinícius Ferrão
 wrote:
>
> Hello,
>
> I’m trying to seal a RHEL8 template but the operation is failing.
>
> Here’s the relevant information from engine.log:
>
> 2019-05-17 01:30:31,153-03 INFO  
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHostJobsVDSCommand] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-58) 
> [91e1acd6-efc5-411b-8c76-970def4ebbbe] FINISH, GetHostJobsVDSCommand, return: 
> {b80c0bbd-25b8-4007-9b91-376cb0a18e30=HostJobInfo:{id='b80c0bbd-25b8-4007-9b91-376cb0a18e30',
>  type='virt', description='seal_vm', status='failed', progress='null', 
> error='VDSError:{code='GeneralException', message='General Exception: 
> ('Command [\'/usr/bin/virt-sysprep\', \'-a\', 
> u\'/rhev/data-center/mnt/192.168.10.6:_mnt_pool0_ovirt_vm/d19456e4-0051-456e-b33c-57348a78c2e0/images/1ecdfbfc-1c22-452f-9a53-2159701549c8/f9de3eae-f475-451b-b587-f6a1405036e8\']
>  failed with rc=1 out=\'[   0.0] Examining the guest ...\\nvirt-sysprep: 
> warning: mount_options: mount exited with status 32: mount: \\nwrong fs type, 
> bad option, bad superblock on /dev/mapper/rhel_rhel8-root,\\n   missing 
> codepage or helper program, or other error\\n\\n   In some cases useful 
> info is found in syslog - try\\n   dmesg | tail or so. 
> (ignored)\\nvirt-sysprep: warning: mount_options: mount: /boot: mount point 
> is not a \\ndirectory (ignored)\\nvirt-sysprep: warning: mount_options: 
> mount: /boot/efi: mount point is not \\na directory (ignored)\\n[  17.9] 
> Performing "abrt-data" ...\\n\' err="virt-sysprep: error: libguestfs error: 
> glob_expand: glob_expand_stub: you \\nmust call \'mount\' first to mount the 
> root filesystem\\n\\nIf reporting bugs, run virt-sysprep with debugging 
> enabled and include the \\ncomplete output:\\n\\n  virt-sysprep -v -x 
> [...]\\n"',)'}'}}, log id: 1bbb34bf
>
> I’m not shure what’s wrong or missing. The VM image is using UEFI with Secure 
> Boot, so standard UEFI partition is in place.
>
> Ive found something on bugzilla but does not seem to be related:
> https://bugzilla.redhat.com/show_bug.cgi?id=1671895
>
> Thanks,
> ___
> 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/WILFBK6SOTKJP25PAS4JODNNOUFW7HUQ/
___
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/WPFWL3U3OORLXYH37EEYQES6RK6L463V/


[ovirt-users] Re: vdsClient in oVirt 4.3

2019-04-03 Thread Liran Rotenberg
I think the similar way to do it as you used to is:
$ vdsm-client Volume setLegality storagedomainID=sdUUID
storagepoolID=spUUID imageID=imgUUID legality=LEGAL volumeID=volUUID
Where the values you set should be inside quotes for example 'LEGAL'.

On Wed, Apr 3, 2019 at 1:08 PM  wrote:
>
> Hi Benny,
>
> Thanks for the help.
>
> Could you please tell me what job_uuid and vol_gen should be replaced
> by? Should I just put any UUID for the job?
>
> Thanks.
>
> El 2019-04-03 09:52, Benny Zlotnik escribió:
> > it should be something like this:
> >   $ cat update.json
> >   {
> >   "job_id":"",
> >   "vol_info": {
> >   "sd_id": "",
> >   "img_id": "",
> >   "vol_id": "",
> >   "generation": ""
> >   },
> >   "legality": "LEGAL"
> >   }
> >   }
> >
> >   $ vdsm-client SDM update_volume -f update.json
> >
> > On Wed, Apr 3, 2019 at 11:48 AM  wrote:
> >>
> >> Hi,
> >>
> >> In oVirt 4.1 we used this command to set a volume as LEGAL:
> >>
> >>  vdsClient -s  setVolumeLegality sdUUID spUUID imgUUID
> >> leafUUID
> >> LEGAL
> >>
> >> What would be the equivalent to this command using vdsm-client in
> >> oVirt
> >> 4.3?
> >>
> >> Thanks.
> >> ___
> >> 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/T7QYVJMDWNRUOKLOZGEA7QPDBKLX4TO2/
> ___
> 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/LUZX6W6KWRZWHDRDJPH6PIEGRVNAGVED/
___
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/RMQL7YGTBFQVMBTW574KGHPPQPHEMWXO/


[ovirt-users] Re: Wrong CPU performance report

2019-02-03 Thread Liran Rotenberg
Hi,
If your windows guest is with update 1803 or above you might hit this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1644693

Regards,
Liran.

On Sun, Feb 3, 2019 at 11:28 PM Hetz Ben Hamo  wrote:

> Hi,
>
> I'm running oVirt 4.2.7.1. I installed Windows 10 pro as a guest, along
> with QXL and all the drivers, as well as QEMU guest agent.
>
> While Windows reports a CPU usage of something like 2-4% when idle, oVirt
> reports 24-27% CPU usage.
>
> Bug? should I report it?
>
> Thanks
> ___
> 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/OJMAVROXJOSJ2B33BZ5XFJ2QGHONM65Z/
>
___
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/MK5QWLJTGPQPLMSFLYR52UQXSVZU5BBR/