[ovirt-users] Could not detect Guest Agent on the VM. Note that without a Guest Agent the data on the created snapshot may be inconsistent!

2018-11-18 Thread Krzysztof Szwarcbach
Hi evrybody! First of all sorry for my language. On windows machines despite 
the installation of  oVirt Guest Tools4.2-4.el7 a warning is issued as in 
Title. 
My solucion: 

a) ovirt-engin DB
update vdc_options set 
option_value='ovirt-guest-agent-common,ovirt-guest-agent,oVirtGuestTools' where 
option_name='AgentAppName';
b) windows VM
Change DisplayName registry:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\oVirtGuestTools
  to oVirtGuestTools-4.2-4.el7.
Restart OVirt Guest service


___
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/2RGHF2NHEFUZDL7G7IPLSVBBSUVYO2YM/


[ovirt-users] Re: How to do per-datacenter/cluster permissions?

2018-11-18 Thread Lucie Leistnerova

Hello,

On 11/16/18 10:44 PM, nyha...@sedsystems.ca wrote:

Hello!

I'm evaluating oVirt for our company, and one thing we need to verify is that 
users only have access to virtual machines/clusters that they should have 
access to. I have the users set up from LDAP, and I added the UserRole to them, 
however it seems like they, by default, have access to every VM available. How 
do I go about limiting what VMs they have access to? I'd assume I'd have to 
limit access on a datacenter or cluster level, but I can't seem to find any 
documentation as to how to do this.
Yes, you have to set permissions on specific cluster, vm or pool. Remove 
the global role of the users. Go to item's detail -> Permissions -> Add.
User can log to VM portal when he has UserRole on some item, he doesn't 
need to have the global role.

___
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/3KT2QDPVFQ45PW23UEUGEX6IK4G26FQI/


Regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
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/W2UDBJTTSJHNKVBDB3YJZ4QVBWA4NOFQ/


[ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

2018-11-18 Thread Yedidyah Bar David
On Sun, Nov 18, 2018 at 5:51 PM Shawn Weeks  wrote:
>
> Do you have an example of using the SDK/API from SSH via Curl or something?

Did you check Nir's suggestion? The example there seems pretty complete to me.

> All I see in the RedHat docs as that there is a Rest API and some get 
> examples. And the QuickStart guide still shows it so you might want to mark 
> it as deprecated in there as well 
> https://www.ovirt.org/documentation/quickstart/quickstart-guide/#uploading-iso-images.

Thanks for the heads up!

Best regards,

>
> Thanks
> Shawn
>
> -Original Message-
> From: Yedidyah Bar David 
> Sent: Sunday, November 18, 2018 4:17 AM
> To: Shawn Weeks ; Sandro Bonazzola 
> 
> Cc: Nir Soffer ; users 
> Subject: Re: [ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted
>
> On Sat, Nov 17, 2018 at 6:32 PM, Shawn Weeks  
> wrote:
> > The only issue with the UI is I’m on VPN so uploading from my local machine
> > would be extremely slow. I discovered the –insecure flag for the cli and
> > that seems to have worked.
>
> Please note that we intend to deprecate this tool. Please try the api/sdk
> as suggested by Nir and tell us if you have any comments/issues etc. Thanks.
>
> Actually I thought we already deprecated it in 4.2, but I now searched and
> can't find anything like [1][2] (which was for the image uploader) or a note
> in the release notes [3]. Adding Sandro. Is it too late now to deprecate
> in 4.2 (so that we can remove in 4.3)?
>
> See also [4][5], which are for RHV.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1306637
> [2] https://www.ovirt.org/release/4.0.0/#ovirt-image-uploader
> [3] https://ovirt.org/release/4.2.0/
> [4] https://bugzilla.redhat.com/show_bug.cgi?id=1579119
> [5] 
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/sect-the_iso_uploader_tool
>
> Thanks and best regards,
>
> >
> >
> >
> > Thanks
> >
> > Shawnk
> >
> >
> >
> > From: Nir Soffer 
> > Sent: Saturday, November 17, 2018 8:43 AM
> > To: Shawn Weeks 
> > Cc: users ; Daniel Erez 
> > Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted
> >
> >
> >
> > On Sat, Nov 17, 2018, 02:45 Shawn Weeks  >
> > Trying to upload an iso using engine-iso-uploader on a hosted-engine
> > instance and I’m getting an SSL Error.  I followed the directions at
> > https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup
> > SSL and am able to login to the Admin console without an issue. Also checked
> > that things like curl recognize the CA correctly. Not sure where
> > engine-iso-uploader is getting it’s trust store.
> >
> >
> >
> > [root@cloud ~]# engine-iso-uploader list
> >
> > Please provide the REST API password for the admin@internal oVirt Engine
> > user (CTRL+D to abort):
> >
> > ERROR: Unable to connect to REST API at
> > https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
> >
> > Message: Error while sending HTTP request: (60, "Peer's certificate issuer
> > has been marked as not trusted by the user.")
> >
> >
> >
> > What am I missing?
> >
> >
> >
> > If you ate using 4.2, you can upload iso files to data domains. You can
> > upload directly from the UI:
> >
> >
> >
> > 1. Open storage > disks
> >
> > 2. Click Upload > Start
> >
> > 3. Select file and fill in the form
> >
> >
> >
> > For faster upload or automation, you can use the SDK. See this example code:
> >
> >
> >
> > https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py
> >
> >
> >
> > With some configuration changes you can use this as command line tool for
> > uploading iso or other images.
> >
> >
> >
> > Nir
> >
> >
> >
> >
> > ___
> > 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/MHEE6MQR2PFKPHFUKVUKMNLN36OU5PQZ/
> >
>
>
>
> --
> Didi



-- 
Didi
___
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/UZDFRCS35G6XX4NKAJTWMCTTFQCDRX7D/


[ovirt-users] Re: GlusterFS LibgfApiSupported and High Availability

2018-11-18 Thread Mike Lykov

18.11.2018 8:16, Shawn Weeks пишет:
Currently when LibgfApiSupported is enabled it looks like the startup 
command for the VM has the Gluster hostname always set to the same host. 
How does that work if that host is down? In my case GlusterFS has 3x 
replication and distribution enabled but if the first host is down the 
VMs don’t work. I’m on GlusterFS 4.1 and oVirt 4.2 latest.


Please see my post at 08 Nov 2018 here with subject "libgfapi support 
are "false" by default in ovirt 4.2 ?​"


there is a link to
https://bugzilla.redhat.com/show_bug.cgi?id=1484227

and some discussion about updates in libvirt

--
Mike
___
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/IHBE4AYDWYZ3BNKBTL4SGDBLERNFGGSA/


[ovirt-users] Re: Error start VM with "XML: Multiple 'scsi' controllers with index '0' " - how to workaround?

2018-11-18 Thread Mike Lykov

18.11.2018 20:02, Sharon Gratch пишет:

Hi,

This was an old issue bug solved in 4.2.2, as you mentioned.


But my ovirt is 4.2.7 (installed at november 2018 begin from
ovirt-release42.rpm repository
(and then update it to 42-pre)


1. Did you run the VM with "run once" or a regular running operation?


No, with this VM I not used "run once", only "run" (I edit boot order to 
boot from CD)


2. Can you please send the vdsm.log and engine log from the time range 
of creating the VM till restarting the VM with a failure?


Ok, i found that logs. Engine log shows that first time creating/running 
was successful, scsi controller doubled later.

I will send logs to your personal email.

VM created at 9 Nov 16:02
one scsi controller
First error encountered at 13 Nov 13:15 - multiple scsi controllers


On Thu, Nov 15, 2018 at 1:04 PM Mike Lykov > wrote:


Hi all.

I'm testing oVirt (it's new to me also) and create some VM with
nearly-all-default parameters.
(ovirt 4.2.7, with last updates)

I create one disk for VM (via webui) :
General -> create -> new image with default interface virtio-scsi
(boot,
50 Gb size)
resource allocation - virtio-scsi enabled by default
IO threads enabled by default
I run it with cdrom+iso for install centos.

When i try to reboot it this VM can start or not can start with error
(one time start, next reboot - not start, sometimes after it start...)

[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ForkJoinPool-1-worker-3) [] EVENT_ID: VM_DOWN_ERROR(119), VM test_rh1
is down with error. Exit message: Ошибка XML: Обнаружено нескол
ько контроллеров «scsi» с индексом «0».

(by the way , why errors are localised? it means  "Multiple 'scsi'
controllers with index '0'"

In engine log here is a config xml dump:

      
        
      
       
        
        
      

It is really contain two controllers:

      
      

But I do NOT add two this controllers by hand!
And sometimes it can start! (without configuration change)

So there is a Question: How to workaround this and start the VM?
In "vm devices" I have two controllers:

virtio-scsi {ioThreadId=1}
scsi {type=pci, slot=0x05, bus=0x00, domain=0x, function=0x0
{index=0}

But all checkboxes are greyed

bug like in this list post:
https://lists.ovirt.org/pipermail/users/2018-February/086860.html

There is a "CLOSED" bugs about this
https://bugzilla.redhat.com/show_bug.cgi?id=1543833#c9
https://bugzilla.redhat.com/show_bug.cgi?id=1563769
https://bugzilla.redhat.com/show_bug.cgi?id=1535961


--
Mike
___
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/JMLURZSRNALKYMHRA5BN6GTEVF6PVCAN/


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


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


[ovirt-users] GlusterFS LibgfApiSupported and High Availability

2018-11-18 Thread Shawn Weeks
Currently when LibgfApiSupported is enabled it looks like the startup command 
for the VM has the Gluster hostname always set to the same host. How does that 
work if that host is down? In my case GlusterFS has 3x replication and 
distribution enabled but if the first host is down the VMs don't work. I'm on 
GlusterFS 4.1 and oVirt 4.2 latest.

Thanks
Shawn
___
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/TNGMFVWRKCAYKQ4PE7RDQUI6RLHXJFJH/


[ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

2018-11-18 Thread Shawn Weeks
Do you have an example of using the SDK/API from SSH via Curl or something? All 
I see in the RedHat docs as that there is a Rest API and some get examples. And 
the QuickStart guide still shows it so you might want to mark it as deprecated 
in there as well 
https://www.ovirt.org/documentation/quickstart/quickstart-guide/#uploading-iso-images.

Thanks
Shawn

-Original Message-
From: Yedidyah Bar David  
Sent: Sunday, November 18, 2018 4:17 AM
To: Shawn Weeks ; Sandro Bonazzola 

Cc: Nir Soffer ; users 
Subject: Re: [ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

On Sat, Nov 17, 2018 at 6:32 PM, Shawn Weeks  wrote:
> The only issue with the UI is I’m on VPN so uploading from my local machine
> would be extremely slow. I discovered the –insecure flag for the cli and
> that seems to have worked.

Please note that we intend to deprecate this tool. Please try the api/sdk
as suggested by Nir and tell us if you have any comments/issues etc. Thanks.

Actually I thought we already deprecated it in 4.2, but I now searched and
can't find anything like [1][2] (which was for the image uploader) or a note
in the release notes [3]. Adding Sandro. Is it too late now to deprecate
in 4.2 (so that we can remove in 4.3)?

See also [4][5], which are for RHV.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1306637
[2] https://www.ovirt.org/release/4.0.0/#ovirt-image-uploader
[3] https://ovirt.org/release/4.2.0/
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1579119
[5] 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/sect-the_iso_uploader_tool

Thanks and best regards,

>
>
>
> Thanks
>
> Shawnk
>
>
>
> From: Nir Soffer 
> Sent: Saturday, November 17, 2018 8:43 AM
> To: Shawn Weeks 
> Cc: users ; Daniel Erez 
> Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted
>
>
>
> On Sat, Nov 17, 2018, 02:45 Shawn Weeks 
> Trying to upload an iso using engine-iso-uploader on a hosted-engine
> instance and I’m getting an SSL Error.  I followed the directions at
> https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup
> SSL and am able to login to the Admin console without an issue. Also checked
> that things like curl recognize the CA correctly. Not sure where
> engine-iso-uploader is getting it’s trust store.
>
>
>
> [root@cloud ~]# engine-iso-uploader list
>
> Please provide the REST API password for the admin@internal oVirt Engine
> user (CTRL+D to abort):
>
> ERROR: Unable to connect to REST API at
> https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
>
> Message: Error while sending HTTP request: (60, "Peer's certificate issuer
> has been marked as not trusted by the user.")
>
>
>
> What am I missing?
>
>
>
> If you ate using 4.2, you can upload iso files to data domains. You can
> upload directly from the UI:
>
>
>
> 1. Open storage > disks
>
> 2. Click Upload > Start
>
> 3. Select file and fill in the form
>
>
>
> For faster upload or automation, you can use the SDK. See this example code:
>
>
>
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py
>
>
>
> With some configuration changes you can use this as command line tool for
> uploading iso or other images.
>
>
>
> Nir
>
>
>
>
> ___
> 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/MHEE6MQR2PFKPHFUKVUKMNLN36OU5PQZ/
>



-- 
Didi
___
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/2BBLELGEQ5V763OSAKHMKRSCS2BPE4M3/


[ovirt-users] Re: Can't install windows guest

2018-11-18 Thread bardos . matyas

Dear all,

thank you for the great support. I think that the iso installer was 
corrupted. I uploaded the iso again, and now it is working fine!



Couple things...

1.). You created a drive correct?  Just wanted to make sure you did
add a drive.

2.) Once you get to that window in the windows setup to choose your
install drive you need to go to your oVirt console and select "Change
Disk" and change it to the virtio iso that contains drivers.

Once you do this you need to "browse" and find the correct driver. The
drive won't show until you load the correct driver.  After you do this
the drive shows.  Select the drive and go back into the oVirt console
and hit "Change Disk" and choose the windows iso again and continue

https://youtu.be/Pasz-lv3gTY
Check out about 26:00 minutes.

On Sun, Nov 18, 2018, 11:35 AM 
Dear Vincent,

Thank you for the quick support. Yes, i have connected the driver
cd,
installed the drivers, but the disk is still not visible for
windows.
Really strange is, that it doesn't matter, if I use scsi, or IDE
(which
should work natively), nothing is visible in windows... :(
So i have no clue what is the problem. I have many virtual windows
guests in my other virtual platform (kvm) and there is everything
working fine.


you have to mount the CD drive with the virtuio drivers during the
setup process.

get to the screen to select disks. do a "change cd" and mount the
virtio ISO.  then you have to go "have disk" in setup and add the
drivers.  Once the drivers are installed, you have to refresh the

list

before it will show the disks. once the disk is showing up then

you do

a change CD again back to the installation .iso.

On Sat, Nov 17, 2018 at 3:28 PM 

wrote:



Dear list,

I am new in ovirt, and I have a problem, which I can’t solve

with

google.  I am not able to install windows guests, because they
can’t find they disk. I have already many linux guests running,

so

generally everything is working fine. I try with virtio-scsi

disks.

What I already tried:
- While the installation process I changed the disk to the virtio
driver disk (downloaded from fedora project), I try to load scsi
drivers, and windows still can’t find the disk
- I tried with virtio floppy (run once) but the floppy is not
visible in windows select menu
- I added the drivers to windows installer wim, but disks still

not

visible
- I tried to add ide drive, but it is not visible either (I have
disabled virtio scsi under resource allocation too, without luck)
- tried windows 7 and 2016

My nodes are: oVirt Node 4.2.1.1
I use local disks but via nfs, so i share the local disk via nfs.

Do you have any idea what could I try. Any clue are welcome,

because

I’m stuck…

Thank you in advance!

Regards!
___
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/727QXGFHKFAODNL3Z3I2H2R55JPUAG5N/

___
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/6KQUX6TLEVNDSMLBZR7QZSMQYV2W2V5E/

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


[ovirt-users] Re: Can't install windows guest

2018-11-18 Thread bardos . matyas

Dear Stewart,

sorry, I was like a normal user... I don't read the error message. The 
message looks like:

https://images.drivereasy.com/wp-content/uploads/2016/06/img_5751005d9e1c2.png
so that means, not the hdd is missing, the cd / dvd drive is missing. So 
I have booted up the VM with mini windows xp, and i saw, that the IDE 
driver is present, and if the scsi driver would be loaded, i thing the 
scsi driver would be present too. So the problem from installer is not, 
the missing hdd, the problem is some other hardware driver. I have 
tried, to add ALL drivers directory to directory from the virtio cd/iso, 
but the message is the same. So it seems like there would be some 
emulated hardware, what is not on the virtio cd. What I have tried, I 
deleted the NIC, and every "extra" hardware component, that is not 
neccessary. The error is the same. Do you have an idea, wich virtual 
hardware could cause the problem?


Thanks!


Couple things...

1.). You created a drive correct?  Just wanted to make sure you did
add a drive.

2.) Once you get to that window in the windows setup to choose your
install drive you need to go to your oVirt console and select "Change
Disk" and change it to the virtio iso that contains drivers.

Once you do this you need to "browse" and find the correct driver. The
drive won't show until you load the correct driver.  After you do this
the drive shows.  Select the drive and go back into the oVirt console
and hit "Change Disk" and choose the windows iso again and continue

https://youtu.be/Pasz-lv3gTY
Check out about 26:00 minutes.

On Sun, Nov 18, 2018, 11:35 AM 
Dear Vincent,

Thank you for the quick support. Yes, i have connected the driver
cd,
installed the drivers, but the disk is still not visible for
windows.
Really strange is, that it doesn't matter, if I use scsi, or IDE
(which
should work natively), nothing is visible in windows... :(
So i have no clue what is the problem. I have many virtual windows
guests in my other virtual platform (kvm) and there is everything
working fine.


you have to mount the CD drive with the virtuio drivers during the
setup process.

get to the screen to select disks. do a "change cd" and mount the
virtio ISO.  then you have to go "have disk" in setup and add the
drivers.  Once the drivers are installed, you have to refresh the

list

before it will show the disks. once the disk is showing up then

you do

a change CD again back to the installation .iso.

On Sat, Nov 17, 2018 at 3:28 PM 

wrote:



Dear list,

I am new in ovirt, and I have a problem, which I can’t solve

with

google.  I am not able to install windows guests, because they
can’t find they disk. I have already many linux guests running,

so

generally everything is working fine. I try with virtio-scsi

disks.

What I already tried:
- While the installation process I changed the disk to the virtio
driver disk (downloaded from fedora project), I try to load scsi
drivers, and windows still can’t find the disk
- I tried with virtio floppy (run once) but the floppy is not
visible in windows select menu
- I added the drivers to windows installer wim, but disks still

not

visible
- I tried to add ide drive, but it is not visible either (I have
disabled virtio scsi under resource allocation too, without luck)
- tried windows 7 and 2016

My nodes are: oVirt Node 4.2.1.1
I use local disks but via nfs, so i share the local disk via nfs.

Do you have any idea what could I try. Any clue are welcome,

because

I’m stuck…

Thank you in advance!

Regards!
___
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/727QXGFHKFAODNL3Z3I2H2R55JPUAG5N/

___
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/6KQUX6TLEVNDSMLBZR7QZSMQYV2W2V5E/

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


[ovirt-users] Re: Can't install windows guest

2018-11-18 Thread Wesley Stewart
Couple things...

1.). You created a drive correct?  Just wanted to make sure you did add a
drive.

2.) Once you get to that window in the windows setup to choose your install
drive you need to go to your oVirt console and select "Change Disk" and
change it to the virtio iso that contains drivers.

Once you do this you need to "browse" and find the correct driver. The
drive won't show until you load the correct driver.  After you do this the
drive shows.  Select the drive and go back into the oVirt console and hit
"Change Disk" and choose the windows iso again and continue

https://youtu.be/Pasz-lv3gTY
Check out about 26:00 minutes.

On Sun, Nov 18, 2018, 11:35 AM  Dear Vincent,
>
> Thank you for the quick support. Yes, i have connected the driver cd,
> installed the drivers, but the disk is still not visible for windows.
> Really strange is, that it doesn't matter, if I use scsi, or IDE (which
> should work natively), nothing is visible in windows... :(
> So i have no clue what is the problem. I have many virtual windows
> guests in my other virtual platform (kvm) and there is everything
> working fine.
>
>
> > you have to mount the CD drive with the virtuio drivers during the
> > setup process.
> >
> > get to the screen to select disks. do a "change cd" and mount the
> > virtio ISO.  then you have to go "have disk" in setup and add the
> > drivers.  Once the drivers are installed, you have to refresh the list
> > before it will show the disks. once the disk is showing up then you do
> > a change CD again back to the installation .iso.
> >
> > On Sat, Nov 17, 2018 at 3:28 PM  wrote:
> >
> >> Dear list,
> >>
> >> I am new in ovirt, and I have a problem, which I can’t solve with
> >> google.  I am not able to install windows guests, because they
> >> can’t find they disk. I have already many linux guests running, so
> >> generally everything is working fine. I try with virtio-scsi disks.
> >> What I already tried:
> >> - While the installation process I changed the disk to the virtio
> >> driver disk (downloaded from fedora project), I try to load scsi
> >> drivers, and windows still can’t find the disk
> >> - I tried with virtio floppy (run once) but the floppy is not
> >> visible in windows select menu
> >> - I added the drivers to windows installer wim, but disks still not
> >> visible
> >> - I tried to add ide drive, but it is not visible either (I have
> >> disabled virtio scsi under resource allocation too, without luck)
> >> - tried windows 7 and 2016
> >>
> >> My nodes are: oVirt Node 4.2.1.1
> >> I use local disks but via nfs, so i share the local disk via nfs.
> >>
> >> Do you have any idea what could I try. Any clue are welcome, because
> >> I’m stuck…
> >>
> >> Thank you in advance!
> >>
> >> Regards!
> >> ___
> >> 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/727QXGFHKFAODNL3Z3I2H2R55JPUAG5N/
> ___
> 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/6KQUX6TLEVNDSMLBZR7QZSMQYV2W2V5E/
>
___
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/S5D55SCPC4T7MWLGKJS54KQOMPYCYRCL/


[ovirt-users] Re: Can't install windows guest

2018-11-18 Thread bardos . matyas

Dear Vincent,

Thank you for the quick support. Yes, i have connected the driver cd, 
installed the drivers, but the disk is still not visible for windows. 
Really strange is, that it doesn't matter, if I use scsi, or IDE (which 
should work natively), nothing is visible in windows... :(
So i have no clue what is the problem. I have many virtual windows 
guests in my other virtual platform (kvm) and there is everything 
working fine.




you have to mount the CD drive with the virtuio drivers during the
setup process.

get to the screen to select disks. do a "change cd" and mount the
virtio ISO.  then you have to go "have disk" in setup and add the
drivers.  Once the drivers are installed, you have to refresh the list
before it will show the disks. once the disk is showing up then you do
a change CD again back to the installation .iso.

On Sat, Nov 17, 2018 at 3:28 PM  wrote:


Dear list,

I am new in ovirt, and I have a problem, which I can’t solve with
google.  I am not able to install windows guests, because they
can’t find they disk. I have already many linux guests running, so
generally everything is working fine. I try with virtio-scsi disks.
What I already tried:
- While the installation process I changed the disk to the virtio
driver disk (downloaded from fedora project), I try to load scsi
drivers, and windows still can’t find the disk
- I tried with virtio floppy (run once) but the floppy is not
visible in windows select menu
- I added the drivers to windows installer wim, but disks still not
visible
- I tried to add ide drive, but it is not visible either (I have
disabled virtio scsi under resource allocation too, without luck)
- tried windows 7 and 2016

My nodes are: oVirt Node 4.2.1.1
I use local disks but via nfs, so i share the local disk via nfs.

Do you have any idea what could I try. Any clue are welcome, because
I’m stuck…

Thank you in advance!

Regards!
___
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/727QXGFHKFAODNL3Z3I2H2R55JPUAG5N/

___
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/6KQUX6TLEVNDSMLBZR7QZSMQYV2W2V5E/


[ovirt-users] Re: Error start VM with "XML: Multiple 'scsi' controllers with index '0' " - how to workaround?

2018-11-18 Thread Sharon Gratch
Hi,

This was an old issue bug solved in 4.2.2, as you mentioned.
The problem then was due to correlation failure with  devices reported by
vdsm.
I suspect that this time it may re-occur because of alias name correlation
failure, but not sure.

1. Did you run the VM with "run once" or a regular running operation?
2. Can you please send the vdsm.log and engine log from the time range of
creating the VM till restarting the VM with a failure?

Thanks,
Sharon


On Thu, Nov 15, 2018 at 1:04 PM Mike Lykov  wrote:

> Hi all.
>
> I'm testing oVirt (it's new to me also) and create some VM with
> nearly-all-default parameters.
> (ovirt 4.2.7, with last updates)
>
> I create one disk for VM (via webui) :
> General -> create -> new image with default interface virtio-scsi (boot,
> 50 Gb size)
> resource allocation - virtio-scsi enabled by default
> IO threads enabled by default
> I run it with cdrom+iso for install centos.
>
> When i try to reboot it this VM can start or not can start with error
> (one time start, next reboot - not start, sometimes after it start...)
>
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ForkJoinPool-1-worker-3) [] EVENT_ID: VM_DOWN_ERROR(119), VM test_rh1
> is down with error. Exit message: Ошибка XML: Обнаружено нескол
> ько контроллеров «scsi» с индексом «0».
>
> (by the way , why errors are localised? it means  "Multiple 'scsi'
> controllers with index '0'"
>
> In engine log here is a config xml dump:
>
>  
> type="pci"/>
>  
>   
>
>
>  
>
> It is really contain two controllers:
>
>  
>  
>
> But I do NOT add two this controllers by hand!
> And sometimes it can start! (without configuration change)
>
> So there is a Question: How to workaround this and start the VM?
> In "vm devices" I have two controllers:
>
> virtio-scsi {ioThreadId=1}
> scsi {type=pci, slot=0x05, bus=0x00, domain=0x, function=0x0 {index=0}
>
> But all checkboxes are greyed
>
> bug like in this list post:
> https://lists.ovirt.org/pipermail/users/2018-February/086860.html
>
> There is a "CLOSED" bugs about this
> https://bugzilla.redhat.com/show_bug.cgi?id=1543833#c9
> https://bugzilla.redhat.com/show_bug.cgi?id=1563769
> https://bugzilla.redhat.com/show_bug.cgi?id=1535961
>
>
> --
> Mike
> ___
> 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/JMLURZSRNALKYMHRA5BN6GTEVF6PVCAN/
>
___
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/CEOW6HLKFAOYIWVIOJ3Y6KRO7YP65VS2/


[ovirt-users] RAID L1/L5/L10 + NFS Loopback Benchmarks

2018-11-18 Thread Andrei Verovski

Hi !

I run a series of benchmarks with IOZONE testing performance of 
different RAID configurations on HP ProLiant DL380 + impact of NFS loopback.


NFS loopback is necessary even for very small systems (e.g. just 2 
nodes), since oVirt local storage setup is limited to single (only one) 
node per data center and this is quite useless from the point of view of 
functionality.


Full article:
http://www.vacuum-tube.eu/wp/?p=537

Short YouTube slide show:
https://www.youtube.com/watch?v=Xw_VN9G8jSI

Related video:
Moving away from local storage setup to NFS/GlusterFS
https://www.youtube.com/watch?v=2ebhZ5U6x_Y
___
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/OCXJAMVDUVLZR5YUR26GD3CTOM4LJCJZ/


[ovirt-users] Re: Unable to import engine

2018-11-18 Thread Alex K
On Sun, Nov 18, 2018 at 1:13 PM Alex K  wrote:

>
>
> On Sun, Nov 18, 2018 at 11:30 AM Alex K  wrote:
>
>>
>>
>> On Sun, Nov 18, 2018 at 8:53 AM Alex K  wrote:
>>
>>>
>>>
>>> On Sat, Nov 17, 2018, 19:32 Gianluca Cecchi 
>>> wrote:
>>>


 Il giorno Sab 17 Nov 2018 14:07 Alex K  ha
 scritto:

> Hi all,
>
> I had a setup with ovirt 4.2.0 which at some point the engine stopped
> responding, due to some split brain issues.
>
> Since was not able to resolve the split brain, I proceeded to redeploy
> the engine.
>
> The steps I followed:
> 1. upgrade servers (yum update)
> 2. ran ovirt-hosted-engine-cleanup
> 3. deployed engine (now 4.2.7)
>
> The deploy was successful and was able to add a new data domain.
> The issue is that at this point I would expect the engine storage
> domain and VM to be automatically imported, but it is not. At HA agent 
> logs
> at the server I see:
>
> MainThread::INFO::2018-11-17
> 12:55:51,856::states::444::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume)
> Engine vm running on localhost
> MainThread::WARNING::2018-11-17
> 12:55:52,145::ovf_store::140::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
> Unable to find OVF_STORE
> MainThread::ERROR::2018-11-17
> 12:55:52,146::config_ovf::84::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config.vm::(_get_vm_conf_content_from_ovf_store)
> Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
> Please ensure you already added your first data domain for regular VMs
> MainThread::INFO::2018-11-17
> 12:55:52,246::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
> Current state EngineUp (score: 3400)
>
> While at engine.log of engine VM I see:
>
> 2018-11-17 12:47:14,748Z INFO
> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [] VM
> '88dacb07-45f1-4bc1-80a0-9434d530eaaa' was discovered as 'Up' on VDS
> '6eff2018-516d-4af1-807d-ecc31d024f4d'(v0.maya)
> 2018-11-17 12:47:14,773Z INFO
> [org.ovirt.engine.core.bll.AddUnmanagedVmsCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] Running
> command: AddUnmanagedVmsCommand internal: true.
> 2018-11-17 12:47:14,775Z INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] START,
> DumpXmlsVDSCommand(HostName = v0.maya,
> Params:{hostId='6eff2018-516d-4af1-807d-ecc31d024f4d',
> vmIds='[88dacb07-45f1-4bc1-80a0-9434d530eaaa]'}), log id: 44bb4e0a
> 2018-11-17 12:47:14,779Z INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] FINISH,
> DumpXmlsVDSCommand, return: {88dacb07-45f1-4bc1-80a0-9434d530eaaa= type='kvm' id='7'>
> ...
> 
> ...
> 2018-11-17 12:47:14,793Z WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder]
> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] null
> architecture type, replacing with x86_64, VM [HostedEngine]
>
> Sth is causing engine not not getting imported.
> Tried to run hosted-engine –reinitialize-lockspace, since I was
> getting some lockspace errors, but no change.
>
> Any idea what could be causing this?
> I am left with little time due to the site being production. Any idea
> is appreciated.
>
> Thanx,
> Alex
>
> ___
> 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/M4DXHOUQ45QY77P5VVG4AZKYYYGHBFOT/


 In step 3 how did you deploy engine?
 I had the same problem some days ago and was due to a bug in using
 command line and excluding ansible (option --no-ansible)
 I solved redeploying using the default that is with ansible

>>> I deployed with --no-ansible flag since the ansible way was giving me an
>>> error (sth with localhost). I can try ansible to check what was the error.
>>>
>> The error I am getting when trying to deploy with ansible is the
>> following:
>>
>> 2018-11-17 09:03:50,378+ DEBUG
>> otopi.ovirt_hosted_engine_setup.ansible_utils
>> ansible_utils._process_output:94 hostname_resolution_output:
>> {'stderr_lines': [], u'changed': True, u'end': u'2018-11-17
>> 09:03:48.572863', u'stdout': u'', u'cmd': u'getent ahostsv4 v0.maya | grep
>> v0.maya', u'failed': True, u'delta': u'0:00:00.005712', 

[ovirt-users] Re: Unable to import engine

2018-11-18 Thread Gianluca Cecchi
On Sun, Nov 18, 2018 at 12:13 PM Alex K  wrote:

>
> The deployment was able to proceed and engine is up though it gave only at
> the end the following error:
>
> [ INFO  ] TASK [Wait for the local bootstrap VM to be down at engine eyes]
> [ ERROR ] fatal: [localhost]: FAILED! => {"ansible_facts": {"ovirt_vms":
> [{"affinity_labels": [], "applications": [], "bios": {"boot_menu":
> {"enabled": false}}, "cdroms": [], "cluster": {"href":
> "/ovirt-engine/api/clusters/a407b02c-eb1a-11e8-a5a5-00163e445490", "id":
> "a407b02c-eb1a-11e8-a5a5-00163e445490"}, "comment": "", "cpu":
> {"architecture": "x86_64", "topology": {"cores": 1, "sockets": 4,
> "threads": 1}}, "cpu_profile": {"href":
> "/ovirt-engine/api/cpuprofiles/58ca604e-01a7-003f-01de-0250", "id":
> "58ca604e-01a7-003f-01de-0250"}, "cpu_shares": 0, "creation_time":
> "2018-11-18 10:17:45.351000+00:00", "delete_protected": false,
> "description": "", "disk_attachments": [], "display": {"address":
> "127.0.0.1", "allow_override": false, "copy_paste_enabled": true,
> "disconnect_action": "LOCK_SCREEN", "file_transfer_enabled": true,
> "monitors": 1, "port": 5900, "single_qxl_pci": false, "smartcard_enabled":
> false, "type": "vnc"}, "fqdn": "engine.maya", "graphics_consoles": [],
> "guest_operating_system": {"architecture": "x86_64", "codename": "",
> "distribution": "CentOS Linux", "family": "Linux", "kernel": {"version":
> {"build": 0, "full_version": "3.10.0-862.14.4.el7.x86_64", "major": 3,
> "minor": 10, "revision": 862}}, "version": {"full_version": "7", "major":
> 7}}, "guest_time_zone": {"name": "UTC", "utc_offset": "+00:00"},
> "high_availability": {"enabled": false, "priority": 0}, "host": {"href":
> "/ovirt-engine/api/hosts/4250ef49-969c-4cd5-8a4f-30b7755a7d36", "id":
> "4250ef49-969c-4cd5-8a4f-30b7755a7d36"}, "host_devices": [], "href":
> "/ovirt-engine/api/vms/a7872048-030e-4991-be23-43283794d650", "id":
> "a7872048-030e-4991-be23-43283794d650", "io": {"threads": 1},
> "katello_errata": [], "large_icon": {"href":
> "/ovirt-engine/api/icons/c444caf0-5750-9602-f4b4-62db210b133b", "id":
> "c444caf0-5750-9602-f4b4-62db210b133b"}, "memory": 10737418240,
> "memory_policy": {"guaranteed": 10737418240, "max": 10737418240},
> "migration": {"auto_converge": "inherit", "compressed": "inherit"},
> "migration_downtime": -1, "multi_queues_enabled": true, "name":
> "external-HostedEngineLocal", "next_run_configuration_exists": false,
> "nics": [], "numa_nodes": [], "numa_tune_mode": "interleave", "origin":
> "external", "original_template": {"href":
> "/ovirt-engine/api/templates/----", "id":
> "----"}, "os": {"boot": {"devices":
> ["hd"]}, "type": "other"}, "permissions": [], "placement_policy":
> {"affinity": "migratable"}, "quota": {"id":
> "b4232eb4-eb1a-11e8-9bc5-00163e445490"}, "reported_devices": [],
> "run_once": false, "sessions": [], "small_icon": {"href":
> "/ovirt-engine/api/icons/4a0580c6-11ba-bc2e-6c82-211666f323e9", "id":
> "4a0580c6-11ba-bc2e-6c82-211666f323e9"}, "snapshots": [], "sso":
> {"methods": [{"id": "guest_agent"}]}, "start_paused": false, "stateless":
> false, "statistics": [], "status": "unknown",
> "storage_error_resume_behaviour": "auto_resume", "tags": [], "template":
> {"href":
> "/ovirt-engine/api/templates/----", "id":
> "----"}, "time_zone": {"name": "Etc/GMT"},
> "type": "desktop", "usb": {"enabled": false}, "watchdogs": []}]},
> "attempts": 24, "changed": false, "deprecations": [{"msg": "The
> 'ovirt_vms_facts' module is being renamed 'ovirt_vm_facts'", "version":
> 2.8}]}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>
> The engine is up and I can SSH into it. Though when I try to login through
> GUI I get " The redirection URI for client is not registered ", even
> though I have set its IP address in SSO_ALTERNATE_ENGINE_FQDNS through a
> config file.   What could be the issue now? Thanx
>

I have not understood what is the error in this case.
Anyway, I think you have inserted the ip of the engine in the config file,
correct?
So that inside /etc/ovirt-engine/engine.conf.d/99-custom-sso-setup.conf you
have put the ip of the engine and/or an alias for it and then "systemctl
restart ovirt-engine".
Verify if you r client accessing the engine through browser has not
spurious entries too in relation with the ip assigned to the engine.

Gianluca
___
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/DWCGJEOBZYHJ6YOB7XOYLA4FGI4OYFR6/


[ovirt-users] Re: Unable to import engine

2018-11-18 Thread Alex K
On Sun, Nov 18, 2018 at 11:30 AM Alex K  wrote:

>
>
> On Sun, Nov 18, 2018 at 8:53 AM Alex K  wrote:
>
>>
>>
>> On Sat, Nov 17, 2018, 19:32 Gianluca Cecchi 
>> wrote:
>>
>>>
>>>
>>> Il giorno Sab 17 Nov 2018 14:07 Alex K  ha
>>> scritto:
>>>
 Hi all,

 I had a setup with ovirt 4.2.0 which at some point the engine stopped
 responding, due to some split brain issues.

 Since was not able to resolve the split brain, I proceeded to redeploy
 the engine.

 The steps I followed:
 1. upgrade servers (yum update)
 2. ran ovirt-hosted-engine-cleanup
 3. deployed engine (now 4.2.7)

 The deploy was successful and was able to add a new data domain.
 The issue is that at this point I would expect the engine storage
 domain and VM to be automatically imported, but it is not. At HA agent logs
 at the server I see:

 MainThread::INFO::2018-11-17
 12:55:51,856::states::444::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume)
 Engine vm running on localhost
 MainThread::WARNING::2018-11-17
 12:55:52,145::ovf_store::140::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
 Unable to find OVF_STORE
 MainThread::ERROR::2018-11-17
 12:55:52,146::config_ovf::84::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config.vm::(_get_vm_conf_content_from_ovf_store)
 Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
 Please ensure you already added your first data domain for regular VMs
 MainThread::INFO::2018-11-17
 12:55:52,246::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
 Current state EngineUp (score: 3400)

 While at engine.log of engine VM I see:

 2018-11-17 12:47:14,748Z INFO
 [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
 (EE-ManagedThreadFactory-engineScheduled-Thread-51) [] VM
 '88dacb07-45f1-4bc1-80a0-9434d530eaaa' was discovered as 'Up' on VDS
 '6eff2018-516d-4af1-807d-ecc31d024f4d'(v0.maya)
 2018-11-17 12:47:14,773Z INFO
 [org.ovirt.engine.core.bll.AddUnmanagedVmsCommand]
 (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] Running
 command: AddUnmanagedVmsCommand internal: true.
 2018-11-17 12:47:14,775Z INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
 (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] START,
 DumpXmlsVDSCommand(HostName = v0.maya,
 Params:{hostId='6eff2018-516d-4af1-807d-ecc31d024f4d',
 vmIds='[88dacb07-45f1-4bc1-80a0-9434d530eaaa]'}), log id: 44bb4e0a
 2018-11-17 12:47:14,779Z INFO
 [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
 (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] FINISH,
 DumpXmlsVDSCommand, return: {88dacb07-45f1-4bc1-80a0-9434d530eaaa=>>> type='kvm' id='7'>
 ...
 
 ...
 2018-11-17 12:47:14,793Z WARN
 [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder]
 (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] null
 architecture type, replacing with x86_64, VM [HostedEngine]

 Sth is causing engine not not getting imported.
 Tried to run hosted-engine –reinitialize-lockspace, since I was getting
 some lockspace errors, but no change.

 Any idea what could be causing this?
 I am left with little time due to the site being production. Any idea
 is appreciated.

 Thanx,
 Alex

 ___
 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/M4DXHOUQ45QY77P5VVG4AZKYYYGHBFOT/
>>>
>>>
>>> In step 3 how did you deploy engine?
>>> I had the same problem some days ago and was due to a bug in using
>>> command line and excluding ansible (option --no-ansible)
>>> I solved redeploying using the default that is with ansible
>>>
>> I deployed with --no-ansible flag since the ansible way was giving me an
>> error (sth with localhost). I can try ansible to check what was the error.
>>
> The error I am getting when trying to deploy with ansible is the
> following:
>
> 2018-11-17 09:03:50,378+ DEBUG
> otopi.ovirt_hosted_engine_setup.ansible_utils
> ansible_utils._process_output:94 hostname_resolution_output:
> {'stderr_lines': [], u'changed': True, u'end': u'2018-11-17
> 09:03:48.572863', u'stdout': u'', u'cmd': u'getent ahostsv4 v0.maya | grep
> v0.maya', u'failed': True, u'delta': u'0:00:00.005712', u'stderr': u'',
> u'rc': 1, u'msg': u'non-zero return code', 'stdout_lines': [], u'start':
> u'2018-11-17 09:03:48.567151'}
>
> 2018-11-17 09:03:51,280+ INFO
> 

[ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

2018-11-18 Thread Yedidyah Bar David
On Sat, Nov 17, 2018 at 6:32 PM, Shawn Weeks  wrote:
> The only issue with the UI is I’m on VPN so uploading from my local machine
> would be extremely slow. I discovered the –insecure flag for the cli and
> that seems to have worked.

Please note that we intend to deprecate this tool. Please try the api/sdk
as suggested by Nir and tell us if you have any comments/issues etc. Thanks.

Actually I thought we already deprecated it in 4.2, but I now searched and
can't find anything like [1][2] (which was for the image uploader) or a note
in the release notes [3]. Adding Sandro. Is it too late now to deprecate
in 4.2 (so that we can remove in 4.3)?

See also [4][5], which are for RHV.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1306637
[2] https://www.ovirt.org/release/4.0.0/#ovirt-image-uploader
[3] https://ovirt.org/release/4.2.0/
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1579119
[5] 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/sect-the_iso_uploader_tool

Thanks and best regards,

>
>
>
> Thanks
>
> Shawnk
>
>
>
> From: Nir Soffer 
> Sent: Saturday, November 17, 2018 8:43 AM
> To: Shawn Weeks 
> Cc: users ; Daniel Erez 
> Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted
>
>
>
> On Sat, Nov 17, 2018, 02:45 Shawn Weeks 
> Trying to upload an iso using engine-iso-uploader on a hosted-engine
> instance and I’m getting an SSL Error.  I followed the directions at
> https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup
> SSL and am able to login to the Admin console without an issue. Also checked
> that things like curl recognize the CA correctly. Not sure where
> engine-iso-uploader is getting it’s trust store.
>
>
>
> [root@cloud ~]# engine-iso-uploader list
>
> Please provide the REST API password for the admin@internal oVirt Engine
> user (CTRL+D to abort):
>
> ERROR: Unable to connect to REST API at
> https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
>
> Message: Error while sending HTTP request: (60, "Peer's certificate issuer
> has been marked as not trusted by the user.")
>
>
>
> What am I missing?
>
>
>
> If you ate using 4.2, you can upload iso files to data domains. You can
> upload directly from the UI:
>
>
>
> 1. Open storage > disks
>
> 2. Click Upload > Start
>
> 3. Select file and fill in the form
>
>
>
> For faster upload or automation, you can use the SDK. See this example code:
>
>
>
> https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py
>
>
>
> With some configuration changes you can use this as command line tool for
> uploading iso or other images.
>
>
>
> Nir
>
>
>
>
> ___
> 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/MHEE6MQR2PFKPHFUKVUKMNLN36OU5PQZ/
>



-- 
Didi
___
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/AUXTIGNWFZJMWKFO55TXIM555PCSPWAH/


[ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

2018-11-18 Thread Shawn Weeks
The only issue with the UI is I’m on VPN so uploading from my local machine 
would be extremely slow. I discovered the –insecure flag for the cli and that 
seems to have worked.

Thanks
Shawnk

From: Nir Soffer 
Sent: Saturday, November 17, 2018 8:43 AM
To: Shawn Weeks 
Cc: users ; Daniel Erez 
Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted

On Sat, Nov 17, 2018, 02:45 Shawn Weeks 
mailto:swe...@weeksconsulting.us> wrote:
Trying to upload an iso using engine-iso-uploader on a hosted-engine instance 
and I’m getting an SSL Error.  I followed the directions at 
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to setup 
SSL and am able to login to the Admin console without an issue. Also checked 
that things like curl recognize the CA correctly. Not sure where 
engine-iso-uploader is getting it’s trust store.

[root@cloud ~]# engine-iso-uploader list
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
ERROR: Unable to connect to REST API at 
https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
Message: Error while sending HTTP request: (60, "Peer's certificate issuer has 
been marked as not trusted by the user.")

What am I missing?

If you ate using 4.2, you can upload iso files to data domains. You can upload 
directly from the UI:

1. Open storage > disks
2. Click Upload > Start
3. Select file and fill in the form

For faster upload or automation, you can use the SDK. See this example code:

https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

With some configuration changes you can use this as command line tool for 
uploading iso or other images.

Nir

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


[ovirt-users] Re: VMs import over slow 1gig interface instead of fast 10gig interface?

2018-11-18 Thread Dan Kenigsberg
On Fri, Nov 16, 2018 at 10:38 PM Nir Soffer  wrote:
>
> On Fri, Nov 16, 2018, 21:51 Jacob Green >
>> Ok, so I want to try and more thoroughly explain my situation. I want to 
>> better understand what is happening, and if there is a way to force import 
>> over the faster connection.
>>
>> Today I have two Ovirt environments, one on 4.1 and one on 4.2, on the 
>> new environment we have migrated to new VLANs for Management and Data.
>>
>> The export domain is a NFS domain hosted on a Trunas device that has an 
>> ip address of X.X.12.100.
>>
>> Our host has multiple Ethernet connections, one Bonded 20Gigabit 
>> interface. That is where we have the ovirtmgmt profile. And a secondary 1 
>> Gigabit interface that we call our VLAN12 profile or server VLAN.
>>
>>  The problem When importing a VM from the export domain, the import is 
>> happening over the 1Gigabit interface on the VLAN12 profile. Instead of the 
>> 20gigabit Bonded interface on VLAN 100.
>>
>> My understanding So I probably just misunderstand how this works, but 
>> here is what I thought should happen, in the Setup Host Network screen for 
>> this host I have the ovirtmgmt on VLAN100 with the bonded 20Gigabit 
>> interface performing the following. "Management, Display, Migration, VM and 
>> Default Route." Then I have the secondary 1 Gigabit interface just doing 
>> "VM" on VLAN12. What I thought should happen is that anything Migration 
>> related "Includes importing from export domain?"
>
> Importing vms from export domain is a storage operation, and it is nor 
> related to migration.
>
> Maybe Dan can explain why accessing storage is done on the wrong network.
>
> Nir
>>
>> shouldd happen on the Migration interface, which in my case is the ovritmgmt 
>> interface on VLAN100.
>>
>> I have also confirmed that I can ping from the VLAN100 ovirtmgmt interface 
>> to the storage on VLAN12. So there is connectivity from that interface to 
>> the storage. What I am trying to figure out is there a way to force it to do 
>> imports over the 20Gigabit interface that resides on VLAN100 instead of the 
>> slower VLAN12 interface, that is just there for general VM connectivity.
>>
>>
>> Thank you for any advice or guidance on this matter.

Can you share the ip addresses you have set on your host interfaces?
I suspect that your VLAN12 interface has a X.X.12.Y address, sharing
the same subnet as your NFS server. When a hypervisor connects to a
storage server, it prefers using the same subnet.
If you can move your NFS server to VLAN100, you can re-add it to the
data ceneter using its new address. Then, hosts would use the
X.X.100.Y address to connect to it.

HTH,
Dan.
>>
>>
>>
>> --
>> Jacob Green
>>
>> Systems Admin
>>
>> American Alloy Steel
>>
>> ___
>> 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/SSPPLF7PVIXQYUTAHLAM776573BJHRAV/
___
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/RGW2HYLFH7UIAKOBMPPMMKOUPKBNA6ZZ/


[ovirt-users] Re: Unable to import engine

2018-11-18 Thread Alex K
On Sun, Nov 18, 2018 at 8:53 AM Alex K  wrote:

>
>
> On Sat, Nov 17, 2018, 19:32 Gianluca Cecchi 
> wrote:
>
>>
>>
>> Il giorno Sab 17 Nov 2018 14:07 Alex K  ha
>> scritto:
>>
>>> Hi all,
>>>
>>> I had a setup with ovirt 4.2.0 which at some point the engine stopped
>>> responding, due to some split brain issues.
>>>
>>> Since was not able to resolve the split brain, I proceeded to redeploy
>>> the engine.
>>>
>>> The steps I followed:
>>> 1. upgrade servers (yum update)
>>> 2. ran ovirt-hosted-engine-cleanup
>>> 3. deployed engine (now 4.2.7)
>>>
>>> The deploy was successful and was able to add a new data domain.
>>> The issue is that at this point I would expect the engine storage domain
>>> and VM to be automatically imported, but it is not. At HA agent logs at the
>>> server I see:
>>>
>>> MainThread::INFO::2018-11-17
>>> 12:55:51,856::states::444::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume)
>>> Engine vm running on localhost
>>> MainThread::WARNING::2018-11-17
>>> 12:55:52,145::ovf_store::140::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(scan)
>>> Unable to find OVF_STORE
>>> MainThread::ERROR::2018-11-17
>>> 12:55:52,146::config_ovf::84::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config.vm::(_get_vm_conf_content_from_ovf_store)
>>> Unable to identify the OVF_STORE volume, falling back to initial vm.conf.
>>> Please ensure you already added your first data domain for regular VMs
>>> MainThread::INFO::2018-11-17
>>> 12:55:52,246::hosted_engine::491::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(_monitoring_loop)
>>> Current state EngineUp (score: 3400)
>>>
>>> While at engine.log of engine VM I see:
>>>
>>> 2018-11-17 12:47:14,748Z INFO
>>> [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer]
>>> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [] VM
>>> '88dacb07-45f1-4bc1-80a0-9434d530eaaa' was discovered as 'Up' on VDS
>>> '6eff2018-516d-4af1-807d-ecc31d024f4d'(v0.maya)
>>> 2018-11-17 12:47:14,773Z INFO
>>> [org.ovirt.engine.core.bll.AddUnmanagedVmsCommand]
>>> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] Running
>>> command: AddUnmanagedVmsCommand internal: true.
>>> 2018-11-17 12:47:14,775Z INFO
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
>>> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] START,
>>> DumpXmlsVDSCommand(HostName = v0.maya,
>>> Params:{hostId='6eff2018-516d-4af1-807d-ecc31d024f4d',
>>> vmIds='[88dacb07-45f1-4bc1-80a0-9434d530eaaa]'}), log id: 44bb4e0a
>>> 2018-11-17 12:47:14,779Z INFO
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.DumpXmlsVDSCommand]
>>> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] FINISH,
>>> DumpXmlsVDSCommand, return: {88dacb07-45f1-4bc1-80a0-9434d530eaaa=>> type='kvm' id='7'>
>>> ...
>>> 
>>> ...
>>> 2018-11-17 12:47:14,793Z WARN
>>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder]
>>> (EE-ManagedThreadFactory-engineScheduled-Thread-51) [51c593c1] null
>>> architecture type, replacing with x86_64, VM [HostedEngine]
>>>
>>> Sth is causing engine not not getting imported.
>>> Tried to run hosted-engine –reinitialize-lockspace, since I was getting
>>> some lockspace errors, but no change.
>>>
>>> Any idea what could be causing this?
>>> I am left with little time due to the site being production. Any idea is
>>> appreciated.
>>>
>>> Thanx,
>>> Alex
>>>
>>> ___
>>> 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/M4DXHOUQ45QY77P5VVG4AZKYYYGHBFOT/
>>
>>
>> In step 3 how did you deploy engine?
>> I had the same problem some days ago and was due to a bug in using
>> command line and excluding ansible (option --no-ansible)
>> I solved redeploying using the default that is with ansible
>>
> I deployed with --no-ansible flag since the ansible way was giving me an
> error (sth with localhost). I can try ansible to check what was the error.
>
The error I am getting when trying to deploy with ansible is the following:

2018-11-17 09:03:50,378+ DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:94 hostname_resolution_output:
{'stderr_lines': [], u'changed': True, u'end': u'2018-11-17
09:03:48.572863', u'stdout': u'', u'cmd': u'getent ahostsv4 v0.maya | grep
v0.maya', u'failed': True, u'delta': u'0:00:00.005712', u'stderr': u'',
u'rc': 1, u'msg': u'non-zero return code', 'stdout_lines': [], u'start':
u'2018-11-17 09:03:48.567151'}

2018-11-17 09:03:51,280+ INFO
otopi.ovirt_hosted_engine_setup.ansible_utils
ansible_utils._process_output:100 TASK [Check address resolution]

2018-11-17 09:03:52,082+ DEBUG
otopi.ovirt_hosted_engine_setup.ansible_utils