Re: [ovirt-users] Ovirt 4 failing to setup CentOS 7.2 host (everything default)

2017-01-30 Thread Eidmantas Ivanauskas
I could SSH into it, because (as per supervdsm log) the original network config 
was restored.

Engine and host are in completely different continents (America, Europe)



I cleared both engine.log and host logs. Went into Ovirt GUI and ‘Setup Host 
Networks
 and dragged  ovirtmgmt  in my GUI to bind with the main ethernet adapter. 

As always, the console freezes (as network connection is lost after those 
retries and the original config is restored).

engine.log
http://pastebin.com/kT6WSq2W

and host-deploy doesn’t add any extra info. I guess it’s because I am actually 
not deploying the host, but rather doing ‘Setup Host Networks’ attachment of 
‘ovirtmgmt’? 


Thanks so much for replying.



> On Jan 31, 2017, at 9:28 AM, Sandro Bonazzola  wrote:
> 
> 
> 
> On Mon, Jan 30, 2017 at 6:05 PM, Eidmantas Ivanauskas 
> > wrote:
> Hey guys,
> 
> Trying to setup a new Ovirt Engine + a separate CentOS 7.2 based Host. After 
> adding the host, SSH freezes (possibly due to the log below), then the GUI 
> just displays ‘Non Operational’.
> 
> Please note that following CentOS 7.3 release, 7.2 is not supported anymore.
> Latest qemu-kvm-ev 2.6 requires CentOS 7.3.
> 
>  
[root@CentOS-73-64-minimal ~]# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core) 
[root@CentOS-73-64-minimal ~]# 

It was 7.3 after all, not 7.2. Sorry.


> 
> The engine is running in Hetzner DC which allows for only MAC based routing, 
> but I don’t think this part of the setup is connected. I heard people having 
> issues routing additional IP pools.
> 
> Here’s the supervdsm.log from the host server.
> 
> http://pastebin.com/irfShv9n 
> 
> What am I missing here? It’s been a long long day.
> Thanks.
> Eid
> 
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> 
> 
> -- 
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Matt .
Hi,

I found out that a browser times out when you select an "Pending
Approval" host, the browser becomes unresponsive for a while.

This could be because of the installed cockpit module maybe, I'm not
sure but I see more bad response on selecting hosts where the cockpit
package is not installed but the tab in oVirt is loaded.

Regards,

Matt

2017-01-30 16:54 GMT+01:00 Matt . :
> Hi Douglas,
>
> I think we discussed this in 2013 as well, thanks for catching up...
> you were mentioned on irc already by rgolan :)
>
> I needed the --check-fqdn false which fixed it.
>
> Very nice and thanks for the example :) Will check further what the
> possibilities are!
>
>
> Cheers,
>
> Matt
>
> 2017-01-30 16:46 GMT+01:00 Douglas Schilling Landgraf :
>> Hello Matt,
>>
>> On 01/30/2017 08:52 AM, Matt . wrote:
>>>
>>> In a puppetized environment it's just too easy to include a
>>> manifest/class that will use the ssh key for that manifest, I want to
>>> avoid that and control the acceptance from the GUI when a possible
>>> host is added to to engine but not capable to join the cluster yet.
>>
>>
>> I would suggest:
>>
>> # vdsm-tool register --engine-fqdn myengine.localdomain
>>
>> or without the check of fqdn:
>>
>> # vdsm-tool register --engine-fqdn IP_ADDRESS --check-fqdn false
>>
>> Later you might want to approve the host via GUI, SDK or REST API.
>>
>> A quick example of rest api:
>> https://github.com/dougsland/ovirt-restapi-scripts/commit/91dcb3fcd2cae6570aed06dc3471c4d79caefbc8
>>
>>
>>
>>> The idea how I used it was very plain and simple, the host exists in
>>> oVirt but was unprovisioned, you clicked install and there it went. If
>>> that would be possible again or is in some way I would like to know.
>>>
>>>
>>>
>>> 2017-01-30 14:07 GMT+01:00 Yaniv Kaul :



 On Mon, Jan 30, 2017 at 12:03 PM, Matt .  wrote:
>
>
> Could do but then there is still some password like thingy around in
> my provisioning system, a key is just a fingerprint which is matched.



 It's not JUST a fingerprint. It's the fingerprint of a SSH key we use for
 the authentication.

>
> What is also the case is that I want to decide in the engine if it's
> valid to be provisioned or not.



 So don't add that SSH key to hosts that you don't want to provision.
 We don't have this extra phase of 'approving a host when you add it'.
 If you have permissions to add a host, it'll be added - via the Engine,
 by
 the Engine.

>
>
> Security wise it's not ideal if you ask me, that is why I did it using
> the URL, http/https was possible.
>
> No clue there ?



 I'm probably missing the use case here.
 Y.

>
>
> Thanks!
>
> Matt
>
> 2017-01-30 10:32 GMT+01:00 Yaniv Kaul :
>>
>> Have you tried using SSH public key auth.?
>> Y.
>>
>>
>> On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:
>>>
>>>
>>> Hi All,
>>>
>>> In the past I was using an URL to add my hosts to over so they exists
>>> in the ovirt WebGui but they were unprovisioned so I needed to install
>>> them only.
>>>
>>> This is what I used:
>>>
>>>
>>>
>>>
>>> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
>>>
>>> Is there some way to accomplish this still without using a user/pass
>>> combiation ?
>>>
>>> Thanks!
>>>
>>> Matt
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>


>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4 failing to setup CentOS 7.2 host (everything default)

2017-01-30 Thread Sandro Bonazzola
On Mon, Jan 30, 2017 at 6:05 PM, Eidmantas Ivanauskas <
eidmantasivanaus...@gmail.com> wrote:

> Hey guys,
>
> Trying to setup a new Ovirt Engine + a separate CentOS 7.2 based Host.
> After adding the host, SSH freezes (possibly due to the log below), then
> the GUI just displays ‘Non Operational’.
>

Please note that following CentOS 7.3 release, 7.2 is not supported anymore.
Latest qemu-kvm-ev 2.6 requires CentOS 7.3.



>
> The engine is running in Hetzner DC which allows for only MAC based
> routing, but I don’t think this part of the setup is connected. I heard
> people having issues routing additional IP pools.
>
> Here’s the supervdsm.log from the host server.
>
> http://pastebin.com/irfShv9n
>
> What am I missing here? It’s been a long long day.
> Thanks.
> Eid
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4 failing to setup CentOS 7.2 host (everything default)

2017-01-30 Thread Yedidyah Bar David
On Mon, Jan 30, 2017 at 7:05 PM, Eidmantas Ivanauskas
 wrote:
> Hey guys,
>
> Trying to setup a new Ovirt Engine + a separate CentOS 7.2 based Host. After
> adding the host, SSH freezes (possibly due to the log below), then the GUI
> just displays ‘Non Operational’.

And then, could you ssh to it? From the engine? From elsewhere?

>
> The engine is running in Hetzner DC which allows for only MAC based routing,

And the host is in a different network?

> but I don’t think this part of the setup is connected. I heard people having
> issues routing additional IP pools.
>
> Here’s the supervdsm.log from the host server.
>
> http://pastebin.com/irfShv9n
>
> What am I missing here? It’s been a long long day.

Please check/attach also engine.log and host-deploy log. Thanks.

Adding also Eduard. Can you have a look? Thanks.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node TUI

2017-01-30 Thread Douglas Schilling Landgraf

Oi Fernando,

On 01/30/2017 12:32 PM, Fernando Frediani wrote:

Hi Douglas, thanks.

No, just said if I have no network connectivity to the box for some
reason only tool to use is shell to try to get it back online correct ?


Yes, you might use manual settings or TUI tools like nmtui as any other 
Linux distro.



It TUI thought to be back sometime or Cockpit will be the ongoing tool
for that ? (I find it nice the TUI interface too).


I don't see any movement to bring back oVirt TUI. At moment, the Cockpit 
is the preferable.




Fernando

On 30/01/2017 13:55, Douglas Schilling Landgraf wrote:

Ola Fernando!

On 01/30/2017 09:23 AM, Fernando Frediani wrote:

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it
was being redesign but that seems old.

Or do I understand correctly and everything is now handled by Cockpit ?


That's correct. Cockpit is the preferred option.


Then if I have no network CLI is my friend ?


Not sure if I understood the question but in Cockpit, there is Network
tab. Web-browser: NODE_IP_ADDRESS:9090 -> Networking

Or are looking for something like nmcli/nmtui?

--
Cheers
Douglas



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDAgent

2017-01-30 Thread Fernando Fuentes
Sandro,



I did the update from the hosts tab on ovirt:

The ovirt version is: oVirt Engine Version: 4.0.2.6-1.el7.centos



All of my hosts are Cent7 x86_64

[root@ogias ~]# uname -a

Linux ogias.aasteel.net 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23
17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
[root@ogias ~]# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core)

[root@ogias ~]#



I am trying to email you the sos report but it exceeds our mail server
size limit :(


Regards,





--

Fernando Fuentes

ffuen...@txweather.org

http://www.txweather.org







On Sat, Jan 28, 2017, at 12:29 PM, Sandro Bonazzola wrote:

> 

> 

> Il 27/Gen/2017 16:51, "Fernando Fuentes"  ha
> scritto:
>> Team,

>> 

>> After a host update on my cluster, All of my Windows vm's running the
>> vdagent from the ovirt tools are running at 100% CPU utilization.

>> 

>> Any ideas why would this happen?

> 

> Hi,

> Can you please share details about the update?

> Which distribution? What has been updated? Can you share a sos report
> from the host?
> 

> 

> 

>> 

>> Regards,

>>
>>
>> --
>>  Fernando Fuentes ffuen...@txweather.org http://www.txweather.org
>>  ___
>>  Users mailing list Users@ovirt.org
>>  http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] AAA Auth FreeIPA does not show users

2017-01-30 Thread Matt .
Hi,

When I do a ovirt-engine-extension-aaa-ldap-setup and chose IPA the
groups are shown but the users are not.

When I chose 389ds, the users are shown but not the groups.

Is something wrong with the FreeIPA implementation ? I'm on latest IPA
4.4 version from Fedora

Cheers,

Matt
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change update command to Yum update (all packages)

2017-01-30 Thread Matt .
OK, let's wait then :) No prob!

2017-01-30 17:20 GMT+01:00 Martin Perina :
>
>
> On Mon, Jan 30, 2017 at 5:02 PM, Matt .  wrote:
>>
>> Hi Martin,
>>
>> Thanks a lot!
>>
>> I know about the RFE, but I thought maybe it's uncompiled code which
>> we can change for now.
>
>
> Not an easy task to change that behaviour, you would need to change
> ovirt-host-deploy part of host-upgrade-manager. Definitely not just a few
> lines change :-(
>
>>
>> Cheers,
>>
>> Matt
>>
>> 2017-01-30 16:49 GMT+01:00 Martin Perina :
>> > Hi,
>> >
>> > we are able to upgrade only list of specific packages. Of course you can
>> > add
>> > your own packages to the list using:
>> >
>> >   engine-config -s UserPackageNamesForCheckUpdate=pkg1,pkg2
>> >
>> > But you cannot set '*' to upgrade everything.
>> >
>> > There is an RFE filed for that [1]
>> >
>> > Regards
>> >
>> > Martin Perina
>> >
>> >
>> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1380498
>> >
>> >
>> > On Mon, Jan 30, 2017 at 4:42 PM, Matt .  wrote:
>> >>
>> >> Hi All,
>> >>
>> >> Is it possible to change something in the code of ovirt/vdsm to change
>> >> the update of the hosts to just run "yum update" instead of all
>> >> packages ?
>> >>
>> >> This would save some time upfront of 4.1
>> >>
>> >> Would be awesome :)
>> >>
>> >> Thanks!
>> >>
>> >> Matt
>> >> ___
>> >> Users mailing list
>> >> Users@ovirt.org
>> >> http://lists.ovirt.org/mailman/listinfo/users
>> >
>> >
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Create VM from template on a different storage

2017-01-30 Thread Claudio Yacarini
Hi, this is my first question, so:

I’m playing with python sdk and i can manage the CRUD and some other options, 
but im stuck in this one, when I create a VM from template this new machine is 
created in the same storage than template is. If i want to move the machine I 
create it, wait to reach down status and then, move their disks to a new 
storage. What I want is create a new machine from scratch on a new storage.



 CURRENT SCRIPT
def create_virtual_machine(cnn, vm_name, cluster_name, create_from='Blank'):
    MB = 1024*1024
    GB = 1024*MB
    try:
        vm_created = cnn.vms.add(params.VM(
            name=vm_name,
            memory=1*GB,
            cluster=cnn.clusters.get(cluster_name),
            template=cnn.templates.get(create_from),
            disks=params.Disks(clone=True))
        )
        print 'Waiting for VM to reach Down status'
        while cnn.vms.get(id=vm_created.id).status.state != 'down':
            sys.stdout.write( dot )
            sys.stdout.flush()
            time.sleep(1)
        print ""
        response = (True, vm_created.id)
    except Exception as e:
        print 'Failed to create VM\n%s' % str(e)
        response = (False, str(e))
    return response


def migrate_disks(cnn, vm_name, sd_name, vm_guid=None):
    storage = cnn.storagedomains.get(name=sd_name)
    for index, disco in enumerate(get_vm(cnn, vm_name, 
vm_guid=vm_guid).disks.list()):
        disco.set_alias("{0}_Disk{1}".format(vm_name, (index+1)))
        disco = disco.update()
        if storage.disks.get(disco.alias) is None:
            disco.move(params.Action(storage_domain=storage))
            print 'Waiting for migrate Disk {0}'.format(disco.alias)
            time.sleep(2)
            while get_vm(cnn, vm_name, 
vm_guid=vm_guid).disks.get(name=disco.name).status.state != 'ok':
                sys.stdout.write( dot )
                sys.stdout.flush()
                time.sleep(1)
            time.sleep(4)
            print ""
            print "Disk '{0}' From '{1}' was moved to {2}".format(disco.alias,
                vm_name, sd_name)
        else:
            print "Disk '{0}' From '{1}' is already in {2}".format(disco.alias,
                vm_name, sd_name)



 WHAT I WANT IS SOMETHING LIKE THIS
discos = params.Disks()
for index, tmp_disk in enumerate(template.disks.list()):
  disk = params.Disk(
    name = "{0}_{1}".format(vm_name, (index+1)),
    storage_domains=params.StorageDomains(
        storage_domain = [api.storagedomains.get(sd.name)]
    ),
  )
  discos.add_disk(disk)

vm_created_dos = cnn.vms.add(params.VM(
    name=vm_name,
    memory=1*GB,
    cluster=cnn.clusters.get(cluster_name),
    template=cnn.templates.get(create_from),
    disks=discos
    )
)



Thank you all from Perú!!




___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node TUI

2017-01-30 Thread Fernando Frediani

Hi Douglas, thanks.

No, just said if I have no network connectivity to the box for some 
reason only tool to use is shell to try to get it back online correct ? 
It TUI thought to be back sometime or Cockpit will be the ongoing tool 
for that ? (I find it nice the TUI interface too).


Fernando

On 30/01/2017 13:55, Douglas Schilling Landgraf wrote:

Ola Fernando!

On 01/30/2017 09:23 AM, Fernando Frediani wrote:

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it
was being redesign but that seems old.

Or do I understand correctly and everything is now handled by Cockpit ?


That's correct. Cockpit is the preferred option.


Then if I have no network CLI is my friend ?


Not sure if I understood the question but in Cockpit, there is Network 
tab. Web-browser: NODE_IP_ADDRESS:9090 -> Networking


Or are looking for something like nmcli/nmtui?

--
Cheers
Douglas


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 4 failing to setup CentOS 7.2 host (everything default)

2017-01-30 Thread Eidmantas Ivanauskas
Hey guys,

Trying to setup a new Ovirt Engine + a separate CentOS 7.2 based Host. After 
adding the host, SSH freezes (possibly due to the log below), then the GUI just 
displays ‘Non Operational’.

The engine is running in Hetzner DC which allows for only MAC based routing, 
but I don’t think this part of the setup is connected. I heard people having 
issues routing additional IP pools.

Here’s the supervdsm.log from the host server.

http://pastebin.com/irfShv9n 

What am I missing here? It’s been a long long day.
Thanks.
Eid

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change update command to Yum update (all packages)

2017-01-30 Thread Martin Perina
On Mon, Jan 30, 2017 at 5:02 PM, Matt .  wrote:

> Hi Martin,
>
> Thanks a lot!
>
> I know about the RFE, but I thought maybe it's uncompiled code which
> we can change for now.
>

​Not an easy task to change that behaviour, you would need to change
ovirt-host-deploy part of host-upgrade-manager​. Definitely not just a few
lines change :-(


> Cheers,
>
> Matt
>
> 2017-01-30 16:49 GMT+01:00 Martin Perina :
> > Hi,
> >
> > we are able to upgrade only list of specific packages. Of course you can
> add
> > your own packages to the list using:
> >
> >   engine-config -s UserPackageNamesForCheckUpdate=pkg1,pkg2
> >
> > But you cannot set '*' to upgrade everything.
> >
> > There is an RFE filed for that [1]
> >
> > Regards
> >
> > Martin Perina
> >
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1380498
> >
> >
> > On Mon, Jan 30, 2017 at 4:42 PM, Matt .  wrote:
> >>
> >> Hi All,
> >>
> >> Is it possible to change something in the code of ovirt/vdsm to change
> >> the update of the hosts to just run "yum update" instead of all
> >> packages ?
> >>
> >> This would save some time upfront of 4.1
> >>
> >> Would be awesome :)
> >>
> >> Thanks!
> >>
> >> Matt
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change update command to Yum update (all packages)

2017-01-30 Thread Matt .
Hi Martin,

Thanks a lot!

I know about the RFE, but I thought maybe it's uncompiled code which
we can change for now.

Cheers,

Matt

2017-01-30 16:49 GMT+01:00 Martin Perina :
> Hi,
>
> we are able to upgrade only list of specific packages. Of course you can add
> your own packages to the list using:
>
>   engine-config -s UserPackageNamesForCheckUpdate=pkg1,pkg2
>
> But you cannot set '*' to upgrade everything.
>
> There is an RFE filed for that [1]
>
> Regards
>
> Martin Perina
>
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1380498
>
>
> On Mon, Jan 30, 2017 at 4:42 PM, Matt .  wrote:
>>
>> Hi All,
>>
>> Is it possible to change something in the code of ovirt/vdsm to change
>> the update of the hosts to just run "yum update" instead of all
>> packages ?
>>
>> This would save some time upfront of 4.1
>>
>> Would be awesome :)
>>
>> Thanks!
>>
>> Matt
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Matt .
Hi Douglas,

I think we discussed this in 2013 as well, thanks for catching up...
you were mentioned on irc already by rgolan :)

I needed the --check-fqdn false which fixed it.

Very nice and thanks for the example :) Will check further what the
possibilities are!


Cheers,

Matt

2017-01-30 16:46 GMT+01:00 Douglas Schilling Landgraf :
> Hello Matt,
>
> On 01/30/2017 08:52 AM, Matt . wrote:
>>
>> In a puppetized environment it's just too easy to include a
>> manifest/class that will use the ssh key for that manifest, I want to
>> avoid that and control the acceptance from the GUI when a possible
>> host is added to to engine but not capable to join the cluster yet.
>
>
> I would suggest:
>
> # vdsm-tool register --engine-fqdn myengine.localdomain
>
> or without the check of fqdn:
>
> # vdsm-tool register --engine-fqdn IP_ADDRESS --check-fqdn false
>
> Later you might want to approve the host via GUI, SDK or REST API.
>
> A quick example of rest api:
> https://github.com/dougsland/ovirt-restapi-scripts/commit/91dcb3fcd2cae6570aed06dc3471c4d79caefbc8
>
>
>
>> The idea how I used it was very plain and simple, the host exists in
>> oVirt but was unprovisioned, you clicked install and there it went. If
>> that would be possible again or is in some way I would like to know.
>>
>>
>>
>> 2017-01-30 14:07 GMT+01:00 Yaniv Kaul :
>>>
>>>
>>>
>>> On Mon, Jan 30, 2017 at 12:03 PM, Matt .  wrote:


 Could do but then there is still some password like thingy around in
 my provisioning system, a key is just a fingerprint which is matched.
>>>
>>>
>>>
>>> It's not JUST a fingerprint. It's the fingerprint of a SSH key we use for
>>> the authentication.
>>>

 What is also the case is that I want to decide in the engine if it's
 valid to be provisioned or not.
>>>
>>>
>>>
>>> So don't add that SSH key to hosts that you don't want to provision.
>>> We don't have this extra phase of 'approving a host when you add it'.
>>> If you have permissions to add a host, it'll be added - via the Engine,
>>> by
>>> the Engine.
>>>


 Security wise it's not ideal if you ask me, that is why I did it using
 the URL, http/https was possible.

 No clue there ?
>>>
>>>
>>>
>>> I'm probably missing the use case here.
>>> Y.
>>>


 Thanks!

 Matt

 2017-01-30 10:32 GMT+01:00 Yaniv Kaul :
>
> Have you tried using SSH public key auth.?
> Y.
>
>
> On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:
>>
>>
>> Hi All,
>>
>> In the past I was using an URL to add my hosts to over so they exists
>> in the ovirt WebGui but they were unprovisioned so I needed to install
>> them only.
>>
>> This is what I used:
>>
>>
>>
>>
>> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
>>
>> Is there some way to accomplish this still without using a user/pass
>> combiation ?
>>
>> Thanks!
>>
>> Matt
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>>>
>>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Node TUI

2017-01-30 Thread Douglas Schilling Landgraf

Ola Fernando!

On 01/30/2017 09:23 AM, Fernando Frediani wrote:

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it
was being redesign but that seems old.

Or do I understand correctly and everything is now handled by Cockpit ?


That's correct. Cockpit is the preferred option.


Then if I have no network CLI is my friend ?


Not sure if I understood the question but in Cockpit, there is Network 
tab. Web-browser: NODE_IP_ADDRESS:9090 -> Networking


Or are looking for something like nmcli/nmtui?

--
Cheers
Douglas
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Change update command to Yum update (all packages)

2017-01-30 Thread Matt .
Hi All,

Is it possible to change something in the code of ovirt/vdsm to change
the update of the hosts to just run "yum update" instead of all
packages ?

This would save some time upfront of 4.1

Would be awesome :)

Thanks!

Matt
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change update command to Yum update (all packages)

2017-01-30 Thread Martin Perina
Hi,

we are able to upgrade only list of specific packages. Of course you can
add your own packages to the list using:

  engine-config -s UserPackageNamesForCheckUpdate=pkg1,pkg2

But you cannot set '*' to upgrade everything.

There is an RFE filed for that [1]

Regards

Martin Perina


[1] https://bugzilla.redhat.com/show_bug.cgi?id=1380498


On Mon, Jan 30, 2017 at 4:42 PM, Matt .  wrote:

> Hi All,
>
> Is it possible to change something in the code of ovirt/vdsm to change
> the update of the hosts to just run "yum update" instead of all
> packages ?
>
> This would save some time upfront of 4.1
>
> Would be awesome :)
>
> Thanks!
>
> Matt
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Douglas Schilling Landgraf

Hello Matt,

On 01/30/2017 08:52 AM, Matt . wrote:

In a puppetized environment it's just too easy to include a
manifest/class that will use the ssh key for that manifest, I want to
avoid that and control the acceptance from the GUI when a possible
host is added to to engine but not capable to join the cluster yet.


I would suggest:

# vdsm-tool register --engine-fqdn myengine.localdomain

or without the check of fqdn:

# vdsm-tool register --engine-fqdn IP_ADDRESS --check-fqdn false

Later you might want to approve the host via GUI, SDK or REST API.

A quick example of rest api:
https://github.com/dougsland/ovirt-restapi-scripts/commit/91dcb3fcd2cae6570aed06dc3471c4d79caefbc8



The idea how I used it was very plain and simple, the host exists in
oVirt but was unprovisioned, you clicked install and there it went. If
that would be possible again or is in some way I would like to know.



2017-01-30 14:07 GMT+01:00 Yaniv Kaul :



On Mon, Jan 30, 2017 at 12:03 PM, Matt .  wrote:


Could do but then there is still some password like thingy around in
my provisioning system, a key is just a fingerprint which is matched.



It's not JUST a fingerprint. It's the fingerprint of a SSH key we use for
the authentication.



What is also the case is that I want to decide in the engine if it's
valid to be provisioned or not.



So don't add that SSH key to hosts that you don't want to provision.
We don't have this extra phase of 'approving a host when you add it'.
If you have permissions to add a host, it'll be added - via the Engine, by
the Engine.




Security wise it's not ideal if you ask me, that is why I did it using
the URL, http/https was possible.

No clue there ?



I'm probably missing the use case here.
Y.




Thanks!

Matt

2017-01-30 10:32 GMT+01:00 Yaniv Kaul :

Have you tried using SSH public key auth.?
Y.


On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:


Hi All,

In the past I was using an URL to add my hosts to over so they exists
in the ovirt WebGui but they were unprovisioned so I needed to install
them only.

This is what I used:



http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='

Is there some way to accomplish this still without using a user/pass
combiation ?

Thanks!

Matt
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users







___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] NIC Teaming x Bonding

2017-01-30 Thread Fernando Frediani
Has anyone used NIC Teaming in production with oVirt Node ? How are you 
finding it compared to Bonding ?


Has it helped in some way with the new features it brings.

For example: one feature VMware does it when you create a given 
portgroup for a group of VMs you may set that portgroup to use one 
physical NIC as Active and others as Backup, while in another portgroup 
you may set otherwise. Then you have both failover for both portgroups 
and better bandwidth usage.


Does Teaming do that kind of thing when used along with oVirt/libvirt+KVM ?

Thanks

Fernando

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt Node TUI

2017-01-30 Thread Fernando Frediani

What happened with the TUI ?

Have just installed a 4.1 oVirt Node and it seems it is CLI only and I 
only see a shell login. Is it correct ?
I read some pages on ovirt.org saying the old TUI was problematic and it 
was being redesign but that seems old.


Or do I understand correctly and everything is now handled by Cockpit ? 
Then if I have no network CLI is my friend ?


Thanks folks.

Fernando

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Matt .
In a puppetized environment it's just too easy to include a
manifest/class that will use the ssh key for that manifest, I want to
avoid that and control the acceptance from the GUI when a possible
host is added to to engine but not capable to join the cluster yet.

The idea how I used it was very plain and simple, the host exists in
oVirt but was unprovisioned, you clicked install and there it went. If
that would be possible again or is in some way I would like to know.



2017-01-30 14:07 GMT+01:00 Yaniv Kaul :
>
>
> On Mon, Jan 30, 2017 at 12:03 PM, Matt .  wrote:
>>
>> Could do but then there is still some password like thingy around in
>> my provisioning system, a key is just a fingerprint which is matched.
>
>
> It's not JUST a fingerprint. It's the fingerprint of a SSH key we use for
> the authentication.
>
>>
>> What is also the case is that I want to decide in the engine if it's
>> valid to be provisioned or not.
>
>
> So don't add that SSH key to hosts that you don't want to provision.
> We don't have this extra phase of 'approving a host when you add it'.
> If you have permissions to add a host, it'll be added - via the Engine, by
> the Engine.
>
>>
>>
>> Security wise it's not ideal if you ask me, that is why I did it using
>> the URL, http/https was possible.
>>
>> No clue there ?
>
>
> I'm probably missing the use case here.
> Y.
>
>>
>>
>> Thanks!
>>
>> Matt
>>
>> 2017-01-30 10:32 GMT+01:00 Yaniv Kaul :
>> > Have you tried using SSH public key auth.?
>> > Y.
>> >
>> >
>> > On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:
>> >>
>> >> Hi All,
>> >>
>> >> In the past I was using an URL to add my hosts to over so they exists
>> >> in the ovirt WebGui but they were unprovisioned so I needed to install
>> >> them only.
>> >>
>> >> This is what I used:
>> >>
>> >>
>> >>
>> >> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
>> >>
>> >> Is there some way to accomplish this still without using a user/pass
>> >> combiation ?
>> >>
>> >> Thanks!
>> >>
>> >> Matt
>> >> ___
>> >> Users mailing list
>> >> Users@ovirt.org
>> >> http://lists.ovirt.org/mailman/listinfo/users
>> >
>> >
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ANN] oVirt 4.1.0 Second Beta Release is now available for testing

2017-01-30 Thread Yaniv Dary
Adding one more person to look.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Mon, Jan 30, 2017 at 1:35 PM, Sandro Bonazzola 
wrote:

>
>
> On Mon, Jan 30, 2017 at 12:24 PM, Nathanaël Blanchet 
> wrote:
>
>>
>>
>> Le 28/12/2016 à 15:25, Nathanaël Blanchet a écrit :
>>
>>
>>
>> Le 28/12/2016 à 15:09, Yaniv Bronheim a écrit :
>>
>>
>>
>> On Wed, Dec 28, 2016 at 3:43 PM, Nathanaël Blanchet 
>> wrote:
>>
>>> Hello,
>>>
>>> On my 4.1 Second Beta test platform, I meet this issue on the three
>>> hosts : VDSM gaua3 command failed: >> 'exceptions.AttributeError'>:'NoneType' object has no attribute
>>> 'statistics'">
>>>
>> Still the same error with RC2 and GA is on 1st of february...
>>
>
> Adding some people, looks related to metrics but I may be wrong.
>
>
>
>
>>
>>
>> Hi Nathanael, Thank you for the report
>>
>> Hi Yaniv
>>
>>
>> please send also the following logs for deeper investigation
>> /var/log/vdsm.log
>> /var/log/supervdsm.log
>> /var/log/messages or joursnalctl -xn output
>>
>> Also, please specify a bit the platform you are running on and when this
>> issue occurs
>>
>> 3 el7 hosts, 1 gluster + virt cluster, FC domain storage with the latest
>> 4.1 beta, independant el7 engine
>>
>>
>> Greetings,
>> Yaniv Bronhaim.
>>
>>
>>
>>>
>>> Le 21/12/2016 à 16:12, Sandro Bonazzola a écrit :
>>>
>>> The oVirt Project is pleased to announce the availability of the Second
>>> Beta Release of oVirt 4.1.0 for testing, as of December 21st, 2016
>>>
>>> This is pre-release software. Please take a look at our community page[1]
>>> to know how to ask questions and interact with developers and users.
>>> All issues or bugs should be reported via oVirt Bugzilla[2].
>>> This pre-release should not to be used in production.
>>>
>>> This release is available now for:
>>> * Fedora 24 (tech preview)
>>> * Red Hat Enterprise Linux 7.3 or later
>>> * CentOS Linux (or similar) 7.3 or later
>>>
>>> This release supports Hypervisor Hosts running:
>>> * Red Hat Enterprise Linux 7.3 or later
>>> * CentOS Linux (or similar) 7.3 or later
>>> * Fedora 24 (tech preview)
>>>
>>> See the release notes draft [3] for installation / upgrade instructions
>>> and
>>> a list of new features and bugs fixed.
>>>
>>> Notes:
>>> - oVirt Live iso is already available
>>> - oVirt Node NG iso will be available soon
>>> - Hosted Engine appliance will be available soon
>>> - above delay is due to jenkins issues building node and appliance,
>>> should be fixed by tomorrow.
>>>
>>> An initial release management page including planned schedule is also
>>> available[4]
>>>
>>>
>>> Additional Resources:
>>> * Read more about the oVirt 4.1.0 beta release highlights:
>>> http://www.ovirt.org/release/4.1.0/
>>> * Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
>>> * Check out the latest project news on the oVirt blog:
>>> http://www.ovirt.org/blog/
>>>
>>> [1] https://www.ovirt.org/community/
>>> [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
>>> [3] http://www.ovirt.org/release/4.1.0/
>>> [4] http://www.ovirt.org/develop/release-management/releases/4.1
>>> /release-management/
>>>
>>>
>>> --
>>> Sandro Bonazzola
>>> Better technology. Faster innovation. Powered by community collaboration.
>>> See how it works at redhat.com
>>>
>>>
>>> ___
>>> Users mailing 
>>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>>
>>> --
>>> Nathanaël Blanchet
>>>
>>> Supervision réseau
>>> Pôle Infrastrutures Informatiques
>>> 227 avenue Professeur-Jean-Louis-Viala
>>> 34193 MONTPELLIER CEDEX 5   
>>> Tél. 33 (0)4 67 54 84 55
>>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>>
>>> ___ Users mailing list
>>> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>>
>> --
>> *Yaniv Bronhaim.*
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
> 

Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Yaniv Kaul
On Mon, Jan 30, 2017 at 12:03 PM, Matt .  wrote:

> Could do but then there is still some password like thingy around in
> my provisioning system, a key is just a fingerprint which is matched.
>

It's not JUST a fingerprint. It's the fingerprint of a SSH key we use for
the authentication.


> What is also the case is that I want to decide in the engine if it's
> valid to be provisioned or not.
>

So don't add that SSH key to hosts that you don't want to provision.
We don't have this extra phase of 'approving a host when you add it'.
If you have permissions to add a host, it'll be added - via the Engine, by
the Engine.


>
> Security wise it's not ideal if you ask me, that is why I did it using
> the URL, http/https was possible.
>
> No clue there ?
>

I'm probably missing the use case here.
Y.


>
> Thanks!
>
> Matt
>
> 2017-01-30 10:32 GMT+01:00 Yaniv Kaul :
> > Have you tried using SSH public key auth.?
> > Y.
> >
> >
> > On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:
> >>
> >> Hi All,
> >>
> >> In the past I was using an URL to add my hosts to over so they exists
> >> in the ovirt WebGui but they were unprovisioned so I needed to install
> >> them only.
> >>
> >> This is what I used:
> >>
> >>
> >> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_
> ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%
> 60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
> >>
> >> Is there some way to accomplish this still without using a user/pass
> >> combiation ?
> >>
> >> Thanks!
> >>
> >> Matt
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] unsubscribe

2017-01-30 Thread Talk Jesus
 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ANN] oVirt 4.1.0 Second Beta Release is now available for testing

2017-01-30 Thread Sandro Bonazzola
On Mon, Jan 30, 2017 at 12:24 PM, Nathanaël Blanchet 
wrote:

>
>
> Le 28/12/2016 à 15:25, Nathanaël Blanchet a écrit :
>
>
>
> Le 28/12/2016 à 15:09, Yaniv Bronheim a écrit :
>
>
>
> On Wed, Dec 28, 2016 at 3:43 PM, Nathanaël Blanchet 
> wrote:
>
>> Hello,
>>
>> On my 4.1 Second Beta test platform, I meet this issue on the three hosts
>> : VDSM gaua3 command failed: > 'exceptions.AttributeError'>:'NoneType'
>> object has no attribute 'statistics'">
>>
> Still the same error with RC2 and GA is on 1st of february...
>

Adding some people, looks related to metrics but I may be wrong.




>
>
> Hi Nathanael, Thank you for the report
>
> Hi Yaniv
>
>
> please send also the following logs for deeper investigation
> /var/log/vdsm.log
> /var/log/supervdsm.log
> /var/log/messages or joursnalctl -xn output
>
> Also, please specify a bit the platform you are running on and when this
> issue occurs
>
> 3 el7 hosts, 1 gluster + virt cluster, FC domain storage with the latest
> 4.1 beta, independant el7 engine
>
>
> Greetings,
> Yaniv Bronhaim.
>
>
>
>>
>> Le 21/12/2016 à 16:12, Sandro Bonazzola a écrit :
>>
>> The oVirt Project is pleased to announce the availability of the Second
>> Beta Release of oVirt 4.1.0 for testing, as of December 21st, 2016
>>
>> This is pre-release software. Please take a look at our community page[1]
>> to know how to ask questions and interact with developers and users.
>> All issues or bugs should be reported via oVirt Bugzilla[2].
>> This pre-release should not to be used in production.
>>
>> This release is available now for:
>> * Fedora 24 (tech preview)
>> * Red Hat Enterprise Linux 7.3 or later
>> * CentOS Linux (or similar) 7.3 or later
>>
>> This release supports Hypervisor Hosts running:
>> * Red Hat Enterprise Linux 7.3 or later
>> * CentOS Linux (or similar) 7.3 or later
>> * Fedora 24 (tech preview)
>>
>> See the release notes draft [3] for installation / upgrade instructions
>> and
>> a list of new features and bugs fixed.
>>
>> Notes:
>> - oVirt Live iso is already available
>> - oVirt Node NG iso will be available soon
>> - Hosted Engine appliance will be available soon
>> - above delay is due to jenkins issues building node and appliance,
>> should be fixed by tomorrow.
>>
>> An initial release management page including planned schedule is also
>> available[4]
>>
>>
>> Additional Resources:
>> * Read more about the oVirt 4.1.0 beta release highlights:
>> http://www.ovirt.org/release/4.1.0/
>> * Get more oVirt Project updates on Twitter: https://twitter.com/ovirt
>> * Check out the latest project news on the oVirt blog:
>> http://www.ovirt.org/blog/
>>
>> [1] https://www.ovirt.org/community/
>> [2] https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt
>> [3] http://www.ovirt.org/release/4.1.0/
>> [4] http://www.ovirt.org/develop/release-management/releases/4.1
>> /release-management/
>>
>>
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>> --
>> Nathanaël Blanchet
>>
>> Supervision réseau
>> Pôle Infrastrutures Informatiques
>> 227 avenue Professeur-Jean-Louis-Viala
>> 34193 MONTPELLIER CEDEX 5
>> Tél. 33 (0)4 67 54 84 55
>> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>>
>> ___ Users mailing list
>> Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
>
> --
> *Yaniv Bronhaim.*
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ANN] oVirt 4.1.0 Second Beta Release is now available for testing

2017-01-30 Thread Nathanaël Blanchet



Le 28/12/2016 à 15:25, Nathanaël Blanchet a écrit :




Le 28/12/2016 à 15:09, Yaniv Bronheim a écrit :



On Wed, Dec 28, 2016 at 3:43 PM, Nathanaël Blanchet 
 wrote:


Hello,

On my 4.1 Second Beta test platform, I meet this issue on the
three hosts : VDSM gaua3 command failed: :'NoneType' object has no attribute
'statistics'">


Still the same error with RC2 and GA is on 1st of february...



Hi Nathanael, Thank you for the report

Hi Yaniv


please send also the following logs for deeper investigation
/var/log/vdsm.log
/var/log/supervdsm.log
/var/log/messages or joursnalctl -xn output

Also, please specify a bit the platform you are running on and when 
this issue occurs
3 el7 hosts, 1 gluster + virt cluster, FC domain storage with the 
latest 4.1 beta, independant el7 engine


Greetings,
Yaniv Bronhaim.


Le 21/12/2016 à 16:12, Sandro Bonazzola a écrit :

The oVirt Project is pleased to announce the availability of the
Second
Beta Release of oVirt 4.1.0 for testing, as of December 21st, 2016

This is pre-release software. Please take a look at our
community page[1]
to know how to ask questions and interact with developers and users.
All issues or bugs should be reported via oVirt Bugzilla[2].
This pre-release should not to be used in production.

This release is available now for:
* Fedora 24 (tech preview)
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later

This release supports Hypervisor Hosts running:
* Red Hat Enterprise Linux 7.3 or later
* CentOS Linux (or similar) 7.3 or later
* Fedora 24 (tech preview)

See the release notes draft [3] for installation / upgrade
instructions and
a list of new features and bugs fixed.

Notes:
- oVirt Live iso is already available
- oVirt Node NG iso will be available soon
- Hosted Engine appliance will be available soon
- above delay is due to jenkins issues building node and
appliance, should be fixed by tomorrow.

An initial release management page including planned schedule is
also
available[4]


Additional Resources:
* Read more about the oVirt 4.1.0 beta release highlights:
http://www.ovirt.org/release/4.1.0/

* Get more oVirt Project updates on Twitter:
https://twitter.com/ovirt
* Check out the latest project news on the oVirt blog:
http://www.ovirt.org/blog/

[1] https://www.ovirt.org/community/

[2]
https://bugzilla.redhat.com/enter_bug.cgi?classification=oVirt

[3] http://www.ovirt.org/release/4.1.0/

[4]

http://www.ovirt.org/develop/release-management/releases/4.1/release-management/




-- 
Sandro Bonazzola

Better technology. Faster innovation. Powered by community
collaboration.
See how it works at redhat.com 


___
Users mailing list
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users



-- 
Nathanaël Blanchet


Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr   


___ Users mailing
list Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users
 


--
*Yaniv Bronhaim.*

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New Install Issues

2017-01-30 Thread Yura Poltoratskiy
Two days ago the same question was asked there with subj "Ovirt FQDN". I 
took a method from the neighbor thread and it works for me. The method 
is quite simple - just to create a file  with a single line:


[root@ovirt ~]# cat /etc/ovirt-engine/engine.conf.d/99-alternate-fqdn.conf
SSO_ALTERNATE_ENGINE_FQDNS="your.fqdn.there"

I did not try with IP, but with FQDN, which is not that I've used for 
deploy engine, works fine. You can give a try to put IP instead of FQDN.


28.01.2017 22:10, Talk Jesus пишет:


“Please consult following bugs targeted to oVirt 4.0.4 which should 
fix this limitation: https://bugzilla.redhat.com/1325746 
https://bugzilla.redhat.com/1362196”


I checked both links, I see nothing about how to fix it so I can 
access via IP address?


*From:*Martin Perina [mailto:mper...@redhat.com]
*Sent:* Saturday, January 28, 2017 2:56 PM
*To:* Talk Jesus 
*Cc:* users ; Nir Soffer 
*Subject:* Re: [ovirt-users] New Install Issues

On Sat, Jan 28, 2017 at 8:50 PM, Nir Soffer > wrote:


On Sat, Jan 28, 2017 at 8:46 PM, Talk Jesus > wrote:
> Hey team,
>
>
>
> Just installed Ovirt 4x on Centos 7. Like many who have reported
this issue,
> I cannot log into the web gui via IP address. I get this:
>
>
>
> The client is not authorized to request an authorization. It's
required to
> access the system using FQDN.

​Hi,

please read the release notes [1], it's written in section "Install / 
Upgrade from previous versions" step 2.


For details how to configure engine access via IP address please take 
a look at [2] as mentioned in release notes.


Thanks

Martin

[1] http://www.ovirt.org/release/4.0.6/
[2] https://bugzilla.redhat.com/1325746
​


This happens when you try to access the server not via the server
address
set when you installed your engine.

For example, you select the address foo.bar.com
 when you installed your engine,
and you are trying to access it as https:foo/. (maybe you have an
alias).

Check how the engine was configured and use the same address when
you access it.

Nir

>
>
>
> I can’t figure out a fix for this. Not wanting to use a domain,
just IP for
> access for testing.
>
>
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users
>



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Invitation: Deep Dive: New cold merge flow @ Thu Feb 9, 2017 4pm - 5pm (IST) (users@ovirt.org)

2017-01-30 Thread ahino
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20170209T14Z
DTEND:20170209T15Z
DTSTAMP:20170130T110911Z
ORGANIZER;CN=ah...@redhat.com:mailto:ah...@redhat.com
UID:hi5127keop56ibrvumidpr1...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=de...@ovirt.org;X-NUM-GUESTS=0:mailto:de...@ovirt.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=ah...@redhat.com;X-NUM-GUESTS=0:mailto:ah...@redhat.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=users@ovirt.org;X-NUM-GUESTS=0:mailto:users@ovirt.org
CREATED:20170130T110911Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEW=aGk1MTI3a2VvcDU2aWJydnVtaWRwcjFoaWsgdXNlcnNAb3ZpcnQub3Jn=MTYj
 YWhpbm9AcmVkaGF0LmNvbTA2ZjlhZTA4MTE2YmU1MWZlNjIzNWMxYWIyNjdiZTIwZDg1NzJhMDU
 =Asia/Jerusalem=en.
LAST-MODIFIED:20170130T110911Z
LOCATION:bluejeans.com/ahino
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Deep Dive: New cold merge flow
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Location of the gluster client log with libgfapi

2017-01-30 Thread Sahina Bose
The qemu logs (for a VM) contain the gluster client logs as well

On Fri, Jan 27, 2017 at 11:14 PM, Doug Ingham  wrote:

> Hey guys,
>  Would anyone be able to tell me the name/location of the gluster client
> log when mounting through libgfapi?
>
> Cheers,
> --
> Doug
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Not enough disk space on the engine LUN to create the configuration volume?

2017-01-30 Thread gflwqs gflwqs
Hi list,
When i am trying to upgrade hosts from 3.5.6 to 3.6.7 i get these errors

from agent.log:
MainThread::ERROR::2017-01-24
15:17:58,981::upgrade::207::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(_is_conf_volume_there)
Unable to find HE conf volume
MainThread::INFO::2017-01-24
15:17:58,981::upgrade::262::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(_create_shared_conf_volume)
Creating hosted-engine configuration volume on the shared storage domain
MainThread::DEBUG::2017-01-24
15:17:59,079::heconflib::358::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(create_and_prepare_image)
{'status': {'message': 'OK', 'code': 0}, 'uuid':
'df95e3fd-3715-4525-8955-abcc8cb24865'}
MainThread::DEBUG::2017-01-24
15:17:59,080::heconflib::372::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(create_and_prepare_image)
Created configuration volume OK, request was:
- image: e4d09ccf-5d9b-4f90-9eda-1ebd4f55ecbc
- volume: 9636163f-d634-4c28-b2bc-f84b5a90a17e
MainThread::DEBUG::2017-01-24
15:17:59,080::heconflib::283::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(task_wait)
Waiting for existing tasks to complete
MainThread::DEBUG::2017-01-24
15:18:00,137::heconflib::283::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(task_wait)
Waiting for existing tasks to complete
MainThread::DEBUG::2017-01-24
15:18:00,278::heconflib::379::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(create_and_prepare_image)
configuration volume: prepareImage
MainThread::DEBUG::2017-01-24
15:18:00,350::heconflib::387::ovirt_hosted_engine_ha.lib.upgrade.StorageServer::(create_and_prepare_image)
{'status': {'message': "Volume does not exist:
('9636163f-d634-4c28-b2bc-f84b5a90a17e',)", 'code': 201}

from vdsm.log:
df95e3fd-3715-4525-8955-abcc8cb24865::DEBUG::2017-01-24
15:17:59,187::task::752::Storage.TaskManager.Task::(_save)
Task=`df95e3fd-3715-4525-8955-abcc8cb24865`::_save: orig
/rhev/data-center/c202d58c-afc7-4848-8501-228d9bccb15d/mastersd/master/tasks/df95e3fd-3715-4525-8955-

abcc8cb24865 temp
/rhev/data-center/c202d58c-afc7-4848-8501-228d9bccb15d/mastersd/master/tasks/df95e3fd-3715-4525-8955-abcc8cb24865.temp

df95e3fd-3715-4525-8955-abcc8cb24865::DEBUG::2017-01-24
15:17:59,201::task::752::Storage.TaskManager.Task::(_save)
Task=`df95e3fd-3715-4525-8955-abcc8cb24865`::_save: orig
/rhev/data-center/c202d58c-afc7-4848-8501-228d9bccb15d/mastersd/master/tasks/df95e3fd-3715-4525-8955-

abcc8cb24865 temp
/rhev/data-center/c202d58c-afc7-4848-8501-228d9bccb15d/mastersd/master/tasks/df95e3fd-3715-4525-8955-abcc8cb24865.temp

df95e3fd-3715-4525-8955-abcc8cb24865::DEBUG::2017-01-24
15:17:59,217::lvm::290::Storage.Misc.excCmd::(cmd) /usr/bin/taskset
--cpu-list 0-79 /usr/bin/sudo -n /usr/sbin/lvm lvcreate --config ' devices
{ preferred_names = ["^*/dev/mapper/*"] ignore_suspended_devices=1
write_cac
he_state=0 disable_after_error_count=3 filter = [
'\''a|/dev/mapper/2347b42194dacd3656c9ce900aea3dee2|'\'', '\''r|.*|'\'' ]
}  global {  locking_type=1 prioritise_write_locks=1  wait_for_locks=1
use_lvmetad=0 }  backup {  retain_min = 50  retain_days = 0 } '
--autobackup
 n --contiguous n --size 1024m --addtag OVIRT_VOL_INITIALIZING --name
9636163f-d634-4c28-b2bc-f84b5a90a17e 8fa5a242-fcb4-454d-aaa1-23f8dd92373b
(cwd None)
Thread-28556::DEBUG::2017-01-24 15:17:59,289::utils::671::root::(execCmd)
/usr/bin/taskset --cpu-list 0-79 /usr/sbin/tc qdisc show (cwd None)
df95e3fd-3715-4525-8955-abcc8cb24865::DEBUG::2017-01-24
15:17:59,301::lvm::290::Storage.Misc.excCmd::(cmd) FAILED:  = '
WARNING: Not using lvmetad because config setting use_lvmetad=0.\n
WARNING: To avoid corruption, rescan devices to make changes visible
(pvscan --
cache).\n  Volume group "8fa5a242-fcb4-454d-aaa1-23f8dd92373b" has
insufficient free space (4 extents): 8 required.\n';  = 5
df95e3fd-3715-4525-8955-abcc8cb24865::ERROR::2017-01-24
15:17:59,303::volume::485::Storage.Volume::(create) Failed to create volume
/rhev/data-center/c202d58c-afc7-4848-8501-228d9bccb15d/8fa5a242-fcb4-454d-aaa1-23f8dd92373b/images/e4d09ccf-5d9b-4f90-9eda-1ebd4f55ecbc/96361

63f-d634-4c28-b2bc-f84b5a90a17e: Cannot create Logical Volume:
('8fa5a242-fcb4-454d-aaa1-23f8dd92373b',
'9636163f-d634-4c28-b2bc-f84b5a90a17e')
df95e3fd-3715-4525-8955-abcc8cb24865::ERROR::2017-01-24
15:17:59,304::volume::521::Storage.Volume::(create) Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/volume.py", line 482, in create
initialSize=initialSize)
  File "/usr/share/vdsm/storage/blockVolume.py", line 133, in _create
initialTag=TAG_VOL_UNINIT)
  File "/usr/share/vdsm/storage/lvm.py", line 1096, in createLV
raise se.CannotCreateLogicalVolume(vgName, lvName)
CannotCreateLogicalVolume: Cannot create Logical Volume:
('8fa5a242-fcb4-454d-aaa1-23f8dd92373b',
'9636163f-d634-4c28-b2bc-f84b5a90a17e')
df95e3fd-3715-4525-8955-abcc8cb24865::DEBUG::2017-01-24
15:17:59,304::resourceManager::619::Storage.ResourceManager::(releaseResource)
Trying to release resource

Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Matt .
Could do but then there is still some password like thingy around in
my provisioning system, a key is just a fingerprint which is matched.
What is also the case is that I want to decide in the engine if it's
valid to be provisioned or not.

Security wise it's not ideal if you ask me, that is why I did it using
the URL, http/https was possible.

No clue there ?

Thanks!

Matt

2017-01-30 10:32 GMT+01:00 Yaniv Kaul :
> Have you tried using SSH public key auth.?
> Y.
>
>
> On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:
>>
>> Hi All,
>>
>> In the past I was using an URL to add my hosts to over so they exists
>> in the ovirt WebGui but they were unprovisioned so I needed to install
>> them only.
>>
>> This is what I used:
>>
>>
>> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
>>
>> Is there some way to accomplish this still without using a user/pass
>> combiation ?
>>
>> Thanks!
>>
>> Matt
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backup and restore

2017-01-30 Thread Yedidyah Bar David
On Sun, Jan 29, 2017 at 5:42 PM, raphael awadallah
 wrote:
> Dears Engineers,
> I hope you are doing great,
> I wish you can help me with a tutorial that shows how to take a scheduled
> backups for virtual machines running on oVirt node 4 and how to restore
> them.

>From oVirt's project point of view, we only supply an API for this, no
actual end-user tools. See also:

https://www.ovirt.org/develop/release-management/features/storage/backup-restore-api-integration/

If you search the net for e.g. 'ovirt backup vms', you can find lots of stuff -
actual tools, blog posts, mailing lists/forum discussions, etc.

Many of these were also mentioned/discussed on this list over the years, so
you can search also the list archives.

Personally I do not have experience with any of the tools, so can't comment.

If you need help with something specific you are trying to do - such as use
one of the existing tools, or use the api directly, etc. - then please provide
more details about what you are trying to do and what problems you run into.

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt VM backup and restore

2017-01-30 Thread Nathanaël Blanchet

Hello,

 * With ovirt <= 4.1 and ovirtsdk3 :
   https://github.com/wefixit-AT/oVirtBackup

This workflow works fine but will be soon deprecated.

 * With ovirt > 4.0, jhernandez has recently posted a new python script
   based on the new v4 API :
   
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/vm_backup.py

I personnally didn't try it, maybe someone could give a feedback.


Le 29/01/2017 à 16:42, raphael awadallah a écrit :

Dears Engineers,
I hope you are doing great,
I wish you can help me with a tutorial that shows how to take a 
scheduled backups for virtual machines running on oVirt node 4 and how 
to restore them.

Best regards


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Add host to oVirt: unprovisioned without using username/password in vdsm-tool

2017-01-30 Thread Yaniv Kaul
Have you tried using SSH public key auth.?
Y.


On Mon, Jan 30, 2017 at 9:57 AM, Matt .  wrote:

> Hi All,
>
> In the past I was using an URL to add my hosts to over so they exists
> in the ovirt WebGui but they were unprovisioned so I needed to install
> them only.
>
> This is what I used:
>
> http://OVIRTENGINE_FQDN/OvirtEngineWeb/register?vds_
> ip=HOSTFQDN=54321_name=HOSTNAME_unique_id=%
> 60dmidecode%20-s%20system-uuid%60=&__VIEWSTATE='
>
> Is there some way to accomplish this still without using a user/pass
> combiation ?
>
> Thanks!
>
> Matt
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt VM backup and restore

2017-01-30 Thread raphael awadallah
Dears Engineers,
I hope you are doing great,
I wish you can help me with a tutorial that shows how to take a scheduled
backups for virtual machines running on oVirt node 4 and how to restore
them.
Best regards
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users