Re: [ovirt-users] Change iSCSI target IP address

2017-10-25 Thread Colin Coe
Hi

Thanks for this

What I wanted to do was move an old iSCSI appliance to the same VLAN as the
new iSCSI appliance to stop storage migration traffic having to traverse a
firewall.  I ended up just trunking both VLANs to the same interface.

Thanks again.

On Thu, Oct 26, 2017 at 1:49 AM, Adam Litke  wrote:

>
>
> On Tue, Oct 24, 2017 at 6:19 PM, Colin Coe  wrote:
>
>> Hi all
>>
>> Running RHV 4.1.6, I need to move an iSCSI appliance to a new subnet.
>> There are VMs that I need to keep on this appliance.
>>
>> What would be the best way to point RHV at the new IP address?
>>
>
> If you can tolerate some downtime, you could put the storage domain in
> maintenance and detach it.  Then move your appliance, then import the
> domain using the new IP address.
>
> Maybe there is a better/less invasive way but this should work.
>
>
>>
>> Thanks
>>
>> CC
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
>
> --
> Adam Litke
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Change iSCSI target IP address

2017-10-25 Thread Adam Litke
On Tue, Oct 24, 2017 at 6:19 PM, Colin Coe  wrote:

> Hi all
>
> Running RHV 4.1.6, I need to move an iSCSI appliance to a new subnet.
> There are VMs that I need to keep on this appliance.
>
> What would be the best way to point RHV at the new IP address?
>

If you can tolerate some downtime, you could put the storage domain in
maintenance and detach it.  Then move your appliance, then import the
domain using the new IP address.

Maybe there is a better/less invasive way but this should work.


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


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


Re: [ovirt-users] direct lun resizing

2017-10-25 Thread Jiří Sléžka
Hi,

it worked!

for reference...

on host where vm is running...

multipath -r

shows old size so I rescan both paths...

echo 1 > /sys/class/scsi_device/2\:0\:1\:62/device/rescan
echo 1 > /sys/class/scsi_device/2\:0\:0\:62/device/rescan

then...

multipath -r

...shows new size

now I get lun_id (part of --path) and vm_id (--domain) from api and...

virsh -c qemu:///system blockresize --path
/dev/mapper/36005076b07500eff54180960001c --size 629145600 --domain
7a5de3e0-ecbd-4ed6-bf98-2e7a45e96027

btw. size is in KiB, so in my case 600GiB * 1024 * 1024

I had to set sasl passwd for my user... I hope this doesn't break
something...

saslpasswd2 -a libvirt my_username

after this resize the colegue tell me that direct lun was resized on the
vm side...

[524704.451468] sd 2:0:0:1: Capacity data has changed
[525449.969906] sd 2:0:0:1: Capacity data has changed
[525449.971771] sd 2:0:0:1: [sdb] 1258291200 512-byte logical blocks:
(644 GB/600 GiB)
[525449.972697] sdb: detected capacity change from 536870912000 to
644245094400

I have no idea what could happen if I set wrong size :-)


Thanks, Jiri


On 10/19/2017 04:34 PM, Jiří Sléžka wrote:
> Hi,
> 
> thanks a lot! I am going to try sugested workaround but tommorow :-)
> 
> Cheers, Jiri
> 
> 
> On 10/19/2017 02:25 PM, Fred Rolland wrote:
>> Hi,
>>
>> Offline refresh of a direct lun's size is supported since oVirt 3.4 [1].
>> Online refresh, however, is not yet supported [2].
>> You can try the workaround posted on [2], comment 7.
>>
>> [1] *Bug 1026868* 
>> -Direct LUN is not being updated after resizing
>> [2] *Bug 1155275* 
>> -[RFE] Online update Direct LUN size to the Guest after LUN resize
>>
>> On Thu, Oct 19, 2017 at 1:30 PM, Jiří Sléžka > > wrote:
>>
>> Hi all,
>>
>> one of our user uses direct lun inside one of his vm. Now he expanded
>> this lun on the disk array side from 500GB to 600GB but this change was
>> not reflected on oVirt nor vm side.
>>
>> How is direct lun resizing handled in oVirt?
>>
>> Cheers,
>>
>> Jiri
>>
>>
>>
>> ___
>> 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
> 




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


[ovirt-users] Storage Performance

2017-10-25 Thread Bryan Sockel
Have a question in regards to storage performance.  I have a gluster replica 
3 volume that we are testing for performance.  In my current configuration 
is 1 server has 16X1.2TB( 10K 2.5 Inch) drives configured in Raid 10 with a 
256k stripe.  My 2nd server is configured with 4X6TB (3.5 Inch Drives) 
configured Raid 10 with a 256k stripe.  Each server is configured with 802.3 
Bond (4X1GB) network links.  Each server is configured with write-back on 
the raid controller.

I am seeing a lot of network usage (solid 3 Gbps) when i perform file copies 
on the vm attached to that gluster volume,  But i see spikes on the disk io 
when watching the dashboard through the cockpit interface.  I spikes are up 
to 1.5 Gbps, but i would say the average through put is maybe 256 Mbps.

Is this to be expected, or should it be a solid activity in the graphs for 
disk IO.  Is it better to use a 256K stripe or a 512 strip on the hardware 
raid configuration?

Eventually i plan on having the hardware match up for better performance.


Thanks

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


Re: [ovirt-users] can't use a iscsi target as a 4.2 storage domain

2017-10-25 Thread Nathanaël Blanchet



Le 25/10/2017 à 13:59, Alexander Wels a écrit :

On Wednesday, October 25, 2017 4:02:45 AM EDT Nathanaël Blanchet wrote:

Le 25/10/2017 à 06:16, Idan Shaby a écrit :

I am glad that it works for you now!
If you got anymore question, please don't hesitate to ask.

So... here is an new bug : I imported an existing iso domain, and no
images display under the subtab...


So you successfully (well at least the UI told you it was successful) imported
the ISO domain. And now the grid is empty? Is it empty in that you see nothing
but the header, or is it empty with a note saying no items found?
Indeed only the header... When creating a new iso domain and uploading a 
new image, it is correctly displayed

The original iso domain comes from a 4.1 datacenter.



Regards,
Idan

On Tue, Oct 24, 2017 at 8:40 PM, Nathanaël Blanchet > wrote:
 I'm replying to myself: there was a 4.2 update of the engine, and
 now it's okay... still in development, but seems to be quite good
 after familiazering with the new UI!
 
 Le 24/10/2017 à 15:13, Nathanaël Blanchet a écrit :

 Hi,
 
 I give a try to 4.2 alpha andit  seems to be a regression with

 registering a iscsi target as a storage domain.
 I'm able to login to the target, but when selecting the lun,
 clicking on OK does nothing else.
 
 I tried with the same lun on 4.1 and it is ok.
 
 Supervision réseau

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

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




--
Nathanaël Blanchet

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

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


Re: [ovirt-users] can't use a iscsi target as a 4.2 storage domain

2017-10-25 Thread Alexander Wels
On Wednesday, October 25, 2017 4:02:45 AM EDT Nathanaël Blanchet wrote:
> Le 25/10/2017 à 06:16, Idan Shaby a écrit :
> > I am glad that it works for you now!
> > If you got anymore question, please don't hesitate to ask.
> 
> So... here is an new bug : I imported an existing iso domain, and no
> images display under the subtab...
> 

So you successfully (well at least the UI told you it was successful) imported 
the ISO domain. And now the grid is empty? Is it empty in that you see nothing 
but the header, or is it empty with a note saying no items found?

> > Regards,
> > Idan
> > 
> > On Tue, Oct 24, 2017 at 8:40 PM, Nathanaël Blanchet  > 
> > > wrote:
> > I'm replying to myself: there was a 4.2 update of the engine, and
> > now it's okay... still in development, but seems to be quite good
> > after familiazering with the new UI!
> > 
> > Le 24/10/2017 à 15:13, Nathanaël Blanchet a écrit :
> > Hi,
> > 
> > I give a try to 4.2 alpha andit  seems to be a regression with
> > registering a iscsi target as a storage domain.
> > I'm able to login to the target, but when selecting the lun,
> > clicking on OK does nothing else.
> > 
> > I tried with the same lun on 4.1 and it is ok.
> > 
> > Supervision réseau
> > Pôle Infrastrutures Informatiques
> > 227 avenue Professeur-Jean-Louis-Viala
> > 34193 MONTPELLIER CEDEX 5
> > Tél. 33 (0)4 67 54 84 55
> > Fax  33 (0)4 67 54 84 14
> > blanc...@abes.fr 
> > 
> > ___
> > Users mailing list
> > Users@ovirt.org 
> > http://lists.ovirt.org/mailman/listinfo/users
> > 


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


Re: [ovirt-users] using oVirt with newer librbd1

2017-10-25 Thread Konstantin Shalygin

On 10/25/2017 03:30 PM, Matthias Leopold wrote:

we're also using cinder from openstack ocata release.

the point is
a) we didn't upgrade, but started from scratch with ceph 12
b) we didn't test all of the new features in ceph 12 (eg. EC pools for 
RBD devices) in connection with cinder yet 


Thanks. We use EC pools with replication pull cache - only one way to 
use EC with rbd, before Ceph 12.
We are half year on Ceph with oVirt in production. The best storage 
experience, the only thing you can find fault this is impossible to move 
images between pools. Only manually migration with qemu-img/rados or 
cp/rsync inside VM.


--
Best regards,
Konstantin Shalygin

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


Re: [ovirt-users] Problems to log into portal

2017-10-25 Thread Yedidyah Bar David
On Tue, Oct 24, 2017 at 5:19 AM, Juan Pablo Lorier  wrote:
> Thanks Yedidyah for your reply. The FQDN is correct:
>
> /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf:ENGINE_FQDN=ovirt01.tecnica.tnu.com.uy
>
> I managed to connect to the admin portal using a ssh tunnel, but I can't
> do it via a regular connection. Any other hint?

Not sure I follow.

How did you connect with the ssl tunnel?

Assuming you ssh from machine A (e.g. your laptop) to the engine
machine B using:

ssh -L 443:localhost:443 user@B

And then point a browser at https://localhost, if this works, it means that
the FQDN was set, during engine-setup, to 'localhost'.

If, OTOH, you used ovirt01.tecnica.tnu.com.uy both with and without the
tunnel (and with the tunnel, added '127.0.0.1 ovirt01.tecnica.tnu.com.uy'
to your local /etc/hosts, or something like that), then there should be
no difference.

Please explain in more details what worked, what didn't work, etc. Thanks.

Regards,

>
> Regards,
>
>
>
> El 23/10/17 a las 02:40, Yedidyah Bar David escribió:
>> On Mon, Oct 23, 2017 at 2:04 AM, Juan Pablo Lorier  
>> wrote:
>>> Hi,
>>>
>>> I'm trying to log into a fresh install (4.1 on centos 7) but though I've
>>> set the hostname-ip mapping in /etc/hosts of the server and my desktop,
>>> it keep complaining with the error:
>>>
>>> The client is not authorized to request an authorization. It's required
>>> to access the system using FQDN.
>>>
>>> Engine log shows the same error:
>>>
>>> ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-9) [] The
>>> client is not authorized to request an authorization. It's required to
>>> access the system using FQDN
>>>
>>> What else should I do to get access?
>> Do you use the exact same name you provided when prompted by engine-setup?
>>
>> Check this:
>>
>> grep ^ENGINE_FQDN /etc/ovirt-engine/engine.conf.d/*.conf
>>
>> If you want/need to use a different name, search the list archives
>> for "SSO_ALTERNATE_ENGINE_FQDNS".
>>
>> Regards,
>



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


Re: [ovirt-users] using oVirt with newer librbd1

2017-10-25 Thread Matthias Leopold



Am 2017-10-24 um 15:11 schrieb Konstantin Shalygin:

On 10/24/2017 07:26 PM, Matthias Leopold wrote:

yes, we have a Ceph 12 Cluster and are using librbd1-12.2.1 on oVirt 
Hypervisor Hosts, which we're installed with CentOS 7 and Ceph 
upstream repos, not oVirt Node (for this exact purpose).

On oVirt Hypervisor hosts we use librbd1-0.94.5-1.el7.x86_64
Since 
/usr/lib64/libvirt/storage-backend/libvirt_storage_backend_rbd.so is 
using /lib64/librbd.so.1 our VMs with disks from Cinder storage domain 
are using Ceph 12 all the way. 
Our OpenStack cinder is openstack-cinder-10.0.0-1.el7.noarch with 
librbd1-10.2.3-0.el7.x86_64


we're also using cinder from openstack ocata release.

the point is
a) we didn't upgrade, but started from scratch with ceph 12
b) we didn't test all of the new features in ceph 12 (eg. EC pools for 
RBD devices) in connection with cinder yet


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


Re: [ovirt-users] 3.6 InClusterUpgrade

2017-10-25 Thread Michal Skrivanek

> On 23 Oct 2017, at 12:57, Kapetanakis Giannis  
> wrote:
> 
> Hi,
> 
> I'm in the process of upgrading to 4.1 from 3.6.7 (centos 6)
> The default cluster runs in 3.5 compatibility mode.
> 
> I cannot add a new Centos 7 host:
> 2017-10-23 13:50:08,359 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (DefaultQuartzScheduler_Worker-40) [6a0dd9df] Correlation ID: 6a0dd9df, Job 
> ID: e570c94b-bbd8-486b-bb93-3d28fb905bb3, Call Stack: null, Custom Event ID: 
> -1, Message: Host v5 is compatible with versions (3.6,4.0,4.1) and cannot 
> join Cluster Default which is set to version 3.5.
> 
> I'm following https://www.ovirt.org/feature/inclusterupgrade/ for upgrading.
> 
> I've set 
> engine-config -s CheckMixedRhelVersions=false --cver=3.5
> restarted and set Scheduling policy InClusterUpgrade
> 
> Any recommendations how to proceed without shutting down all VMs?

while you are still in 3.6 engine you need to upgrade that Default cluster to 
3.6. This requires VMs power cycle to fully update everything.
only then upgrade to 4.1

> I also want to avoid creating a new cluster with 3.6 version cause then I 
> will have to shutdown all VMs again.

you don’t have to again if you keep 3.6 cluster in 4.1 setup.

Thanks,
michal

> 
> Thanks
> 
> G
> ps. The steps I had in mind were:
> upgrade serially hosts to Centos 7
> migrate VMs there
> backup-restore engine to new Centos 7 machine
> ___
> 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] Testing ansible playbook against a mock engine?

2017-10-25 Thread Ondra Machacek
On Wed, Oct 25, 2017 at 9:40 AM, Luca 'remix_tj' Lorenzetto
 wrote:
> Hello,
>
> i'm planning to create a big standardization playbook for my
> environment to ensure that all the required configs (networks, hosts,
> host's nics and networks) are correctly set up.
> Since i don't want to test against a running setup, i'd like to spawn
> a transient one for testing.
>
> I already know Lago, but i think is bit overkill for testing an
> ansible playbook.
>
> Is there any tool that creates only an engine instance with some fake
> hosts configured so i can test the playbook against it?

There is an fake vdsm project:

 https://www.ovirt.org/develop/developer-guide/vdsm/fake/

but it has only limited functionality, it's listed in the wiki page.
Other than that I am not aware of anything how to achieve that.
The only way is Lago or Vagrant.

>
> Luca
>
> --
> "E' assurdo impiegare gli uomini di intelligenza eccellente per fare
> calcoli che potrebbero essere affidati a chiunque se si usassero delle
> macchine"
> Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)
>
> "Internet è la più grande biblioteca del mondo.
> Ma il problema è che i libri sono tutti sparsi sul pavimento"
> John Allen Paulos, Matematico (1945-vivente)
>
> Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
> 
> ___
> 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] can't use a iscsi target as a 4.2 storage domain

2017-10-25 Thread Nathanaël Blanchet


Le 25/10/2017 à 06:16, Idan Shaby a écrit :

I am glad that it works for you now!
If you got anymore question, please don't hesitate to ask.
So... here is an new bug : I imported an existing iso domain, and no 
images display under the subtab...


Regards,
Idan

On Tue, Oct 24, 2017 at 8:40 PM, Nathanaël Blanchet > wrote:


I'm replying to myself: there was a 4.2 update of the engine, and
now it's okay... still in development, but seems to be quite good
after familiazering with the new UI!


Le 24/10/2017 à 15:13, Nathanaël Blanchet a écrit :

Hi,

I give a try to 4.2 alpha andit  seems to be a regression with
registering a iscsi target as a storage domain.
I'm able to login to the target, but when selecting the lun,
clicking on OK does nothing else.

I tried with the same lun on 4.1 and it is ok.


-- 
Nathanaël Blanchet


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

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





--
Nathanaël Blanchet

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

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


[ovirt-users] Testing ansible playbook against a mock engine?

2017-10-25 Thread Luca 'remix_tj' Lorenzetto
Hello,

i'm planning to create a big standardization playbook for my
environment to ensure that all the required configs (networks, hosts,
host's nics and networks) are correctly set up.
Since i don't want to test against a running setup, i'd like to spawn
a transient one for testing.

I already know Lago, but i think is bit overkill for testing an
ansible playbook.

Is there any tool that creates only an engine instance with some fake
hosts configured so i can test the playbook against it?

Luca

-- 
"E' assurdo impiegare gli uomini di intelligenza eccellente per fare
calcoli che potrebbero essere affidati a chiunque se si usassero delle
macchine"
Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716)

"Internet è la più grande biblioteca del mondo.
Ma il problema è che i libri sono tutti sparsi sul pavimento"
John Allen Paulos, Matematico (1945-vivente)

Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users