[ovirt-users] Are Ovirt updates nessessary after CVE-2017-5754 CVE-2017-5753 CVE-2017-5715

2018-01-03 Thread Marcel Hanke
Hi,
besides the kernel and microcode updates are there also updates of ovirt-
engine and vdsm nessessary and if so, is there a timeline when the patches can 
be expected?
If there are Patches nessessary will there also be updates for ovirt 4.1 or 
only 4.2?

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


Re: [ovirt-users] Hosted Engine fails if there's a VLAN on the bonded network

2018-01-03 Thread Yedidyah Bar David
On Thu, Jan 4, 2018 at 8:36 AM, Yedidyah Bar David  wrote:

> On Wed, Jan 3, 2018 at 6:20 PM, Vinícius Ferrão  wrote:
>
>> Hello,
>>
>> I’m deploying oVirt HE on a new DC and the installation failed when
>> configuring the ovirtmgmt interface:
>>
>> [ INFO  ] Configuring the management bridge
>> [ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup
>> networks {'ovirtmgmt': {'bonding': 'bond0', 'ipaddr': u'146.164.37.103',
>> 'netmask': u'255.255.255.0', 'defaultRoute': True,
>> 'gateway': u'146.164.37.1'}}. Error: "Command Host.setupNetworks with args
>> {'bondings': {}, 'options': {'connectivityCheck': False}, 'networks':
>> {'ovirtmgmt': {'bonding': 'bond0', 'ipaddr': u'146.164.37.103', 'netmask':
>> u'255.255.255.0', 'defaultRoute': True, 'gateway': u'146.164.37.1'}}}
>> failed:
>>  (code=-32603, message=Internal JSON-RPC error: {'reason':
>> "Attempt to call function: > > with arguments: ({u'ovirtmgmt':
>> {u'bonding': u'bond0', u'ipaddr': u'146.164.37.103', u'netmask':
>> u'255.255.255.0', u'defaultRoute': True, u'gateway': u'146.164.37.1'}}, {},
>> {u'connectivityCheck': False}) error: 'NoneType' object is not iterable"})"
>> [ INFO  ] Yum Performing yum transaction rollback
>> [ INFO  ] Stage: Clean up
>> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
>> setup/answers/answers-20171230013538.conf'
>> [ INFO  ] Stage: Pre-termination
>> [ INFO  ] Stage: Termination
>> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
>> please check the issue,fix and redeploy
>>   Log file is located at /var/log/ovirt-hosted-engine-s
>> etup/ovirt-hosted-engine-setup-20171230004808-wwq1ib.log
>>
>> It appears this happened because on the bond0 interface, the NFS storage
>> network is tagged directly on bond0:
>>
>> 11: bond0:  mtu 1500 qdisc
>> noqueue state UP qlen 1000
>> link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
>> inet 146.164.37.103/24 brd 146.164.37.255 scope global bond0
>>valid_lft forever preferred_lft forever
>> inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
>>valid_lft forever preferred_lft forever
>> 13: bond0.10@bond0:  mtu 1500 qdisc
>> noqueue state UP qlen 1000
>> link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
>> inet 192.168.10.3/28 brd 192.168.10.15 scope global bond0.10
>>valid_lft forever preferred_lft forever
>> inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
>>valid_lft forever preferred_lft forever
>>
>> I’ve collected the logs and they are located here for download:
>> http://www.if.ufrj.br/~ferrao/ovirt
>>
>
> Can you please add there /var/log/vdsm/* ? Thanks.
>

I see that you also filed [1]. Let's continue the analysis there,
it's more effective than on the mailing list. Thanks.

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


>
> Adding Dan.
>
> Best regards,
> --
> Didi
>



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


Re: [ovirt-users] How to install the engine manually?

2018-01-03 Thread Yedidyah Bar David
On Wed, Jan 3, 2018 at 8:07 PM, Pepe Pepe  wrote:

> Hello everybody.
>
> I'd like to know if it is possible to install the whole engine using the
> folder "src" that I can download from here:
>
> http://resources.ovirt.org/pub/ovirt-4.2/
>
> Would it be possible to install them all executing a Makefile or script?
>

You mean that you want to build everything from source? See these:

https://ovirt.org/develop/
https://ovirt.org/develop/developer-guide/engine/engine-development-environment/
https://ovirt.org/develop/developer-guide/vdsm/developers/

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


Re: [ovirt-users] Hosted Engine fails if there's a VLAN on the bonded network

2018-01-03 Thread Yedidyah Bar David
On Wed, Jan 3, 2018 at 6:20 PM, Vinícius Ferrão  wrote:

> Hello,
>
> I’m deploying oVirt HE on a new DC and the installation failed when
> configuring the ovirtmgmt interface:
>
> [ INFO  ] Configuring the management bridge
> [ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup
> networks {'ovirtmgmt': {'bonding': 'bond0', 'ipaddr': u'146.164.37.103',
> 'netmask': u'255.255.255.0', 'defaultRoute': True,
> 'gateway': u'146.164.37.1'}}. Error: "Command Host.setupNetworks with args
> {'bondings': {}, 'options': {'connectivityCheck': False}, 'networks':
> {'ovirtmgmt': {'bonding': 'bond0', 'ipaddr': u'146.164.37.103', 'netmask':
> u'255.255.255.0', 'defaultRoute': True, 'gateway': u'146.164.37.1'}}}
> failed:
>  (code=-32603, message=Internal JSON-RPC error: {'reason':
> "Attempt to call function:  > with arguments: ({u'ovirtmgmt':
> {u'bonding': u'bond0', u'ipaddr': u'146.164.37.103', u'netmask':
> u'255.255.255.0', u'defaultRoute': True, u'gateway': u'146.164.37.1'}}, {},
> {u'connectivityCheck': False}) error: 'NoneType' object is not iterable"})"
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file '/var/lib/ovirt-hosted-engine-
> setup/answers/answers-20171230013538.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> please check the issue,fix and redeploy
>   Log file is located at /var/log/ovirt-hosted-engine-
> setup/ovirt-hosted-engine-setup-20171230004808-wwq1ib.log
>
> It appears this happened because on the bond0 interface, the NFS storage
> network is tagged directly on bond0:
>
> 11: bond0:  mtu 1500 qdisc
> noqueue state UP qlen 1000
> link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
> inet 146.164.37.103/24 brd 146.164.37.255 scope global bond0
>valid_lft forever preferred_lft forever
> inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
>valid_lft forever preferred_lft forever
> 13: bond0.10@bond0:  mtu 1500 qdisc
> noqueue state UP qlen 1000
> link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
> inet 192.168.10.3/28 brd 192.168.10.15 scope global bond0.10
>valid_lft forever preferred_lft forever
> inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
>valid_lft forever preferred_lft forever
>
> I’ve collected the logs and they are located here for download:
> http://www.if.ufrj.br/~ferrao/ovirt
>

Can you please add there /var/log/vdsm/* ? Thanks.

Adding Dan.

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


[ovirt-users] About vGPU in oVirt

2018-01-03 Thread lofyer
It seems to be that no M10/M60 vGPU host driver for RHEL7 available on 
NVIDIA site.


Where should I get the driver or just wait for NVIDIA to release?

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


Re: [ovirt-users] Get UU

2018-01-03 Thread Blaster

On 12/31/2017 1:23 AM, Yedidyah Bar David wrote:
On Sat, Dec 30, 2017 at 10:45 AM, Michal Skrivanek 
> wrote:




On 30 Dec 2017, at 06:54, Blaster > wrote:


I need to create an old oVirt Windows VM. The VM has an old
licensed product that we can no longer get a licensed reissued
for. It looks like I need to feed back the original qemu UUID
that was used when the VM was created.

I have an engine config backup and a backup of the oVirt storage
domain.

I viewed the engine backup, but the format as-is doesn't give any
obvious configuration details of the VMs at the time of the
backup.  Is the UUID as obvious as the file name of the VM's boot
volume UUID name?



I think it's the field 'vm_guid' in the table 'vm_static'.

You can restore the backup on a temp vm somewhere - make sure it has no
access to your hosts so that the engine will not start to manage them -
or just look at the db dump. The backup is a tar file, and you can look
at db dumps inside it using 'pg_restore filename | less'.


The guest UUID is configurable per VM in Edit dialog, you can use
a custom value



Thank you, I was able to get the UUID back!


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


[ovirt-users] How to install the engine manually?

2018-01-03 Thread Pepe Pepe

Hello everybody.

 

I'd like to know if it is possible to install the whole engine using the folder "src" that I can download from here:

 

http://resources.ovirt.org/pub/ovirt-4.2/

 

Would it be possible to install them all executing a Makefile or script?

Thanks in advance.

Regards.

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


[ovirt-users] changing Master Storage Domain

2018-01-03 Thread Giorgio Bersano
Hello,
I've a question regarding Master Storage Domain. I did already search the
net without results so I'm asking here.

In our production setup (ovirt 4.1.7) we have five iSCSI Data Storage
Domains and we unfortunately need to remove the one that is the Master SD.
That's not difficult, I know the procedure as I did it in the past:
- Move every disk belonging to the MSD to another SD
- Put the MSD in maintenance
- Detach it then Remove it

Another SD is automatically selected as Master and everything should be OK
(for the sake of simplicity i did not mention the other operations needed
on the storage array and the hosts to phisically remove the LUN).

The tricky part is I don't want a random choice, I want to choose which SD
becomes the new Master.
Is there any specific procedure to obtain this result?

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


[ovirt-users] oVirt-Gluster Hyperconvergence: Graceful shutdown and startup

2018-01-03 Thread Bernhard Seidl
Hi all and a happy new year,

I am just testing oVirt 4.2 using a three node gluster hyperconvergence
and self hosted engine setup. How should this setup be shutdown and
started again? Here is what tried an experienced:

Shutdown:

1. Shutdown all VMs

2. Enable global ha maintenance

3. Wait for all VM

4. Shutdown hosted-engine using "hosted-engine --vm-shutdown"

5. Wait for stopped hosted engine

6. Shutdown all nodes

Startup:

1. Switch on all nodes

2. Start glusterd on all nodes since it does not start by default (is
this a bug?) using "systemctl start glusterd*"*

3. Check volume status using "gluster peer status" and "gluster volume
status all" on one of the nodes

4. Wait for ovrt-ha-agent until "hosted-engine --vm-status" does not
fail anymore printing "The hosted engine configuration has not been
retrieved from shared storage. Please ensure that ovirt-ha-agent is
running and the storage server is reachable."

4. Start hosted engine "hosted-engine --vm-start" on one of the nodes

5. Check status using "hosted-engine --vm-status" and wait until health
reports good

6. Wait until a host got the SPM role

7. Start VMs

Is this the best/correct way?

Kind regards,
Bernhard



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Hosted Engine fails if there's a VLAN on the bonded network

2018-01-03 Thread Vinícius Ferrão
Hello,

I’m deploying oVirt HE on a new DC and the installation failed when configuring 
the ovirtmgmt interface:

[ INFO  ] Configuring the management bridge
[ ERROR ] Failed to execute stage 'Misc configuration': Failed to setup 
networks {'ovirtmgmt': {'bonding': 'bond0', 'ipaddr': u'146.164.37.103', 
'netmask': u'255.255.255.0', 'defaultRoute': True, 'gateway': 
u'146.164.37.1'}}. Error: "Command Host.setupNetworks with args {'bondings': 
{}, 'options': {'connectivityCheck': False}, 'networks': {'ovirtmgmt': 
{'bonding': 'bond0', 'ipaddr': u'146.164.37.103', 'netmask': u'255.255.255.0', 
'defaultRoute': True, 'gateway': u'146.164.37.1'}}} failed:
 (code=-32603, message=Internal JSON-RPC error: {'reason': "Attempt to 
call function: > with arguments: ({u'ovirtmgmt': {u'bonding': u'bond0', u'ipaddr': 
u'146.164.37.103', u'netmask': u'255.255.255.0', u'defaultRoute': True, 
u'gateway': u'146.164.37.1'}}, {}, {u'connectivityCheck': False}) error: 
'NoneType' object is not iterable"})"
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file 
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20171230013538.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Hosted Engine deployment failed: this system is not reliable, please 
check the issue,fix and redeploy
  Log file is located at 
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20171230004808-wwq1ib.log

It appears this happened because on the bond0 interface, the NFS storage 
network is tagged directly on bond0:

11: bond0:  mtu 1500 qdisc noqueue 
state UP qlen 1000
link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
inet 146.164.37.103/24 brd 146.164.37.255 scope global bond0
   valid_lft forever preferred_lft forever
inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
   valid_lft forever preferred_lft forever
13: bond0.10@bond0:  mtu 1500 qdisc noqueue 
state UP qlen 1000
link/ether 40:f2:e9:f3:5c:62 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.3/28 brd 192.168.10.15 scope global bond0.10
   valid_lft forever preferred_lft forever
inet6 fe80::42f2:e9ff:fef3:5c62/64 scope link
   valid_lft forever preferred_lft forever

I’ve collected the logs and they are located here for download:
http://www.if.ufrj.br/~ferrao/ovirt

Trying a new install from the ground to see if the issue happens again.

Thanks,
V.

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


Re: [ovirt-users] ovirt 4.1 hosted engine: Resize or Change "hosted-engine" Data Domain

2018-01-03 Thread Martin Sivak
Hi,

we do not have any nice procedure to do that. Moving hosted engine to
a different storage usually involves backup and restore of the engine
database. See for example here:
http://lists.ovirt.org/pipermail/users/2017-June/082466.html

Best regards

--
Martin Sivak
SLA / oVirt

On Wed, Jan 3, 2018 at 12:20 PM, yayo (j)  wrote:
> hi at all,
>
> We have the "hosted engine" Data domain on a FC LUN too big for only the
> hosted-engine so we want to create another little FC LUN and move the
> hosted-engine vm on this new LUN and destroy old one ...
>
> Is there any official workflow or how to to do this operation? Or, someone
> can  guide me?
>
> Thank you!
>
> ___
> 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] Suggestions on changing hosts' network

2018-01-03 Thread Gianluca Cecchi
On Wed, Jan 3, 2018 at 11:56 AM, Marcin Mirecki  wrote:

> Hello Gianluca,
>
> Add/remove would probably be the simplest way to go.
> The procedure would be:
> - take host to maintenance
> - remove host
> - use vdsm-cient to change the ip of ovirtmgmt
> - add the host again
>
> Just changing the dns configuration sounds quite interesting.
> I suppose the host certificates should be ok if the host was added by
> hostname.
>
>
I've already done something similar in September; see here the full thread:
http://lists.ovirt.org/pipermail/users/2017-September/084411.html

In that case it was more complicated in the sense that vlan change was
involved for ovirtmgmt and I passed through a new cluster.
Now it is more simple, but while on September case the hosts were plain
CentOS hosts, now they are ovirt-node-ng, so my manual ifcfg files
manipulation doesn't fit.

If vdsm-client command is ok I presume it will be something of type:

# vdsm-client Host setupNetworks
vdsm-client: Command Host.setupNetworks with args {} failed:
(code=-32603, message=Attempt to call function: > with arguments:
() error: setupNetworks() takes exactly 4 arguments (1 given))
#

with some sort of json configuration, but it is not clear to me what to give

Can I do the change of ip from the host web cockpit mgmt interface? I
set/change the ip and then eventually reboot the server to see if it works?

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


[ovirt-users] ovirt 4.1 hosted engine: Resize or Change "hosted-engine" Data Domain

2018-01-03 Thread yayo (j)
hi at all,

We have the "hosted engine" Data domain on a FC LUN too big for only the
hosted-engine so we want to create another little FC LUN and move the
hosted-engine vm on this new LUN and destroy old one ...

Is there any official workflow or how to to do this operation? Or, someone
can  guide me?

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


Re: [ovirt-users] Suggestions on changing hosts' network

2018-01-03 Thread Marcin Mirecki
Hello Gianluca,

Add/remove would probably be the simplest way to go.
The procedure would be:
- take host to maintenance
- remove host
- use vdsm-cient to change the ip of ovirtmgmt
- add the host again

Just changing the dns configuration sounds quite interesting.
I suppose the host certificates should be ok if the host was added by
hostname.



On Tue, Jan 2, 2018 at 9:02 AM, Gianluca Cecchi 
wrote:

> Hello,
> I have a 4.1 cluster based on FC storage domain.
> There are 2 hosts that are oVirt node-ng
> The engine is external to the oVirt environment
> Currently the network situation for ovirtmgmt is this one:
>
> engine on network1 (eg 192.168.1.x/24)
> host1 and host2 on network2 (eg 192.168.2.x/24)
>
> network1 and network2 routed through a gw
>
> I have to physically move host1 and host2 so that I should change their ip
> with one on network1.
> When I added the hosts in oVirt I used as Hostname/IP field their dns
> hostname
>
> What is the simplest approach?
> I can also give total downtime without particular problems as this is a
> test environment.
> I think I can put all infra into maintenance, change dns configuration but
> then I have also to change hosts network configuration itself...
> Possibly the best thing to do is remove/add the hosts? I have some doubts
> about the workflow to follow for removal/add and if for an oVirt-ng node I
> can change its ip configuration in an easy way.. perhaps from cockpit and
> then reboot and connect via cockpit to the new ip
>
> Thanks in advance for any suggestion
>
> Gianluca
>
>
>
> ___
> 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