Re: [ovirt-users] moving disk failed.. remained locked

2017-02-21 Thread Fred Rolland
I opened a bug for the task cleaner issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1425705

Did you managed to copy the disk ?
For better tracking, can you open a bug with the details and logs ?

Thanks,
Fred

On Tue, Feb 21, 2017 at 3:36 PM, Gianluca Cecchi 
wrote:

> The problem itself seems related with snapshot and with the disk (430Gb in
> size).
>
> Failed to complete snapshot 'test3' creation for VM 'dbatest6'.
> VDSM ovmsrv07 command HSMGetAllTasksStatusesVDS failed: Could not acquire
> resource. Probably resource factory threw an exception.: ()
> Snapshot 'test3' creation for VM 'dbatest6' was initiated by
> admin@internal-authz.
>
> The VM is composed by 2 disks, that are on 2 different storage domains.
> I'm able to create and then delete a snapshot that includes only the first
> system disk (no memory saved), but I receive the same error as in the move
> disk if I try to do a snapshot including instead only the second disk
> (again no memory save).
> In this case the disk doesn't remain locked as it happened when trying to
> move the disk...
> Can it help in any way to shutdown the VM?
>
> I should free this storage domain and this is the only disk remained
> before decommission...
> Thanks,
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine disk size

2017-02-21 Thread Sandro Bonazzola
On Wed, Feb 22, 2017 at 12:52 AM, rightkicktech.gmail.com <
rightkickt...@gmail.com> wrote:

> Hi all,
>
> I have setup self hosted engine using ovirt v4.1 on two hosts for testing.
> The default engine image downloaded has a disk of 10G. How I can increase
> the disk size of the engine?
>

Hi,
you could have set a different size for Hosted Engine disk during its
deployment. Once the Hosted Engine is deployed there's no way to extend its
disk as far as I know.
Issue was raised in bug https://bugzilla.redhat.com/show_bug.cgi?id=1347731
which was closed wontfix asking to open a RFE if needed.
Looks like you need it, can you please open a RFE?



>
> Thanx,
> Alex
>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> ___
> 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] best way to remove SAN lun

2017-02-21 Thread Nir Soffer
On Wed, Feb 22, 2017 at 9:03 AM, Nelson Lameiras
 wrote:
> Hello,
>
> Not sure it is the same issue, but we have had a "major" issue recently in 
> our production system when removing a ISCSI volume from oVirt, and then 
> removing it from SAN.

What version? OS version?

The order must be:

1. remove the LUN from storage domain
will be available in next 4.1 release. in older versions you have
to remove the storage domain

2. unzone the LUN on the server

3. remove the multipath devices and the paths on the nodes

> The issue being that each host was still trying to access regularly to the 
> SAN volume in spite of not being completely removed from oVirt.

What do you mean by "not being completely removed"?

Who was accessing the volume?

> This led to an massive increase of error logs, which filled completely 
> /var/log partition,

Which log was full with errors?

> which snowballed into crashing vdsm and other nasty consequences.

You should have big enough /var/log to avoid such issues.

>
> Anyway, the solution was to manually logout from SAN (in each host) with 
> iscsiadm and manually remove iscsi targets (again in each host). It was not 
> difficult once the problem was found because currently we only have 3 hosts 
> in this cluster, but I'm wondering what would happen if we had hundreds of 
> hosts ?
>
> Maybe I'm being naive but shouldn't this be "oVirt job" ? Is there a RFE 
> still waiting to be included on this subject or should I write one ?

We have RFE for this here:
https://bugzilla.redhat.com/1310330

But you must understand that ovirt does not control your storage server,
you are responsible to add devices on the storage server, and remove
them. We are only consuming the devices.

Even we we provide a way to remove devices on all hosts, you will have
to remove the device on the storage server before removing it from
hosts. If not, ovirt will find the removed devices again in the next
scsi rescan,
and we do lot of these to support automatic discovery of new devices
or resized devices.

Nir

>
> cordialement, regards,
>
>
> Nelson LAMEIRAS
> Ingénieur Systèmes et Réseaux / Systems and Networks engineer
> Tel: +33 5 32 09 09 70
> nelson.lamei...@lyra-network.com
>
> www.lyra-network.com | www.payzen.eu
>
>
>
>
>
> Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE
>
> - Original Message -
> From: "Nir Soffer" 
> To: "Gianluca Cecchi" , "Adam Litke" 
> 
> Cc: "users" 
> Sent: Tuesday, February 21, 2017 6:32:18 PM
> Subject: Re: [ovirt-users] best way to remove SAN lun
>
> On Tue, Feb 21, 2017 at 7:25 PM, Gianluca Cecchi
>  wrote:
>> On Tue, Feb 21, 2017 at 6:10 PM, Nir Soffer  wrote:
>>>
>>> This is caused by active lvs on the remove storage domains that were not
>>> deactivated during the removal. This is a very old known issue.
>>>
>>> You have remove the remove device mapper entries - you can see the devices
>>> using:
>>>
>>> dmsetup status
>>>
>>> Then you can remove the mapping using:
>>>
>>> dmsetup remove device-name
>>>
>>> Once you removed the stale lvs, you will be able to remove the multipath
>>> device and the underlying paths, and lvm will not complain about read
>>> errors.
>>>
>>> Nir
>>
>>
>> OK Nir, thanks for advising.
>>
>> So what I run with success on the 2 hosts
>>
>> [root@ovmsrv05 vdsm]# for dev in $(dmsetup status | grep
>> 900b1853--e192--4661--a0f9--7c7c396f6f49 | cut -d ":" -f 1)
>> do
>>dmsetup remove $dev
>> done
>> [root@ovmsrv05 vdsm]#
>>
>> and now I can run
>>
>> [root@ovmsrv05 vdsm]# multipath -f 3600a0b8000299902cd3c5501458f
>> [root@ovmsrv05 vdsm]#
>>
>> Also, with related names depending on host,
>>
>> previous maps to single devices were for example in ovmsrv05:
>>
>> 3600a0b8000299902cd3c5501458f dm-4 IBM ,1814  FAStT
>> size=2.0T features='2 pg_init_retries 50' hwhandler='1 rdac' wp=rw
>> |-+- policy='service-time 0' prio=0 status=enabled
>> | |- 0:0:0:2 sdb8:16  failed undef running
>> | `- 1:0:0:2 sdh8:112 failed undef running
>> `-+- policy='service-time 0' prio=0 status=enabled
>>   |- 0:0:1:2 sdg8:96  failed undef running
>>   `- 1:0:1:2 sdn8:208 failed undef running
>>
>> And removal of single path devices:
>>
>> [root@ovmsrv05 root]# for dev in sdb sdh sdg sdn
>> do
>>   echo 1 > /sys/block/${dev}/device/delete
>> done
>> [root@ovmsrv05 vdsm]#
>>
>> All clean now... ;-)
>
> Great!
>
> I think we should have a script doing all these steps.
>
> Nir
> ___
> 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] best way to remove SAN lun

2017-02-21 Thread Nelson Lameiras
Hello,

Not sure it is the same issue, but we have had a "major" issue recently in our 
production system when removing a ISCSI volume from oVirt, and then removing it 
from SAN. The issue being that each host was still trying to access regularly 
to the SAN volume in spite of not being completely removed from oVirt. This led 
to an massive increase of error logs, which filled completely /var/log 
partition, which snowballed into crashing vdsm and other nasty consequences.

Anyway, the solution was to manually logout from SAN (in each host) with 
iscsiadm and manually remove iscsi targets (again in each host). It was not 
difficult once the problem was found because currently we only have 3 hosts in 
this cluster, but I'm wondering what would happen if we had hundreds of hosts ?

Maybe I'm being naive but shouldn't this be "oVirt job" ? Is there a RFE still 
waiting to be included on this subject or should I write one ?

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE

- Original Message -
From: "Nir Soffer" 
To: "Gianluca Cecchi" , "Adam Litke" 

Cc: "users" 
Sent: Tuesday, February 21, 2017 6:32:18 PM
Subject: Re: [ovirt-users] best way to remove SAN lun

On Tue, Feb 21, 2017 at 7:25 PM, Gianluca Cecchi
 wrote:
> On Tue, Feb 21, 2017 at 6:10 PM, Nir Soffer  wrote:
>>
>> This is caused by active lvs on the remove storage domains that were not
>> deactivated during the removal. This is a very old known issue.
>>
>> You have remove the remove device mapper entries - you can see the devices
>> using:
>>
>> dmsetup status
>>
>> Then you can remove the mapping using:
>>
>> dmsetup remove device-name
>>
>> Once you removed the stale lvs, you will be able to remove the multipath
>> device and the underlying paths, and lvm will not complain about read
>> errors.
>>
>> Nir
>
>
> OK Nir, thanks for advising.
>
> So what I run with success on the 2 hosts
>
> [root@ovmsrv05 vdsm]# for dev in $(dmsetup status | grep
> 900b1853--e192--4661--a0f9--7c7c396f6f49 | cut -d ":" -f 1)
> do
>dmsetup remove $dev
> done
> [root@ovmsrv05 vdsm]#
>
> and now I can run
>
> [root@ovmsrv05 vdsm]# multipath -f 3600a0b8000299902cd3c5501458f
> [root@ovmsrv05 vdsm]#
>
> Also, with related names depending on host,
>
> previous maps to single devices were for example in ovmsrv05:
>
> 3600a0b8000299902cd3c5501458f dm-4 IBM ,1814  FAStT
> size=2.0T features='2 pg_init_retries 50' hwhandler='1 rdac' wp=rw
> |-+- policy='service-time 0' prio=0 status=enabled
> | |- 0:0:0:2 sdb8:16  failed undef running
> | `- 1:0:0:2 sdh8:112 failed undef running
> `-+- policy='service-time 0' prio=0 status=enabled
>   |- 0:0:1:2 sdg8:96  failed undef running
>   `- 1:0:1:2 sdn8:208 failed undef running
>
> And removal of single path devices:
>
> [root@ovmsrv05 root]# for dev in sdb sdh sdg sdn
> do
>   echo 1 > /sys/block/${dev}/device/delete
> done
> [root@ovmsrv05 vdsm]#
>
> All clean now... ;-)

Great!

I think we should have a script doing all these steps.

Nir
___
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] gpu passthrough

2017-02-21 Thread qinglong.d...@horebdata.cn
It worked. Thanks a lot!
 
From: Darrell Budic
Date: 2017-02-22 00:37
To: qinglong.d...@horebdata.cn
CC: users
Subject: Re: [ovirt-users] gpu passthrough
I think you need to click the “down arrow” under the top box, should move the 
GPU into the “Host Devices to be attached” box, then hit Ok to make the 
assignment.

On Feb 21, 2017, at 3:26 AM, qinglong.d...@horebdata.cn wrote:

Hi, all:
I want to assign the gpu card of one host to the vm which is running in 
the host.

After I click "OK", I got nothing. Anyone can help? Thanks!
___
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 network setup hangs

2017-02-21 Thread Bill James

We recently upgraded our QA ovirt installation from ovirt3.6 to 4.0.3.
All seems to work fine except when I try to setup network configuration.

Even if I take an already configured host and change nothing when I 
select "Setup Host Networks" and press "ok" the window just hangs 
(spinning wheel) and task never finishes.
I can Delete the job and restart ovirt-engine and all is clean, till I 
try to setup a network, on any host, again.


I haven't found any log entries that seem to apply, but here's the start 
of the task:


2017-02-21 16:15:35,557 INFO 
[org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] 
(default
task-40) [77a44650] START, HostSetupNetworksVDSCommand(HostName = 
webdev3.dev.j2noc.com, 
HostSetupNetworksVdsCommandParameters:{runAsync='true', 
hostId='85f43ad0-bba8-46af-97db-062651d23a84', 
vds='Host[webdev3.dev.j2noc.com,85f43ad0-bba8-46af-97db-062651d23a84]', 
rollbackOnFailure='true', connectivityTimeout='120', 
networks='[HostNetwork:{defaultRoute='false', bonding='false', 
networkName='V102_dev', nicName='enp4s0f0', vlan='482', mtu='0',
 vmNetwork='true', stp='false', properties='[]', 
ipv4BootProtocol='NONE', ipv4Address='null', ipv4Netmask='null
', ipv4Gateway='null', ipv6BootProtocol='NONE', ipv6Address='null', 
ipv6Prefix='null', ipv6Gateway='null', swit

chType='LEGACY'},


Where would I look for more info?

Another error that is probably related is when I open Setup Host Network 
and click on the edit pencil I get an error: (ui.log)


2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Permutation name: EBD94055CA35ABB08F35A7613B98C193
2017-02-21 16:33:09,486 ERROR 
[org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] 
(default task-1) [] Uncaught exception: 
com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)

 __gwt$exception: : Cannot read property 'c' of null
at Unknown.Ev(webadmin-0.js@25078)
at Unknown.Mv(webadmin-0.js@41)
at Unknown.X7(webadmin-0.js@19)
at Unknown.$7(webadmin-0.js@19)
at Unknown.i7(webadmin-0.js@117)
...
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: : Cannot read property 'c' of null


Did I miss something in the upgrade?


ovirt-engine-4.0.3-1.el7.centos.noarch
vdsm-4.18.11-1.el7.centos.x86_64

Thanks.

--

'ovirt-engine' and component 'Frontend.WebAdmin'

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


[ovirt-users] Ovirt engine disk size

2017-02-21 Thread rightkicktech.gmail.com
Hi all,

I have setup self hosted engine using ovirt v4.1 on two hosts for testing. The 
default engine image downloaded has a disk of 10G. How I can increase the disk 
size of the engine? 

Thanx,
Alex


-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] ETL service sampling has encountered an error

2017-02-21 Thread Christophe TREFOIS
Dear all,

Since upgrading to 4.0.6, we see this error in the engine events tab and were 
wondering how to fix it.

ovirt-engine-dwh.log

—
2017-02-20 
22:01:00|zPHx4s|6nXgTp|ygadfe|OVIRT_ENGINE_DWH|SampleTimeKeepingJob|Default|5|tWarn|tWarn_1|Can
 not sample data, oVirt Engine is not updating the statistics. Please check 
your oVirt Engine status.|9704
—

And in engine log the only error I see (repeated) since yesterday is

65366:2017-02-21 22:13:34,357 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder] 
(DefaultQuartzScheduler10) [2dc75859] null architecture type, replacing with 
x86_64, %s

Any advice on where to start is welcome.

Kind regards,
Christophe
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Nir Soffer
On Tue, Feb 21, 2017 at 7:25 PM, Gianluca Cecchi
 wrote:
> On Tue, Feb 21, 2017 at 6:10 PM, Nir Soffer  wrote:
>>
>> This is caused by active lvs on the remove storage domains that were not
>> deactivated during the removal. This is a very old known issue.
>>
>> You have remove the remove device mapper entries - you can see the devices
>> using:
>>
>> dmsetup status
>>
>> Then you can remove the mapping using:
>>
>> dmsetup remove device-name
>>
>> Once you removed the stale lvs, you will be able to remove the multipath
>> device and the underlying paths, and lvm will not complain about read
>> errors.
>>
>> Nir
>
>
> OK Nir, thanks for advising.
>
> So what I run with success on the 2 hosts
>
> [root@ovmsrv05 vdsm]# for dev in $(dmsetup status | grep
> 900b1853--e192--4661--a0f9--7c7c396f6f49 | cut -d ":" -f 1)
> do
>dmsetup remove $dev
> done
> [root@ovmsrv05 vdsm]#
>
> and now I can run
>
> [root@ovmsrv05 vdsm]# multipath -f 3600a0b8000299902cd3c5501458f
> [root@ovmsrv05 vdsm]#
>
> Also, with related names depending on host,
>
> previous maps to single devices were for example in ovmsrv05:
>
> 3600a0b8000299902cd3c5501458f dm-4 IBM ,1814  FAStT
> size=2.0T features='2 pg_init_retries 50' hwhandler='1 rdac' wp=rw
> |-+- policy='service-time 0' prio=0 status=enabled
> | |- 0:0:0:2 sdb8:16  failed undef running
> | `- 1:0:0:2 sdh8:112 failed undef running
> `-+- policy='service-time 0' prio=0 status=enabled
>   |- 0:0:1:2 sdg8:96  failed undef running
>   `- 1:0:1:2 sdn8:208 failed undef running
>
> And removal of single path devices:
>
> [root@ovmsrv05 root]# for dev in sdb sdh sdg sdn
> do
>   echo 1 > /sys/block/${dev}/device/delete
> done
> [root@ovmsrv05 vdsm]#
>
> All clean now... ;-)

Great!

I think we should have a script doing all these steps.

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


[ovirt-users] Questions about network implementation

2017-02-21 Thread Ben Kincaid
Hi List,

I am currently in the process of evaluating several KVM management
packages in order to replace some old Vsphere.

I have been running up test labs with the following:

* oVirt
* OpenNebula
* Cloudstack
* Proxmox
* Ganeti

While I am more than happy to script up a few CLI tools and interact
with Libvirt directly, that isn’t going to work for most end users of
this infrastructure.

I am running in to a bit of a challenge around the networking aspect
of what I am trying to create here, since most of these management
tools assume you are building an all-in-one box deployment, or you
manage your own network infrastructure in your datacenter.

We have 6 soon to be 8 boxes in a remote DC, and we don’t have any
flexibility around the networking.

Each box has one NIC, with a public IP, and we have a couple of /27
address ranges to use.  We need to specify which port on the switch
that /27 will be going to.

So what I would like to do is build a private address network across
all 8 boxes, either using something like PeerVPN / Tinc or the new VPN
features built in to Vswitch, I would then put that on vmbr1 for
example.

Vmbr0 would be the public internet port on each box, and on one box I
would run up an instance of PFSense or similar in a VM which I would
route the /27’s to and then forward them to IPs on the internal IP
pool.

Does oVirt have the ability to manage a network structure such as
this, and if so how might I go about it? I've had a read through the
docs but couldn't work out how I'd build this type of structure in
oVirt.

Thanks for such a great peace of software, and I appreciate any
suggestions or advice anyone can offer on this issue.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 6:10 PM, Nir Soffer  wrote:

> This is caused by active lvs on the remove storage domains that were not
> deactivated during the removal. This is a very old known issue.
>
> You have remove the remove device mapper entries - you can see the devices
> using:
>
> dmsetup status
>
> Then you can remove the mapping using:
>
> dmsetup remove device-name
>
> Once you removed the stale lvs, you will be able to remove the multipath
> device and the underlying paths, and lvm will not complain about read
> errors.
>
> Nir
>

OK Nir, thanks for advising.

So what I run with success on the 2 hosts

[root@ovmsrv05 vdsm]# for dev in $(dmsetup status | grep
900b1853--e192--4661--a0f9--7c7c396f6f49 | cut -d ":" -f 1)
do
   dmsetup remove $dev
done
[root@ovmsrv05 vdsm]#

and now I can run

[root@ovmsrv05 vdsm]# multipath -f 3600a0b8000299902cd3c5501458f
[root@ovmsrv05 vdsm]#

Also, with related names depending on host,

previous maps to single devices were for example in ovmsrv05:

3600a0b8000299902cd3c5501458f dm-4 IBM ,1814  FAStT
size=2.0T features='2 pg_init_retries 50' hwhandler='1 rdac' wp=rw
|-+- policy='service-time 0' prio=0 status=enabled
| |- 0:0:0:2 sdb8:16  failed undef running
| `- 1:0:0:2 sdh8:112 failed undef running
`-+- policy='service-time 0' prio=0 status=enabled
  |- 0:0:1:2 sdg8:96  failed undef running
  `- 1:0:1:2 sdn8:208 failed undef running

And removal of single path devices:

[root@ovmsrv05 root]# for dev in sdb sdh sdg sdn
do
  echo 1 > /sys/block/${dev}/device/delete
done
[root@ovmsrv05 vdsm]#

All clean now... ;-)

Thanks again,

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


Re: [ovirt-users] VMs HA with cinder volumes

2017-02-21 Thread Nir Soffer
On Tue, Feb 21, 2017 at 3:20 PM, Matteo Dacrema  wrote:
> Hi Nir,
>
> thank you.
> So, can I use a Ceph backed VM with a lease on gluster?

Should work.

> Also if I detach network from the node hosting the VMs it will not migrated
> to another host.

If you have a lease, detaching the network used to access the leases will
cause sanlock to terminate the vm and expire the lease. In this case the
system should start the vm on another host.

Note that if you have multiple networks, and the network used by the vm
disks is different from the network used to access the leases, all this may
not work in a useful way.

Either the leases will not be accessible while the vm disks are accessible,
leading to killing a good working vm, or the vm disk are not accessible,
pausing the vm, but since the leases are still accessible, the vm will not
release the lease and the system will not be able to start the vm elsewhere.

Maybe you can expose some of the ceph storage using cephfs for the leases?
This will make it more likely that the leases storage domain will fail
when there
is some issue with your ceph cluster.

Another option is to expose ceph block device using iscsi, and use this iscsi
storage domain for the leases. But note that this makes your iscsi gateway
host a single point on failure.

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


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Nir Soffer
On Tue, Feb 21, 2017 at 7:06 PM, Gianluca Cecchi
 wrote:
> The id of the removed storage domain was
> 900b1853-e192-4661-a0f9-7c7c396f6f49 and on the not yet reboted hosts I get
> this
> The multipath device was 3600a0b8000299902cd3c5501458f
>
> With pvs command I get this errors related to them:
>
> [root@ovmsrv06 ~]# pvs
>   /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of 4096
> at 0: Input/output error
>   /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of 4096
> at 2199023190016: Input/output error
>   /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of 4096
> at 2199023247360: Input/output error
>   /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of 4096
> at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0 of
> 4096 at 536805376: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0 of
> 4096 at 536862720: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0 of
> 4096 at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
> 4096 at 134152192: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
> 4096 at 134209536: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
> 4096 at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
> 4096 at 1073676288: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
> 4096 at 1073733632: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
> 4096 at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
> 4096 at 2147418112: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
> 4096 at 2147475456: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
> 4096 at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of 4096
> at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of 4096
> at 134152192: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of 4096
> at 134209536: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of 4096
> at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
> 4096 at 134152192: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
> 4096 at 134209536: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
> 4096 at 4096: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
> 4096 at 0: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
> 4096 at 1073676288: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
> 4096 at 1073733632: Input/output error
>   /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
> 4096 at 4096: Input/output error
>   PVVG
> Fmt  Attr PSize  PFree
>   /dev/cciss/c0d0p2 cl
> lvm2 a--  67.33g0
>   /dev/mapper/3600a0b8000299aa8d08b55014119
> 922b5269-ab56-4c4d-838f-49d33427e2ab lvm2 a--   4.00t 3.49t
> [root@ovmsrv06 ~]#
>
> How to clean?

This is caused by active lvs on the remove storage domains that were not
deactivated during the removal. This is a very old known issue.

You have remove the remove device mapper entries - you can see the devices
using:

dmsetup status

Then you can remove the mapping using:

dmsetup remove device-name

Once you removed the stale lvs, you will be able to remove the multipath
device and the underlying paths, and lvm will not complain about read errors.

Nir

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

Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Gianluca Cecchi
The id of the removed storage domain was
900b1853-e192-4661-a0f9-7c7c396f6f49 and on the not yet reboted hosts I get
this
The multipath device was 3600a0b8000299902cd3c5501458f

With pvs command I get this errors related to them:

[root@ovmsrv06 ~]# pvs
  /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of
4096 at 0: Input/output error
  /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of
4096 at 2199023190016: Input/output error
  /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of
4096 at 2199023247360: Input/output error
  /dev/mapper/3600a0b8000299902cd3c5501458f: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0
of 4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0
of 4096 at 536805376: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0
of 4096 at 536862720: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/metadata: read failed after 0
of 4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
4096 at 134152192: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
4096 at 134209536: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/outbox: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
4096 at 1073676288: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
4096 at 1073733632: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/xleases: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
4096 at 2147418112: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
4096 at 2147475456: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/leases: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of
4096 at 134152192: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of
4096 at 134209536: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/ids: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
4096 at 134152192: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
4096 at 134209536: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/inbox: read failed after 0 of
4096 at 4096: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
4096 at 0: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
4096 at 1073676288: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
4096 at 1073733632: Input/output error
  /dev/900b1853-e192-4661-a0f9-7c7c396f6f49/master: read failed after 0 of
4096 at 4096: Input/output error
  PVVG
  Fmt  Attr PSize  PFree
  /dev/cciss/c0d0p2 cl
  lvm2 a--  67.33g0
  /dev/mapper/3600a0b8000299aa8d08b55014119
922b5269-ab56-4c4d-838f-49d33427e2ab lvm2 a--   4.00t 3.49t
[root@ovmsrv06 ~]#

How to clean?

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


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 5:42 PM, Andrea Ghelardi 
wrote:

> Hello Gianluca,
>
> I have ISCSI SAN here and not FC but process should be very similar.
>
> Correct operation is
>
> Storage maintenance -> detach -> remove
>
>
>
> Once you have removed the storage, Ovirt will release the sanlock.
>
> Note that your server will still “see” the device and multipath will still
> list it as active.
>
>
>
> You can now unmap LUN using your SAN manager.
>
> If your multipath is correctly configured, device will “fail” but nothing
> else (multipath and server won’t hang).
>
> You will be able to perform basic list operations via server shell without
> experiencing freeze or locks.*
>

Yes, but /var/log/messages fills up with multipath errors.
This is not desirable


> Ovirt will continue to scan new devices so you won’t be able to manually
> remove them until you unmap devices from SAN manager.
>
>
>
> If you need to remove devices manually, it is advised to follow this guide.
>
> https://access.redhat.com/documentation/en-US/Red_Hat_
> Enterprise_Linux/6/html/Storage_Administration_Guide/removing_devices.html
>
>
>
> * If you do face command freeze etc, re-enable LUN mappings and check your
> multipath.conf
>

 Yes, but the problem is that I receive error for the LUN previously
configured as storage domain.
I presume sum stale devices of kind "dm-??" have remained somewhere.

I could reboot one ot the 3 hosts and verified that now the layout is
correct on it.
But I can't easily reboot just now the remaining 2 hosts, so it would be
better to find what forces the multipath device in use

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


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Andrea Ghelardi
Hello Gianluca,
I have ISCSI SAN here and not FC but process should be very similar.
Correct operation is
Storage maintenance -> detach -> remove

Once you have removed the storage, Ovirt will release the sanlock.
Note that your server will still “see” the device and multipath will still list 
it as active.

You can now unmap LUN using your SAN manager.
If your multipath is correctly configured, device will “fail” but nothing else 
(multipath and server won’t hang).
You will be able to perform basic list operations via server shell without 
experiencing freeze or locks.*
Ovirt will continue to scan new devices so you won’t be able to manually remove 
them until you unmap devices from SAN manager.

If you need to remove devices manually, it is advised to follow this guide.
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/removing_devices.html

* If you do face command freeze etc, re-enable LUN mappings and check your 
multipath.conf

Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Gianluca Cecchi
Sent: Tuesday, February 21, 2017 4:19 PM
To: users 
Subject: [ovirt-users] best way to remove SAN lun

Hello,
currently I have a cluster of 3 hosts where each one has FC SAN connectivity to 
4 LUNs: 3 are already configured as storage domains (1TB, 2TB, 4TB), one is 
free, not allocated.
See here for screenshot:
https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs/view?usp=sharing

At the moment the command "multipath -l" run on hosts shows all the 4 LUNs.

Now I want to do 2 things at storage array level:

- remove the 2TB storage domain LUN
- remove the 20Gb LUN not yet allocated

What is the correct workflow, supposing I have already emptied the 2TB from VM 
disks ad such?
Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at the 
end "remove"?

I think I continue to see 4 LUNs at this point, correct?

Now I proceed with removal of lun at storage array level?

Should I select an SD line and then "Scan disks" to see refresh the SAN and see 
in multipath only 2 of them at the end?
Or any manual command at host level before removal from array?

Thanks in advance

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


Re: [ovirt-users] gpu passthrough

2017-02-21 Thread Darrell Budic
I think you need to click the “down arrow” under the top box, should move the 
GPU into the “Host Devices to be attached” box, then hit Ok to make the 
assignment.

> On Feb 21, 2017, at 3:26 AM, qinglong.d...@horebdata.cn wrote:
> 
> Hi, all:
> I want to assign the gpu card of one host to the vm which is running 
> in the host.
> 
> After I click "OK", I got nothing. Anyone can help? Thanks!
> ___
> 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] best way to remove SAN lun

2017-02-21 Thread Nir Soffer
On Tue, Feb 21, 2017 at 6:12 PM, Adam Litke  wrote:
>
>
> On Tue, Feb 21, 2017 at 10:19 AM, Gianluca Cecchi
>  wrote:
>>
>> Hello,
>> currently I have a cluster of 3 hosts where each one has FC SAN
>> connectivity to 4 LUNs: 3 are already configured as storage domains (1TB,
>> 2TB, 4TB), one is free, not allocated.
>> See here for screenshot:
>>
>> https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs/view?usp=sharing
>>
>> At the moment the command "multipath -l" run on hosts shows all the 4
>> LUNs.
>>
>> Now I want to do 2 things at storage array level:
>>
>> - remove the 2TB storage domain LUN
>> - remove the 20Gb LUN not yet allocated
>>
>> What is the correct workflow, supposing I have already emptied the 2TB
>> from VM disks ad such?
>> Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at
>> the end "remove"?
>
>
> Yes, these should be your first steps.
>
>>
>> I think I continue to see 4 LUNs at this point, correct?

We do not manage devices, so this must be performed manually by
the system administrator.

To remove devices, you have to:

1. On the storage server, unzone the devices so the host(s) will not see them
This must be done before you remove the multipath device and
paths, otherwise
vdsm will discover the device again during the periodic scsi/fc rescans.

2. On all hosts ,remove the multipath device and the underlying scsi devices,
as explained here:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/removing-path-to-storage-device.html

Nir

>
>
> Yes.
>
>>
>> Now I proceed with removal of lun at storage array level?
>>
>> Should I select an SD line and then "Scan disks" to see refresh the SAN
>> and see in multipath only 2 of them at the end?
>> Or any manual command at host level before removal from array?
>
>
> After removing the storage domains you should be able to remove the luns.  I
> am not extremely familiar with the multipath and low-level scsi commands but
> I would try the scan disks button and if the luns are not gone from your
> host you can manually remove them.  I think that involves removing the
> device from multipath (multipath -d) and deleting it from the scsi
> subsystem.
>
>> Thanks in advance
>
>
> Hope this helped 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] best way to remove SAN lun

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 5:12 PM, Adam Litke  wrote:

>
>
> On Tue, Feb 21, 2017 at 10:19 AM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> Hello,
>> currently I have a cluster of 3 hosts where each one has FC SAN
>> connectivity to 4 LUNs: 3 are already configured as storage domains (1TB,
>> 2TB, 4TB), one is free, not allocated.
>> See here for screenshot:
>> https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs
>> /view?usp=sharing
>>
>> At the moment the command "multipath -l" run on hosts shows all the 4
>> LUNs.
>>
>> Now I want to do 2 things at storage array level:
>>
>> - remove the 2TB storage domain LUN
>> - remove the 20Gb LUN not yet allocated
>>
>> What is the correct workflow, supposing I have already emptied the 2TB
>> from VM disks ad such?
>> Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at
>> the end "remove"?
>>
>
> Yes, these should be your first steps.
>
>
>> I think I continue to see 4 LUNs at this point, correct?
>>
>
> Yes.
>
>
>> Now I proceed with removal of lun at storage array level?
>>
>> Should I select an SD line and then "Scan disks" to see refresh the SAN
>> and see in multipath only 2 of them at the end?
>> Or any manual command at host level before removal from array?
>>
>
> After removing the storage domains you should be able to remove the luns.
> I am not extremely familiar with the multipath and low-level scsi commands
> but I would try the scan disks button and if the luns are not gone from
> your host you can manually remove them.  I think that involves removing the
> device from multipath (multipath -d) and deleting it from the scsi
> subsystem.
>
> Thanks in advance
>>
>
> Hope this helped you.
>
>
Hello,
the "Scan Disks" seems related to the particular storage domain selected in
storage tab, not overall FC SAN connectivity...
If I then select "manage domain", it still shows the now missing disks with
an exclamation mark aside
I try to follow standard RH EL 7 way for removal:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/removing_devices.html

I can remove at os level the 20Gb lun that was never used in oVirt, but for
the previous 2Tb storage domain related LUN I get the error that is in
use

[root@ovmsrv06 ~]# multipath -f 3600a0b8000299902cd3c5501458f
Feb 21 17:25:58 | 3600a0b8000299902cd3c5501458f: map in use
Feb 21 17:25:58 | failed to remove multipath map
3600a0b8000299902cd3c5501458f
[root@ovmsrv06 ~]#

[root@ovmsrv06 ~]# fuser /dev/mapper/3600a0b8000299902cd3c5501458f
[root@ovmsrv06 ~]#


[root@ovmsrv06 ~]# ll /dev/mapper/3600a0b8000299902cd3c5501458f
lrwxrwxrwx. 1 root root 7 Feb 21 17:25
/dev/mapper/3600a0b8000299902cd3c5501458f -> ../dm-4

[root@ovmsrv06 ~]# fuser /dev/dm-4
[root@ovmsrv06 ~]#

Strange thing is that vgs command returns differrent value on th three hosts

[root@ovmsrv05 vdsm]# vgs
  VG   #PV #LV #SN Attr   VSize  VFree
  922b5269-ab56-4c4d-838f-49d33427e2ab   1  22   0 wz--n-  4.00t 3.49t
  cl_ovmsrv051   3   0 wz--n- 67.33g0
[root@ovmsrv05 vdsm]#


[root@ovmsrv06 ~]# vgs
  VG   #PV #LV #SN Attr   VSize  VFree
  922b5269-ab56-4c4d-838f-49d33427e2ab   1  22   0 wz--n-  4.00t 3.49t
  cl 1   3   0 wz--n- 67.33g0
[root@ovmsrv06 ~]#

[root@ovmsrv07 vdsm]# vgs
  VG   #PV #LV #SN Attr   VSize  VFree
  900b1853-e192-4661-a0f9-7c7c396f6f49   1  10   0 wz--n-  2.00t 1.76t
  922b5269-ab56-4c4d-838f-49d33427e2ab   1  27   0 wz--n-  4.00t 3.34t
  cl 1   3   0 wz--n- 67.33g0
[root@ovmsrv07 vdsm]#

So no host as a VG the 1TB storage domain and In particular ovmsrv07 has a
VG of 2TB that I suspect was the previosu storage domain

[root@ovmsrv07 vdsm]# lvs 900b1853-e192-4661-a0f9-7c7c396f6f49
  LV   VG
Attr   LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  35b8834e-a429-4223-b293-51d562b6def4 900b1853-e192-4661-a0f9-7c7c396f6f49
-wi--- 128.00m
  7ed43974-1039-4a68-a8b3-321e7594fe4c 900b1853-e192-4661-a0f9-7c7c396f6f49
-wi--- 240.00g
  d7f6be37-0f6c-43e3-b0af-a511fc59c842 900b1853-e192-4661-a0f9-7c7c396f6f49
-wi--- 128.00m
  ids  900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a- 128.00m
  inbox900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a- 128.00m
  leases   900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a-   2.00g
  master   900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a-   1.00g
  metadata 900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a- 512.00m
  outbox   900b1853-e192-4661-a0f9-7c7c396f6f49
-wi-a- 128.00m
  xleases  

Re: [ovirt-users] Troubles after resizing the iscsi storage.

2017-02-21 Thread Nir Soffer
On Tue, Feb 21, 2017 at 5:57 PM, Gianluca Cecchi
 wrote:
> On Tue, Feb 21, 2017 at 4:46 PM, Nir Soffer  wrote:
>>
>>
>> The resize button should be in the "Additional size" column when a LUN
>> can be resized.
>>
>> Vdsm reports the size of each LUN and the size of the PV. If the LUN
>> and the PV can be resized you should see the button.
>>
>> Nir
>>
>
> Perhaps he can select the storage domain in storage tab and "Scan Disks" to
> induce an iscsi rescan on hosts and then in manage domain see this
> additional column?

I don't know what "scan disks", does, but it is not required.

When you open the "new/manage domain" dialog we fetch the device
list from vdsm (getDeviceList) and this perform all the steps needed to
detect resized devices.

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


Re: [ovirt-users] best way to remove SAN lun

2017-02-21 Thread Adam Litke
On Tue, Feb 21, 2017 at 10:19 AM, Gianluca Cecchi  wrote:

> Hello,
> currently I have a cluster of 3 hosts where each one has FC SAN
> connectivity to 4 LUNs: 3 are already configured as storage domains (1TB,
> 2TB, 4TB), one is free, not allocated.
> See here for screenshot:
> https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs/
> view?usp=sharing
>
> At the moment the command "multipath -l" run on hosts shows all the 4 LUNs.
>
> Now I want to do 2 things at storage array level:
>
> - remove the 2TB storage domain LUN
> - remove the 20Gb LUN not yet allocated
>
> What is the correct workflow, supposing I have already emptied the 2TB
> from VM disks ad such?
> Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at
> the end "remove"?
>

Yes, these should be your first steps.


> I think I continue to see 4 LUNs at this point, correct?
>

Yes.


> Now I proceed with removal of lun at storage array level?
>
> Should I select an SD line and then "Scan disks" to see refresh the SAN
> and see in multipath only 2 of them at the end?
> Or any manual command at host level before removal from array?
>

After removing the storage domains you should be able to remove the luns.
I am not extremely familiar with the multipath and low-level scsi commands
but I would try the scan disks button and if the luns are not gone from
your host you can manually remove them.  I think that involves removing the
device from multipath (multipath -d) and deleting it from the scsi
subsystem.

Thanks in advance
>

Hope this helped you.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Troubles after resizing the iscsi storage.

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 4:46 PM, Nir Soffer  wrote:

>
> The resize button should be in the "Additional size" column when a LUN
> can be resized.
>
> Vdsm reports the size of each LUN and the size of the PV. If the LUN
> and the PV can be resized you should see the button.
>
> Nir
>
>
Perhaps he can select the storage domain in storage tab and "Scan Disks" to
induce an iscsi rescan on hosts and then in manage domain see this
additional column?
Just a guess...
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] best way to remove SAN lun

2017-02-21 Thread Gianluca Cecchi
Hello,
currently I have a cluster of 3 hosts where each one has FC SAN
connectivity to 4 LUNs: 3 are already configured as storage domains (1TB,
2TB, 4TB), one is free, not allocated.
See here for screenshot:
https://drive.google.com/file/d/0BwoPbcrMv8mvRVZZMTlNcTQ5MGs/view?usp=sharing

At the moment the command "multipath -l" run on hosts shows all the 4 LUNs.

Now I want to do 2 things at storage array level:

- remove the 2TB storage domain LUN
- remove the 20Gb LUN not yet allocated

What is the correct workflow, supposing I have already emptied the 2TB from
VM disks ad such?
Select 2Tb SD, then Datacenter subtab, then "maintenance", detach" and at
the end "remove"?

I think I continue to see 4 LUNs at this point, correct?

Now I proceed with removal of lun at storage array level?

Should I select an SD line and then "Scan disks" to see refresh the SAN and
see in multipath only 2 of them at the end?
Or any manual command at host level before removal from array?

Thanks in advance

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


Re: [ovirt-users] Unable to set up host networks

2017-02-21 Thread Michael Watters
On 02/21/2017 03:09 AM, Dan Kenigsberg wrote:
> On Mon, Feb 20, 2017 at 6:00 PM, Michael Watters  wrote:
>> I am building a new ovirt host running Ovirt 4.0 however I am receiving
>> UI errors when I attempt to define the host networks in the engine.  The
>> engine logs show errors as follows.
>>
>> 2017-02-20 10:53:44,478 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
>> (default task-358) [653da31a] Exception:
>> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
>> VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS,
>> error = Error parsing bonding options: 'miimon=1 updelay=0 downdelay-0
>> mode=802.3ad', code = 25
> Why is there a minus sign in "downdelay-0"? How did it get there? We
> require a space-separated key=value list. The UI should have blocked
> it in a nicer way.

That may be a typo on my part.  When building an ovirt host I always
have to set up networking manually after installing the OS and then
reconfigure the networks through the engine using the GUI. 
Unfortunately there doesn't appear to be a simpler way to set up
networking with bonded interfaces and VLAN tagging.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moving disk failed.. remained locked

2017-02-21 Thread Gianluca Cecchi
The problem itself seems related with snapshot and with the disk (430Gb in
size).

Failed to complete snapshot 'test3' creation for VM 'dbatest6'.
VDSM ovmsrv07 command HSMGetAllTasksStatusesVDS failed: Could not acquire
resource. Probably resource factory threw an exception.: ()
Snapshot 'test3' creation for VM 'dbatest6' was initiated by
admin@internal-authz.

The VM is composed by 2 disks, that are on 2 different storage domains.
I'm able to create and then delete a snapshot that includes only the first
system disk (no memory saved), but I receive the same error as in the move
disk if I try to do a snapshot including instead only the second disk
(again no memory save).
In this case the disk doesn't remain locked as it happened when trying to
move the disk...
Can it help in any way to shutdown the VM?

I should free this storage domain and this is the only disk remained before
decommission...
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] enhancement proposals

2017-02-21 Thread Yedidyah Bar David
On Tue, Feb 21, 2017 at 3:20 PM, Andrea Ghelardi 
wrote:

> Hello team, all,
>
> I would have a couple of minor but important proposal for UI change (not
> bugfixes)
>
> What is the correct workflow to follow?
>

Open bugs in bugzilla, add '[RFE]' as a prefix for the summary line, and
add "FutureFeature" in the field "Keywords".

Thanks!

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


[ovirt-users] enhancement proposals

2017-02-21 Thread Andrea Ghelardi
Hello team, all,
I would have a couple of minor but important proposal for UI change (not 
bugfixes)
What is the correct workflow to follow?

Cheers

Andrea Ghelardi

+39 050 2203 71 | www.iongroup.com | 
a.ghela...@iontrading.com
Via San Martino, 52 - 56125 Pisa - ITALY

This email and any attachments may contain information which is confidential 
and/or privileged. The information is intended exclusively for the addressee 
and the views expressed may not be official policy, but the personal views of 
the originator. If you are not the intended recipient, be aware that any 
disclosure, copying, distribution or use of the contents is prohibited. If you 
have received this email and any file transmitted with it in error, please 
notify the sender by telephone or return email immediately and delete the 
material from your computer. Internet communications are not secure and ION 
Trading is not responsible for their abuse by third parties, nor for any 
alteration or corruption in transmission, nor for any damage or loss caused by 
any virus or other defect. ION Trading accepts no liability or responsibility 
arising out of or in any way connected to this email.

[iON_HBlu_small]
Automation through innovation

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


Re: [ovirt-users] VMs HA with cinder volumes

2017-02-21 Thread Matteo Dacrema
Hi Nir,

thank you.
So, can I use a Ceph backed VM with a lease on gluster?

Also if I detach network from the node hosting the VMs it will not migrated to 
another host.


Regards
Matteo



> Il giorno 20 feb 2017, alle ore 21:58, Nir Soffer  ha 
> scritto:
> 
> On Mon, Feb 20, 2017 at 12:54 PM, Matteo Dacrema  > wrote:
> Hi all,
> 
> I’ve a setup that uses Ceph through ovirt for VM storage.
> I tested out VM HA and all works well when IPMI is reachable.
> When it’s not reachable because of network or power failure VM states switch 
> to unknown and it’s not restarted to other nodes.
> 
> Is it a specific setup that I’ve missed?
> 
> Hi Matteo,
> 
> When power management is not available, we cannot do failover to other host.
> 
> In 4.1 you can use a VM lease for your HA VM, enabling failover without power
> management.
> 
> Note that the lease cannot be on Ceph storage domain, you will have to add
> other type of storage for the leases, since we don't support leases on ceph 
> yet.
> 
> Please check the vm-leases feature page for more info:
> https://www.ovirt.org/develop/release-management/features/storage/vm-leases/ 
> 
> 
> Nir
>  
> 
> Thank you
> Regards
> Matteo
> 
> ___
> Users mailing list
> Users@ovirt.org 
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 
> 
> -- 
> Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non 
> infetto. 
> Clicca qui per segnalarlo come spam. 
>  
> Clicca qui per metterlo in blacklist 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Mirgration issues

2017-02-21 Thread Sven Achtelik
Hi,

there is a VM running, but not that one.

[root@ovirt-node02 log]#  vdsClient -s localhost list table
2e0e0da8-eaa5-44ee-8f11-f1297d149be3  14551  NAMEUp   
10.6.0.181

I even tried that after restarting host 2 and at this point I’m sure there were 
no VMs running.


Von: Fred Rolland [mailto:froll...@redhat.com]
Gesendet: Dienstag, 21. Februar 2017 13:59
An: Sven Achtelik 
Cc: users 
Betreff: Re: [ovirt-users] Mirgration issues

I see the following in the source VDSM log :

2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to 
qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri 
tcp://172.16.4.19 (migration:453)
2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm] 
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain 'DATA_p' 
is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076 
(migration:265)

libvirtError: operation failed: domain 'DATA_p' is already defined with uuid 
8733d4a6-0844-4955-804f-6b919e93e076
Can you check on host 2 if you have any VM already running there ?
You can use :virsh list

On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik 
> wrote:
Hi All,

I’m having issues with migrating a VM. I have a 3 Host cluster and the VM is 
able to migrate between host 1 and 3, but not to host 2.  I don’t know why and 
I tried figuring this out with the log files and had no luck. All other VMs 
migrate to the host 2 without any issues.

If you have some advice for me that would help a lot.


Thank you,

Sven


___
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] Mirgration issues

2017-02-21 Thread Fred Rolland
I see the following in the source VDSM log :

2017-02-21 05:53:28,067 INFO  (migsrc/8733d4a6) [virt.vm]
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') starting migration to
qemu+tls://ovirt-node02.mgmt.lan.company.lan/system with miguri tcp://
172.16.4.19 (migration:453)
2017-02-21 05:53:28,262 ERROR (migsrc/8733d4a6) [virt.vm]
(vmId='8733d4a6-0844-4955-804f-6b919e93e076') operation failed: domain
'DATA_p' is already defined with uuid 8733d4a6-0844-4955-804f-6b919e93e076
(migration:265)

libvirtError: operation failed: domain 'DATA_p' is already defined with
uuid 8733d4a6-0844-4955-804f-6b919e93e076

Can you check on host 2 if you have any VM already running there ?
You can use :virsh list

On Tue, Feb 21, 2017 at 2:15 PM, Sven Achtelik 
wrote:

> Hi All,
>
>
>
> I’m having issues with migrating a VM. I have a 3 Host cluster and the VM
> is able to migrate between host 1 and 3, but not to host 2.  I don’t know
> why and I tried figuring this out with the log files and had no luck. All
> other VMs migrate to the host 2 without any issues.
>
>
>
> If you have some advice for me that would help a lot.
>
>
>
>
>
> Thank you,
>
>
>
> Sven
>
>
>
> ___
> 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] gpu passthrough

2017-02-21 Thread Martin Polednik

On 21/02/17 17:26 +0800, qinglong.d...@horebdata.cn wrote:

Hi, all:
   I want to assign the gpu card of one host to the vm which is running in 
the host.
   After I click "OK", I got nothing. Anyone can help? Thanks!


Hi,

Please define nothing. Did the VM not start? Or has it started but
there was no GPU output?

In the second case, it's still possible to use SPICE and list devices
in the VM (depends on the OS) to see whether the GPU is there -- it
could be that it's present but doesn't output anything.


___
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.1 Second Test compose

2017-02-21 Thread Sandro Bonazzola
On Mon, Feb 20, 2017 at 7:52 PM, Jeff Burns  wrote:

> Nik,
>
> The link was ok, but the text as you noted was missing the hyphen.   I
> corrected and submitted the following for update.
> https://github.com/oVirt/ovirt-site/pull/811
>

Thanks Jeff, really appreciated!


>
> Cheers,
> Jeff
>
> ___
> 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] moving disk failed.. remained locked

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 11:47 AM, Fred Rolland  wrote:

> Add before the command (with your db password): PGPASSWORD=engine
>
> for example:
> PGPASSWORD=engine /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -T
>
> PGPASSWORD=engine /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
> -t disk -u engine -q
>
>
>From taskcleaner, if I use the "-T" option I get error

[root@ovmgr1 ovirt-engine]# PGPASSWORD=my_pwd
/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -d engine -u engine -T
 t
ERROR:  column "job_id" does not exist
LINE 1: ...created_at,status,return_value,return_value_class,job_id,ste...
 ^
FATAL: Cannot execute sql command: --command=SELECT
command_id,command_type,root_command_id,command_parameters,command_params_class,created_at,status,return_value,return_value_class,job_id,step_id,executed
FROM GetAllCommandsWithRunningTasks();

I see the function GetAllCommandsWithRunningTasks as defined only
in /usr/share/ovirt-engine/setup/dbutils/taskcleaner_sp_3_5.sql
and it seems it makes query on commands_entities, but if I directly go
inside db, the table doesn't contain indeed a job_id column

I'm on 4.1 upgraded from 4.0.6

engine=# \d command_entities
  Table "public.command_entities"
Column |   Type   |Modifiers

---+--+-
 command_id| uuid | not null
 command_type  | integer  | not null
 root_command_id   | uuid |
 command_parameters| text |
 command_params_class  | character varying(256)   |
 created_at| timestamp with time zone |
 status| character varying(20)| default NULL::character
varying
 callback_enabled  | boolean  | default false
 callback_notified | boolean  | default false
 return_value  | text |
 return_value_class| character varying(256)   |
 executed  | boolean  | default false
 user_id   | uuid |
 parent_command_id | uuid |
 data  | text |
 engine_session_seq_id | bigint   |
 command_context   | text |
Indexes:
"pk_command_entities" PRIMARY KEY, btree (command_id)
"idx_root_command_id" btree (root_command_id) WHERE root_command_id IS
NOT NULL
Referenced by:
TABLE "command_assoc_entities" CONSTRAINT
"fk_coco_command_assoc_entity" FOREIGN KEY (command_id) REFERENCES comm
and_entities(command_id) ON DELETE CASCADE

engine=#

Anyway after unlocking the disk and retrying the move, I get the same error
while creating auto snapshot... the first problem on host (that is a
different host from the chosen yesterday) seems

MetaDataKeyNotFoundError: Meta Data key not found error: ("Missing metadata
key: 'DOMAIN': found: {'NONE':


2017-02-21 11:38:58,985 INFO  (jsonrpc/0) [dispatcher] Run and protect:
createVolume(sdUUID=u'900b1853-e192-4661-a0f9-7c7c396f6f49',
spUUID=u'588237b8-0031-02f6-035d-0136',
imgUUID=u'f0b5a0e4-ee5d-44a7-ba07-08285791368a', size=u'461708984320',
volFormat=4, preallocate=2, diskType=2,
volUUID=u'c39c3d9f-dde8-45ab-b4a9-7c3b45c6391d', desc=u'',
srcImgUUID=u'f0b5a0e4-ee5d-44a7-ba07-08285791368a',
srcVolUUID=u'7ed43974-1039-4a68-a8b3-321e7594fe4c', initialSize=None)
(logUtils:49)
2017-02-21 11:38:58,987 INFO  (jsonrpc/0) [IOProcessClient] Starting client
ioprocess-6269 (__init__:330)
2017-02-21 11:38:59,006 INFO  (ioprocess/32170) [IOProcess] Starting
ioprocess (__init__:452)
2017-02-21 11:38:59,040 INFO  (jsonrpc/0) [dispatcher] Run and protect:
createVolume, Return response: None (logUtils:52)
2017-02-21 11:38:59,053 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC call
Volume.create succeeded in 0.07 seconds (__init__:515)
2017-02-21 11:38:59,054 INFO  (tasks/9) [storage.ThreadPool.WorkerThread]
START task 08d7797a-af46-489f-ada0-c70bf4359366 (cmd=>, args=None)
(threadPool:208)
2017-02-21 11:38:59,150 WARN  (tasks/9) [storage.ResourceManager] Resource
factory failed to create resource
'01_img_900b1853-e192-4661-a0f9-7c7c396f6f49.f0b5a0e4-ee5d-44a7-ba07-08285791368a'.
Canceling request. (resourceManager:542)
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/resourceManager.py", line 538, in
registerResource
obj = namespaceObj.factory.createResource(name, lockType)
  File "/usr/share/vdsm/storage/resourceFactories.py", line 190, in
createResource
lockType)
  File "/usr/share/vdsm/storage/resourceFactories.py", line 119, in
__getResourceCandidatesList
imgUUID=resourceName)
  File "/usr/share/vdsm/storage/image.py", line 220, in getChain
if srcVol.isLeaf():
  File "/usr/share/vdsm/storage/volume.py", line 1261, in isLeaf

[ovirt-users] Need documentation

2017-02-21 Thread Александр Пивушков
Hello, tell me where to find the official documentation for installing and 
configuring availability and fault tolerance oVirt?
Especially interested in the possibility of physical disconnection from the 
host power supply . fencing.
We plan to buy equipment for the switch-off - PDU.
Where can I find a list of equipment (PDU),   with which oVirt works?


Александр Пивушков___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moving disk failed.. remained locked

2017-02-21 Thread Fred Rolland
Add before the command (with your db password): PGPASSWORD=engine

for example:
PGPASSWORD=engine /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -T

PGPASSWORD=engine /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t
disk -u engine -q

On Tue, Feb 21, 2017 at 12:23 PM, Gianluca Cecchi  wrote:

>
> I see here utilitues:
> https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities/
>
> In particular unlock_entity.sh that should be of help in my case, as I see
> here:
> http://lists.ovirt.org/pipermail/users/2015-April/032576.html
>
> New path in 4.1 is now
> /usr/share/ovirt-engine/setup/dbutils/
> and not
> /usr/share/ovirt-engine/dbscripts
>
> Question:
> How can I verify that "no jobs are still running over it"?
> Is taskcleaner.sh the utility to crosscheck jobs?
>
> In this case how do I provide a password for it?
>
> [root@ovmgr1 ~]# /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -d
> engine -u engine
> psql: fe_sendauth: no password supplied
> FATAL: Cannot execute sql command: --command=select exists (select * from
> information_schema.tables where table_schema = 'public' and table_name =
> 'command_entities');
> psql: fe_sendauth: no password supplied
> FATAL: Cannot execute sql command: --file=/usr/share/ovirt-
> engine/setup/dbutils/taskcleaner_sp.sql
>
> [root@ovmgr1 ~]# /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -h
> Usage: /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh [options]
>
> -h- This help text.
> -v- Turn on verbosity (WARNING:
> lots of output)
> -l LOGFILE- The logfile for capturing output  (def. )
> -s HOST   - The database servername for the database  (def.
> localhost)
> -p PORT   - The database port for the database(def. 5432)
> -u USER   - The username for the database (def. )
> -d DATABASE   - The database name (def. )
> -t TASK_ID- Removes a task by its Task ID.
> -c COMMAND_ID - Removes all tasks related to the given Command Id.
> -T- Removes/Displays all commands that have running tasks
> -o- Removes/Displays all commands.
> -z- Removes/Displays a Zombie task.
> -R- Removes all tasks (use with -z to clear only zombie
> tasks).
> -r- Removes all commands (use with -T to clear only those
> with running tasks. Use with -Z to clear only commands with zombie tasks.
> -Z- Removes/Displays a command with zombie tasks.
> -C- Clear related compensation entries.
> -J- Clear related Job Steps.
> -A- Clear all Job Steps and compensation entries.
> -q- Quite mode, do not prompt for confirmation.
>
> Thanks,
> Gianluca
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] moving disk failed.. remained locked

2017-02-21 Thread Gianluca Cecchi
I see here utilitues:
https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities/

In particular unlock_entity.sh that should be of help in my case, as I see
here:
http://lists.ovirt.org/pipermail/users/2015-April/032576.html

New path in 4.1 is now
/usr/share/ovirt-engine/setup/dbutils/
and not
/usr/share/ovirt-engine/dbscripts

Question:
How can I verify that "no jobs are still running over it"?
Is taskcleaner.sh the utility to crosscheck jobs?

In this case how do I provide a password for it?

[root@ovmgr1 ~]# /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -d
engine -u engine
psql: fe_sendauth: no password supplied
FATAL: Cannot execute sql command: --command=select exists (select * from
information_schema.tables where table_schema = 'public' and table_name =
'command_entities');
psql: fe_sendauth: no password supplied
FATAL: Cannot execute sql command:
--file=/usr/share/ovirt-engine/setup/dbutils/taskcleaner_sp.sql

[root@ovmgr1 ~]# /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -h
Usage: /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh [options]

-h- This help text.
-v- Turn on verbosity (WARNING:
lots of output)
-l LOGFILE- The logfile for capturing output  (def. )
-s HOST   - The database servername for the database  (def.
localhost)
-p PORT   - The database port for the database(def. 5432)
-u USER   - The username for the database (def. )
-d DATABASE   - The database name (def. )
-t TASK_ID- Removes a task by its Task ID.
-c COMMAND_ID - Removes all tasks related to the given Command Id.
-T- Removes/Displays all commands that have running tasks
-o- Removes/Displays all commands.
-z- Removes/Displays a Zombie task.
-R- Removes all tasks (use with -z to clear only zombie
tasks).
-r- Removes all commands (use with -T to clear only those
with running tasks. Use with -Z to clear only commands with zombie tasks.
-Z- Removes/Displays a command with zombie tasks.
-C- Clear related compensation entries.
-J- Clear related Job Steps.
-A- Clear all Job Steps and compensation entries.
-q- Quite mode, do not prompt for confirmation.

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


Re: [ovirt-users] vdsm issues between engine and host

2017-02-21 Thread cmc
Hi Piotr,

Thanks for the reply. It all looks healthy now. Regarding DNS, we had
some issues with it at the time. However, I think the main issue was
NetworkManager shutting the interface down seemingly at random. I had
thought it had been disabled when I set the machine up about 5 months
ago (and it has worked fine up until then). That, together with VDSM
being enabled on the engine I can't explain. The only change I had
made was an attempt to set up a hosted engine, which I did incorrectly
by not setting the host into maintenance and doing it there (I instead
tried to set it up as a VM on the running cluster). I can't see why
this may have made the changes above, but I would not know why.
Anyway, I've read the documentation more closely rather than hurrying
through it.

Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.1858] device (enp5s0f0): state change: disconnected ->
prepare (reason 'none') [30 40 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.1860] manager: NetworkManager state is now CONNECTING
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.1867] device (enp5s0f0): state change: prepare -> config
(reason 'none') [40 50 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2071] device (enp5s0f0): state change: config -> ip-config
(reason 'none') [50 70 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2120] device (enp5s0f0): state change: ip-config ->
ip-check (reason 'none') [70 80 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2160] device (enp5s0f0): state change: ip-check ->
secondaries (reason 'none') [80 90 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2164] device (enp5s0f0): state change: secondaries ->
activated (reason 'none') [90 100 0]
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2166] manager: NetworkManager state is now CONNECTED_LOCAL
Feb 20 19:47:53 ovirt-engine NetworkManager[1061]: 
[1487620073.2889] manager: NetworkManager state is now
CONNECTED_GLOBAL

Thanks again and sorry to have wasted your time with this,

Cam

On Tue, Feb 21, 2017 at 8:59 AM, Piotr Kliczewski
 wrote:
> On Mon, Feb 20, 2017 at 9:47 PM, cmc  wrote:
>> Hi,
>>
>> Due to networking and DNS issues. our engine was offlined (it is
>> physical machine currently, will be converting it to a VM in the
>> future when time allows). When service was restored, I noticed that
>> all the VMs were listed as being in an unknown state on one host. The
>> VMs were fine, but the engine could not ascertain their status as the
>> host itself was in an unknown state. vdsm was reporting errors and was
>> not running on the engine (or at least was in status 'failed' in
>> systemd). I tried starting vdsmd on the engine but it would not start.
>> I decided to try to restart vdsmd on the host and that did allow the
>> state of the VMs to be discovered, and the engine listed the host as
>> up again. However, there are still errors with vdsmd on both the host
>> and the engine, and the engine cannot start vdsmd. I guess it is able
>> to monitor the hosts in a limited way as it says they are both up.
>> There are communication errors between one of the hosts and the
>> engine: the host is refusing connections by the look of it
>>
>> from the engine log:
>>
>> 2017-02-20 18:41:51,226Z ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
>> (DefaultQuartzScheduler2) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
>> Command 'GetCapabilitiesVDSCommand(HostName = k
>> vm-ldn-01, VdsIdAndVdsVDSCommandParametersBase:{runAsync='true',
>> hostId='e050c27f-8709-404c-b03e-59c0167a824b',
>> vds='Host[kvm-ldn-01,e050c27f-8709-404c-b03e-59c0167a824b]'})'
>> execution failed: java.net.ConnectExce
>> ption: Connection refused
>> 2017-02-20 18:41:51,226Z ERROR
>> [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
>> (DefaultQuartzScheduler2) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
>> Failure to refresh host 'kvm-ldn-01' runtime info: java.n
>> et.ConnectException: Connection refused
>> 2017-02-20 18:41:52,772Z ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
>> (DefaultQuartzScheduler6) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
>> Command 'GetAllVmStatsVDSCommand(HostName = kvm-ldn-01,
>> VdsIdVDSCommandParametersBase:{runAsync='true',
>> hostId='e050c27f-8709-404c-b03e-59c0167a824b'})' execution failed:
>> VDSGenericException: VDSNetworkException: Connection reset by peer
>> 2017-02-20 18:41:54,256Z ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
>> (DefaultQuartzScheduler7) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
>> Command 'GetCapabilitiesVDSCommand(HostName = kvm-ldn-01,
>> VdsIdAndVdsVDSCommandParametersBase:{runAsync='true',
>> hostId='e050c27f-8709-404c-b03e-59c0167a824b',
>> vds='Host[kvm-ldn-01,e050c27f-8709-404c-b03e-59c0167a824b]'})'
>> execution failed: 

Re: [ovirt-users] Memory for Engine Machine

2017-02-21 Thread Sandro Bonazzola
On Mon, Feb 20, 2017 at 9:39 PM, Roy Golan  wrote:

>
>
> On Feb 20, 2017 9:35 PM, "Doug Ingham"  wrote:
>
> 16GB is just the recommended amount of memory. The more items your Engine
> has to manage, the more memory it will consume, so whilst it might not be
> using that amount of memory at the moment, it will do as you expand your
> cluster.
>
>
> It will never really need this amount of memory. There is no reason to
> configure the heap for 16gb.
>


Roy, can you please provide new values for minimum amount required and
recommended amount in a bugzilla request?
They're pretty much untouched since 3.2 and if we don't need them anymore
I'm more than happy to lower the bar.


>
>
>
> On 20 February 2017 at 16:22, FERNANDO FREDIANI  > wrote:
>
>> Hello folks
>>
>> I have a Engine dedicated machine running with 4GB of memory. It has been
>> working fine without any apparent issues.
>>
>> If I check the system memory usage it rarely goes over 1.5GB.
>>
>> But when I upgrade oVirt Engine it complains with the following message:
>> "[WARNING] Less than 16384MB of memory is available".
>>
>
> Please open a bug with all the details, we should address that.
>
>
>> Why is all that required if the real usage doesn't show that need ? Or am
>> I missing anything ?
>>
>> Fernando Frediani
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
>
> --
> 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
>
>


-- 
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] vdsm issues between engine and host

2017-02-21 Thread Piotr Kliczewski
On Mon, Feb 20, 2017 at 9:47 PM, cmc  wrote:
> Hi,
>
> Due to networking and DNS issues. our engine was offlined (it is
> physical machine currently, will be converting it to a VM in the
> future when time allows). When service was restored, I noticed that
> all the VMs were listed as being in an unknown state on one host. The
> VMs were fine, but the engine could not ascertain their status as the
> host itself was in an unknown state. vdsm was reporting errors and was
> not running on the engine (or at least was in status 'failed' in
> systemd). I tried starting vdsmd on the engine but it would not start.
> I decided to try to restart vdsmd on the host and that did allow the
> state of the VMs to be discovered, and the engine listed the host as
> up again. However, there are still errors with vdsmd on both the host
> and the engine, and the engine cannot start vdsmd. I guess it is able
> to monitor the hosts in a limited way as it says they are both up.
> There are communication errors between one of the hosts and the
> engine: the host is refusing connections by the look of it
>
> from the engine log:
>
> 2017-02-20 18:41:51,226Z ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> (DefaultQuartzScheduler2) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
> Command 'GetCapabilitiesVDSCommand(HostName = k
> vm-ldn-01, VdsIdAndVdsVDSCommandParametersBase:{runAsync='true',
> hostId='e050c27f-8709-404c-b03e-59c0167a824b',
> vds='Host[kvm-ldn-01,e050c27f-8709-404c-b03e-59c0167a824b]'})'
> execution failed: java.net.ConnectExce
> ption: Connection refused
> 2017-02-20 18:41:51,226Z ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
> (DefaultQuartzScheduler2) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
> Failure to refresh host 'kvm-ldn-01' runtime info: java.n
> et.ConnectException: Connection refused
> 2017-02-20 18:41:52,772Z ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetAllVmStatsVDSCommand]
> (DefaultQuartzScheduler6) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
> Command 'GetAllVmStatsVDSCommand(HostName = kvm-ldn-01,
> VdsIdVDSCommandParametersBase:{runAsync='true',
> hostId='e050c27f-8709-404c-b03e-59c0167a824b'})' execution failed:
> VDSGenericException: VDSNetworkException: Connection reset by peer
> 2017-02-20 18:41:54,256Z ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> (DefaultQuartzScheduler7) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
> Command 'GetCapabilitiesVDSCommand(HostName = kvm-ldn-01,
> VdsIdAndVdsVDSCommandParametersBase:{runAsync='true',
> hostId='e050c27f-8709-404c-b03e-59c0167a824b',
> vds='Host[kvm-ldn-01,e050c27f-8709-404c-b03e-59c0167a824b]'})'
> execution failed: java.net.ConnectException: Connection refused
>

I checked your engine logs and I saw dns issues much later then the error above:

2017-02-20 19:47:56,516Z ERROR
[org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
(DefaultQuartzScheduler6) [f8aa18b3-97b9-48e2-a681-cf3aaed330a5]
Failure to refresh host 'kvm-ldn-01' runtime info:
java.net.UnknownHostException: kvm-ldn-01

> from the vdsm.log on the host:
>
>
> Feb 20 18:44:20 kvm-ldn-01 vdsm[42308]: vdsm vds.dispatcher ERROR SSL
> error receiving from  (':::172.16.75.16', 38350, 0, 0) at 0x33b9bd8>: unexpected eof
> Feb 20 18:44:24 kvm-ldn-01 vdsm[42308]: vdsm jsonrpc.JsonRpcServer
> ERROR Internal server error
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 547, in
> _handle_request...
>
> Any ideas what might be going on here?

I see that ~13 vm was move to up state.

Can you please say which host is causing issues and provide the logs.

>
> Thanks,
>
> Cam
>
> ___
> 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] moving disk failed.. remained locked

2017-02-21 Thread Gianluca Cecchi
On Tue, Feb 21, 2017 at 7:01 AM, Gianluca Cecchi 
wrote:

> On Mon, Feb 20, 2017 at 10:51 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>> On Mon, Feb 20, 2017 at 8:46 PM, Fred Rolland 
>> wrote:
>>
>>> Can you please send the whole logs ? (Engine, vdsm and sanlock)
>>>
>>>
>> vdsm.log.1.xz:
>> https://drive.google.com/file/d/0BwoPbcrMv8mvWTViWEUtNjRtLTg
>> /view?usp=sharing
>>
>> sanlock.log
>> https://drive.google.com/file/d/0BwoPbcrMv8mvcVM4YzZ4aUZLYVU
>> /view?usp=sharing
>>
>> engine.log (gzip format);
>> https://drive.google.com/file/d/0BwoPbcrMv8mvdW80RlFIYkpzenc
>> /view?usp=sharing
>>
>> Thanks,
>> Gianluca
>>
>>
> I didn't say that size of disk is 430Gb and target storage domain is 1Tb,
> almost empty (950Gb free)
> I received a message about problems from the storage where the the disk is
> and so I'm trying to move it so that I can put under maintenance the
> original one and see.
> The errors seem about destination creation of volume and not source...
> thanks,
> Gianluca
>
>

Info on disk:

[g.cecchi@ovmsrv07 ~]$ sudo qemu-img info
/rhev/data-center/588237b8-0031-02f6-035d-0136/900b1853-e192-4661-a0f9-7c7c396f6f49/images/f0b5a0e4-ee5d-44a7-ba07-08285791368a/7ed43974-1039-4a68-a8b3-321e7594fe4c
image:
/rhev/data-center/588237b8-0031-02f6-035d-0136/900b1853-e192-4661-a0f9-7c7c396f6f49/images/f0b5a0e4-ee5d-44a7-ba07-08285791368a/7ed43974-1039-4a68-a8b3-321e7594fe4c
file format: qcow2
virtual size: 430G (461708984320 bytes)
disk size: 0
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
[g.cecchi@ovmsrv07 ~]$

Based on another command I learnt from another thread, this is what I get
if I check the disk:

[g.cecchi@ovmsrv07 ~]$ sudo qemu-img check
/rhev/data-center/588237b8-0031-02f6-035d-0136/900b1853-e192-4661-a0f9-7c7c396f6f49/images/f0b5a0e4-ee5d-44a7-ba07-08285791368a/7ed43974-1039-4a68-a8b3-321e7594fe4c
Leaked cluster 4013995 refcount=1 reference=0
Leaked cluster 4013996 refcount=1 reference=0
Leaked cluster 4013997 refcount=1 reference=0

... many lines of this type ...

Leaked cluster 6275183 refcount=1 reference=0
Leaked cluster 6275184 refcount=1 reference=0
Leaked cluster 6275185 refcount=1 reference=0

57506 leaked clusters were found on the image.
This means waste of disk space, but no harm to data.
6599964/7045120 = 93.68% allocated, 6.30% fragmented, 0.00% compressed
clusters
Image end offset: 436986380288

Can it help in any way to shutdown the VM to unlock the disk?

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


[ovirt-users] log out event but not log in?

2017-02-21 Thread Gianluca Cecchi
Hello,
In oVirt 4.1 web admin gui I see events about users logging out (they have
been created on internal domain with ovirt-aaa-jdbc-tool command), but I
don't see the corresponding log in event.
The same is true for the default admin@internal user.
Is there any reason or is it a bug?
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] actual size greater than virtual size?

2017-02-21 Thread Gianluca Cecchi
On Mon, Feb 20, 2017 at 11:39 PM, Nir Soffer  wrote:

>
>

>> Yes, the VM is active.
>> In this moment the disk name seems to be without the final "he"
>> letters
>>
>
> Seems to be an issue between my keyboard and chair :-)
>

Actually you wrote the correct name that I intercepted during live storage
migration.
The output disk of the migration was
/rhev/data-center/mnt/blockSD/5ed04196-87f1-480e-9fee-9dd450a3b53b/images/6af3dfe5-6da7-48e3-9eb0-1e9596aca9d3/9af3574d-dc83-485f-b906-0970ad09b660he

But I see that indeed the name is now without the final "he" part... don't
know if the suffix is in place only during the migration as a sort of
notifier/lock

[g.cecchi@ovmsrv07 ~]$ ll
/rhev/data-center/mnt/blockSD/5ed04196-87f1-480e-9fee-9dd450a3b53b/images/6af3dfe5-6da7-48e3-9eb0-1e9596aca9d3/9af3574d-dc83-485f-b906-0970ad09b660
lrwxrwxrwx. 1 vdsm kvm 78 Feb 13 22:39
/rhev/data-center/mnt/blockSD/5ed04196-87f1-480e-9fee-9dd450a3b53b/images/6af3dfe5-6da7-48e3-9eb0-1e9596aca9d3/9af3574d-dc83-485f-b906-0970ad09b660
->
/dev/5ed04196-87f1-480e-9fee-9dd450a3b53b/9af3574d-dc83-485f-b906-0970ad09b660
[g.cecchi@ovmsrv07 ~]$



>
>
>> [root@ovmsrv07 ~]# qemu-img check /dev/5ed04196-87f1-480e-9fee-9
>> dd450a3b53b/9af3574d-dc83-485f-b906-0970ad09b660
>> No errors were found on the image.
>> 41734/491520 = 8.49% allocated, 3.86% fragmented, 0.00% compressed
>> clusters
>> Image end offset: 2736128000
>>
>
> So you have 2.5 G image in 33G lv?
>

Yes, I created a 30Gb disk but in the mean time only a small part of it is
used. Inside the VM:

[root@c7service ~]# lsblk
NAMEMAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda   8:00   30G  0 disk
├─sda18:101G  0 part /boot
└─sda28:20   29G  0 part
  ├─cl-root 253:00   26G  0 lvm  /
  └─cl-swap 253:103G  0 lvm  [SWAP]
sr0  11:01 1024M  0 rom
[root@c7service ~]#

 [root@c7service ~]# df -h
Filesystem   Size  Used Avail Use% Mounted on
/dev/mapper/cl-root   26G  2.2G   24G   9% /
devtmpfs 2.0G 0  2.0G   0% /dev
tmpfs2.0G 0  2.0G   0% /dev/shm
tmpfs2.0G   17M  2.0G   1% /run
tmpfs2.0G 0  2.0G   0% /sys/fs/cgroup
/dev/sda1   1014M  150M  865M  15% /boot
tmpfs396M 0  396M   0% /run/user/0
[root@c7service ~]#


> If this is internal volume, you can reduce it to the next power
> of 128m - 2688m
>
> If this is active volume, you want to leave empty space at the end.
> since you are using 4G extent size, you can reduce it to 6784m.
>
> To reduce the lv:
>
> 1. Move storage domain to maintenance
>
> 2. Check again the image end offset using qemu-img check
>
> lvchange -ay vg-name/lv-name
> qemu-img check /dev/vg-name/lv-name
> lvchange -an vg-name/lv-name
>
> 2. use lvreduce (update the size if needed)
>
> lvreduce -L 2688m vg-name/lv-name
>
> 3. Actvate the storage domain
>
> We are working now on integrating this into the flows
> like cold and live merge.
>
> Nir
>

Thanks for the information, that could be useful
But my concern was not to reduce the disk size in this case: I'll let the
free space for future applications I have to install.
My concern was that one would expect to see actual size of a thin
provisioned disk always less or equal the virtual one and not the
opposite
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ova conversion errors: where to search?

2017-02-21 Thread Shahar Havivi
Adding Richard.

On Mon, Feb 20, 2017 at 5:34 PM, Gianluca Cecchi 
wrote:

> On Sat, Feb 18, 2017 at 12:42 AM, Tomáš Golembiovský 
> wrote:
>
>>
>> >
>> > where to find more details regarding reasons for failure? Other files on
>> > engine or should I see at host side?
>>
>> There are two places you should look. One is vdsm.log on the host
>> performing the import. And if you have oVirt 4.1 another place to look
>> at is /var/log/vdsm/import where the import logs are stored.
>>
>>
> Thanks.
> BTW: the permissions of the ova were ok.
>
> I see this text near the end of the file generated into
> /var/log/vdsm/import
>
> libguestfs: trace: v2v: vfs_type = "ext4"
> [   8.6] Checking for sufficient free disk space in the guest
> [   8.6] Estimating space required on target for each disk
> mpstats:
> mountpoint statvfs /dev/sda2 / (ext4):
>   bsize=4096 blocks=3650143 bfree=3324165 bavail=3132985
> estimate_target_size: fs_total_size = 14950985728 [13.9G]
> estimate_target_size: source_total_size = 19327352832 [18.0G]
> estimate_target_size: ratio = 0.774
> estimate_target_size: fs_free = 13615779840 <(361)%20577-9840> [12.7G]
> estimate_target_size: scaled_saving = 10532706254 [9.8G]
> estimate_target_size: sda: 8794646578 [8.2G]
> [   8.6] Converting Ubuntu precise (12.04.5 LTS) to run on KVM
> virt-v2v: error: virt-v2v is unable to convert this guest type
> (linux/ubuntu)
> rm -rf '/var/tmp/ova.vUHL91'
> rm -rf '/var/tmp/null.LZo6Xr'
> libguestfs: trace: v2v: close
> libguestfs: closing guestfs handle 0x1b79170 (state 2)
>
> Can we take a sort of generic linux in case? I don't think there could be
> anything special in Ubuntu... or at least let the admin fix anything trying
> some resuce operation after the VM has been created.
>
>
>>
>> > In case I have to import a windows VM ova, which iso should I attach
>> near
>> > the "Attach VirtIO-Drivers" checkbox? Any "official" iso? I
>> > downloaded oVirt-toolsSetup-4.1-3.fc24.iso but I don't know if it is
>> the
>> > right iso for this.
>>
>> Install virtio-win package somewhere. In it, inside
>> /usr/share/virtio-win directory, you will find virtio-win-*.iso file.
>>
>>
> Is virtio-win package still current? In case from where to download it?
> I read here:
> https://www.ovirt.org/develop/release-management/features/
> engine/windows-guest-tools/
> and installied ovirt-guest-tools-iso package that gives:
>
> [g.cecchi@ovmsrv05 ~]$ ll /usr/share/ovirt-guest-tools-iso/
> total 215316
> -rw-r--r--. 1 root root 220481536 Jan 26 16:13 oVirt-toolsSetup_4.1-3.fc24.
> iso
> lrwxrwxrwx. 1 root root31 Feb 20 16:13 ovirt-tools-setup.iso ->
> oVirt-toolsSetup_4.1-3.fc24.iso
> [g.cecchi@ovmsrv05 ~]$
>
> and mounting as a loop device the iso I have inside it:
>
> -r--r--r--.  1 root root  290 Jan 12 17:59 default.ini
> -r--r--r--.  1 root root  667 Jan 12 17:59 default-logger.ini
> -r--r--r--.  1 root root 1006 Jan 12 17:59 ovirt-guest-agent.ini
> -r-xr-xr-x.  1 root root 11659498 Jan 12 17:59 OVirtGuestService.exe
> -r--r--r--.  1 root root 30836592 Jan 26 16:13 ovirt-guest-tools-setup.exe
> -r--r--r--.  1 root root  4216840 Aug  2  2016 vcredist_x86.exe
> dr-xr-xr-x.  2 root root 2048 Jan 26 16:12 vdagent_x64
> dr-xr-xr-x.  2 root root 2048 Jan 26 16:12 vdagent_x86
> dr-xr-xr-x. 15 root root 4096 Jan 26 16:12 virtio
>
> [g.cecchi@ovmsrv05 ~]$ ll /isomount/virtio/vioscsi/
> total 18
> dr-xr-xr-x. 3 root root 2048 Jan 16 14:45 2k12
> dr-xr-xr-x. 3 root root 2048 Jan 16 14:45 2k12R2
> dr-xr-xr-x. 3 root root 2048 Jan 16 14:45 2k16
> dr-xr-xr-x. 4 root root 2048 Jan 16 14:45 2k8
> dr-xr-xr-x. 3 root root 2048 Jan 16 14:45 2k8R2
> dr-xr-xr-x. 4 root root 2048 Jan 16 14:45 w10
> dr-xr-xr-x. 4 root root 2048 Jan 16 14:45 w7
> dr-xr-xr-x. 4 root root 2048 Jan 16 14:45 w8
> dr-xr-xr-x. 4 root root 2048 Jan 16 14:45 w8.1
> [g.cecchi@ovmsrv05 ~]$
>
> 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


Re: [ovirt-users] Unable to set up host networks

2017-02-21 Thread Dan Kenigsberg
On Mon, Feb 20, 2017 at 6:00 PM, Michael Watters  wrote:
> I am building a new ovirt host running Ovirt 4.0 however I am receiving
> UI errors when I attempt to define the host networks in the engine.  The
> engine logs show errors as follows.
>
> 2017-02-20 10:53:44,478 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand]
> (default task-358) [653da31a] Exception:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
> VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS,
> error = Error parsing bonding options: 'miimon=1 updelay=0 downdelay-0
> mode=802.3ad', code = 25

Why is there a minus sign in "downdelay-0"? How did it get there? We
require a space-separated key=value list. The UI should have blocked
it in a nicer way.

>
> UI logs also show errors as follows.
>
> 2017-02-20 10:58:49,092 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
> task-239) [] Permutation name: 36FFE9E683BD2C616FFB067DABA3A81E
> 2017-02-20 10:58:49,092 ERROR 
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default 
> task-239) [] Uncaught exception: 
> com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)
>  __gwt$exception: : Cannot read property 'k' of undefined
> at Unknown.Ev(webadmin-0.js@25721)
> at Unknown.Mv(webadmin-0.js@41)
> at Unknown.d8(webadmin-0.js@19)
> at Unknown.g8(webadmin-0.js@19)
> at Unknown.q7(webadmin-0.js@117)
> at Unknown.oq(webadmin-0.js@26)
> at Unknown.yq(webadmin-0.js@24441)
> at Unknown.$2(webadmin-0.js@149)
> at Unknown.qq(webadmin-0.js@112)
> at Unknown.qaf(webadmin-0.js@1781)
> at Unknown.$$e(webadmin-0.js@85)
> at Unknown.a1e(webadmin-0.js@46)
> at Unknown.Sx(webadmin-0.js@29)
> at Unknown.Wx(webadmin-0.js@57)
> at Unknown.eval(webadmin-0.js@54)
> at Unknown.PC(webadmin-0.js@20)
> at Unknown.W9e(webadmin-0.js@98)
> at Unknown.fnf(webadmin-0.js@56)
> at Unknown.jnf(webadmin-0.js@7413)
> at Unknown.qaf(webadmin-0.js@1399)
> at Unknown.$$e(webadmin-0.js@85)
> at Unknown.Z$e(webadmin-0.js@60)
> at Unknown.$0e(webadmin-0.js@52)
> at Unknown.Sx(webadmin-0.js@29)
> at Unknown.Wx(webadmin-0.js@57)
> at Unknown.eval(webadmin-0.js@54)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
>  __gwt$exception: : Cannot read property 'k' of undefined
> at Unknown.K5p(webadmin-151.js@499431)
> at Unknown.K6p(webadmin-151.js@43)
> at Unknown.v6p(webadmin-151.js@120)
> at Unknown.P6p(webadmin-151.js@500852)
> at Unknown.b6r(webadmin-0.js@189)
> at Unknown.EFo(webadmin-0.js@71)
> at Unknown.UFo(webadmin-0.js@23730)
> at Unknown.m3p(webadmin-151.js@870)
> at Unknown.rbq(webadmin-151.js@17)
>
> Is there a way to resolve this?

> Is it possible to define host networks manually without using the engine?

It is possible (you can use the Vdsm api) but it is not advisable or
supportable.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users