[ovirt-users] Does ovirt support sshfs?

2019-11-11 Thread TomK

Hi All,

Does ovirt support sshfs for mount locally accessible LUN's instead of NFS?

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6BHMRVULOYGXBT6NSVZKWKO37AV5OSIK/


[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-11-03 Thread TomK

On 11/3/2019 6:24 PM, TomK wrote:

On 11/3/2019 12:52 AM, TomK wrote:

On 11/2/2019 4:07 AM, Strahil wrote:

You should  be able to do that with the POSIX compliant domain ...
If nit, it's better to open a bug so this behaviour is investigated 
further.


I haven't tried the POXIS compliant domain but from what I recall and 
remember happening, I couldn't bind a host to more then a single 
storage domain.  I could be wrong but I couldn't select more then a 
single storage domain a host could be associated with.



"Any POSIX compliant file system used as a storage domain in oVirt must 
be a clustered file system, such as Global File System 2 (GFS2), and 
must support sparse files and direct I/O. The Common Internet File 
System (CIFS), for example, does not support direct I/O, making it 
incompatible with oVirt."


Guessing this might not work if I have a Local LUN that's XFS or EXT4?


"Adding Local Storage
Adding local storage to a host in this manner causes the host to be put 
in a new data center and cluster. The local storage configuration window 
combines the creation of a data center, a cluster, and storage into a 
single process."


This explains the reason for the removal.

Source: https://www.ovirt.org/documentation/admin-guide/chap-Storage.html





So it was either Local storage or GlusterFS storage, but both couldn't 
be bound to a single host.


Does oVirt have the facilities to test this out to see how it should 
be done?


Thx,
TK




Best Regards,
Strahil NikolovOn Nov 2, 2019 00:38, TomK  wrote:


On 10/11/2019 12:10 AM, Strahil wrote:

I'm not sure, but you can try with replica 1 gluster volume.
Later that gluster volume can be changed to replica 2 arbiter 1 or 
even better replica 3 volume.




Now that I see this I'm not sure we're on the same page.

Thinking this might clarify a bit better.  Let's take this scenario,
assume gluster is working perfectly:

HOST01
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,03) /dev/sdc


HOST02
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host01,03) /dev/sdc


HOST03
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,01) /dev/sdc


For each host I need the local LUN to be available for VM's with the
GlusterFS storage that's distributed across all three nodes.

However, when I tried to add a local LUN, the host was removed from the
storage domain rendering it unavailable.  Now when I took out the local
LUN, I was able to readd that host to the GlusterFS storage domain.

So it appears I can't add a local LUN when a host is already
participating in a GlusterFS storage domain.


Cheers,
TK




Best Regards,
Strahil NikolovOn Oct 10, 2019 13:04, Tom  wrote:


I take it then theres no way to do so without NFS?

Sent from my iPhone


On Oct 10, 2019, at 2:53 AM, Strahil  wrote:

You can create an NFS on that host and export to itself that 
local storage...


Best Regards,
Strahil NikolovOn Oct 9, 2019 07:43, TomK  
wrote:


Manged to reverse it through the options.  Had to deactivate the 
custom

local cluster.

Now I have my GlusterFS back and want to try and add some local 
storage

to each host under the same DC, Cluster and Storage Domain.  So
effectively I will have two storage locations.  One on my 
GlusterFS and

the other on the local storage I've just defined.

Appears I can't make them coexist with oVirt.  Either the host 
is placed

in a separate cluster with local storage, or I move it back to the
GlusterFS.

Appears I can't have two usable storage types under one host.  
Is this

correct?

What I'm looking for is in the image and shared earlier.

Cheers,
TK


On 10/8/2019 11:03 PM, TomK wrote:
I'm working to reverse this scenario.

My storage domain still exists.  However I can't activate it.  The
Manage button is greyed out without clear indication as to why.
Difficult to tell what my next move should be.

Anyway to find out?

Cheers,
TK


On 10/7/2019 8:25 AM, TomK wrote:
Allright.

So I followed this and configured local storage.  It had some 
default
names that I changed.  It would have been either the default 
name, or
one I choose.  In either case it would be a different name 
then the

Gluster storage domain the host was a part of anyway.

Once the process completed for both hosts, I noticed the Gluster
volume storage domain was offline and the gluster volume was 
gone.  I

can't seem to add that back in anymore.  I get:

"Error while executing action 
DisconnectStorageServerConnection: Error

storage server disconnection"

Guessing I can't have local storage in addition to Gluster on 
the same

hosts and available for VM's?

Reason why I need that is that Gluster is slow but provides 
redundancy

and live migration.  But I also wanted direct storage for VM's
requiring faster IO.  So here's my sc









--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.

[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-11-03 Thread TomK

On 11/3/2019 12:52 AM, TomK wrote:

On 11/2/2019 4:07 AM, Strahil wrote:

You should  be able to do that with the POSIX compliant domain ...
If nit, it's better to open a bug so this behaviour is investigated 
further.


I haven't tried the POXIS compliant domain but from what I recall and 
remember happening, I couldn't bind a host to more then a single storage 
domain.  I could be wrong but I couldn't select more then a single 
storage domain a host could be associated with.



"Any POSIX compliant file system used as a storage domain in oVirt must 
be a clustered file system, such as Global File System 2 (GFS2), and 
must support sparse files and direct I/O. The Common Internet File 
System (CIFS), for example, does not support direct I/O, making it 
incompatible with oVirt."


Guessing this might not work if I have a Local LUN that's XFS or EXT4?



So it was either Local storage or GlusterFS storage, but both couldn't 
be bound to a single host.


Does oVirt have the facilities to test this out to see how it should be 
done?


Thx,
TK




Best Regards,
Strahil NikolovOn Nov 2, 2019 00:38, TomK  wrote:


On 10/11/2019 12:10 AM, Strahil wrote:

I'm not sure, but you can try with replica 1 gluster volume.
Later that gluster volume can be changed to replica 2 arbiter 1 or 
even better replica 3 volume.




Now that I see this I'm not sure we're on the same page.

Thinking this might clarify a bit better.  Let's take this scenario,
assume gluster is working perfectly:

HOST01
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,03) /dev/sdc


HOST02
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host01,03) /dev/sdc


HOST03
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,01) /dev/sdc


For each host I need the local LUN to be available for VM's with the
GlusterFS storage that's distributed across all three nodes.

However, when I tried to add a local LUN, the host was removed from the
storage domain rendering it unavailable.  Now when I took out the local
LUN, I was able to readd that host to the GlusterFS storage domain.

So it appears I can't add a local LUN when a host is already
participating in a GlusterFS storage domain.


Cheers,
TK




Best Regards,
Strahil NikolovOn Oct 10, 2019 13:04, Tom  wrote:


I take it then theres no way to do so without NFS?

Sent from my iPhone


On Oct 10, 2019, at 2:53 AM, Strahil  wrote:

You can create an NFS on that host and export to itself that local 
storage...


Best Regards,
Strahil NikolovOn Oct 9, 2019 07:43, TomK  
wrote:


Manged to reverse it through the options.  Had to deactivate the 
custom

local cluster.

Now I have my GlusterFS back and want to try and add some local 
storage

to each host under the same DC, Cluster and Storage Domain.  So
effectively I will have two storage locations.  One on my 
GlusterFS and

the other on the local storage I've just defined.

Appears I can't make them coexist with oVirt.  Either the host is 
placed

in a separate cluster with local storage, or I move it back to the
GlusterFS.

Appears I can't have two usable storage types under one host.  Is 
this

correct?

What I'm looking for is in the image and shared earlier.

Cheers,
TK


On 10/8/2019 11:03 PM, TomK wrote:
I'm working to reverse this scenario.

My storage domain still exists.  However I can't activate it.  The
Manage button is greyed out without clear indication as to why.
Difficult to tell what my next move should be.

Anyway to find out?

Cheers,
TK


On 10/7/2019 8:25 AM, TomK wrote:
Allright.

So I followed this and configured local storage.  It had some 
default
names that I changed.  It would have been either the default 
name, or
one I choose.  In either case it would be a different name then 
the

Gluster storage domain the host was a part of anyway.

Once the process completed for both hosts, I noticed the Gluster
volume storage domain was offline and the gluster volume was 
gone.  I

can't seem to add that back in anymore.  I get:

"Error while executing action 
DisconnectStorageServerConnection: Error

storage server disconnection"

Guessing I can't have local storage in addition to Gluster on 
the same

hosts and available for VM's?

Reason why I need that is that Gluster is slow but provides 
redundancy

and live migration.  But I also wanted direct storage for VM's
requiring faster IO.  So here's my sc






--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BAABH4K3LVRLVEPEOW5ALQAPUHR3VRIS/


[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-11-02 Thread TomK

On 11/2/2019 4:07 AM, Strahil wrote:

You should  be able to do that with the POSIX compliant domain ...
If nit, it's better to open a bug so this behaviour is investigated further.


I haven't tried the POXIS compliant domain but from what I recall and 
remember happening, I couldn't bind a host to more then a single storage 
domain.  I could be wrong but I couldn't select more then a single 
storage domain a host could be associated with.


So it was either Local storage or GlusterFS storage, but both couldn't 
be bound to a single host.


Does oVirt have the facilities to test this out to see how it should be 
done?


Thx,
TK




Best Regards,
Strahil NikolovOn Nov 2, 2019 00:38, TomK  wrote:


On 10/11/2019 12:10 AM, Strahil wrote:

I'm not sure, but you can try with replica 1 gluster volume.
Later that gluster volume can be changed to replica 2 arbiter 1 or even better 
replica 3 volume.



Now that I see this I'm not sure we're on the same page.

Thinking this might clarify a bit better.  Let's take this scenario,
assume gluster is working perfectly:

HOST01
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,03) /dev/sdc


HOST02
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host01,03) /dev/sdc


HOST03
4TB Local LUN /dev/sdb
4TB Gluster FS (brick w/ host02,01) /dev/sdc


For each host I need the local LUN to be available for VM's with the
GlusterFS storage that's distributed across all three nodes.

However, when I tried to add a local LUN, the host was removed from the
storage domain rendering it unavailable.  Now when I took out the local
LUN, I was able to readd that host to the GlusterFS storage domain.

So it appears I can't add a local LUN when a host is already
participating in a GlusterFS storage domain.


Cheers,
TK




Best Regards,
Strahil NikolovOn Oct 10, 2019 13:04, Tom  wrote:


I take it then theres no way to do so without NFS?

Sent from my iPhone


On Oct 10, 2019, at 2:53 AM, Strahil  wrote:

You can create an NFS on that host and export to itself that local storage...

Best Regards,
Strahil NikolovOn Oct 9, 2019 07:43, TomK  wrote:


Manged to reverse it through the options.  Had to deactivate the custom
local cluster.

Now I have my GlusterFS back and want to try and add some local storage
to each host under the same DC, Cluster and Storage Domain.  So
effectively I will have two storage locations.  One on my GlusterFS and
the other on the local storage I've just defined.

Appears I can't make them coexist with oVirt.  Either the host is placed
in a separate cluster with local storage, or I move it back to the
GlusterFS.

Appears I can't have two usable storage types under one host.  Is this
correct?

What I'm looking for is in the image and shared earlier.

Cheers,
TK


On 10/8/2019 11:03 PM, TomK wrote:
I'm working to reverse this scenario.

My storage domain still exists.  However I can't activate it.  The
Manage button is greyed out without clear indication as to why.
Difficult to tell what my next move should be.

Anyway to find out?

Cheers,
TK


On 10/7/2019 8:25 AM, TomK wrote:
Allright.

So I followed this and configured local storage.  It had some default
names that I changed.  It would have been either the default name, or
one I choose.  In either case it would be a different name then the
Gluster storage domain the host was a part of anyway.

Once the process completed for both hosts, I noticed the Gluster
volume storage domain was offline and the gluster volume was gone.  I
can't seem to add that back in anymore.  I get:

"Error while executing action DisconnectStorageServerConnection: Error
storage server disconnection"

Guessing I can't have local storage in addition to Gluster on the same
hosts and available for VM's?

Reason why I need that is that Gluster is slow but provides redundancy
and live migration.  But I also wanted direct storage for VM's
requiring faster IO.  So here's my sc



--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OWT5SZZEMMNKCI5754Y4NHD7AXB2EBBC/


[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-11-01 Thread TomK

On 10/11/2019 12:10 AM, Strahil wrote:

I'm not sure, but you can try with replica 1 gluster volume.
Later that gluster volume can be changed to replica 2 arbiter 1 or even better 
replica 3 volume.



Now that I see this I'm not sure we're on the same page.

Thinking this might clarify a bit better.  Let's take this scenario, 
assume gluster is working perfectly:


HOST01
4TB Local LUN   /dev/sdb
4TB Gluster FS (brick w/ host02,03) /dev/sdc


HOST02
4TB Local LUN   /dev/sdb
4TB Gluster FS (brick w/ host01,03) /dev/sdc


HOST03
4TB Local LUN   /dev/sdb
4TB Gluster FS (brick w/ host02,01) /dev/sdc


For each host I need the local LUN to be available for VM's with the 
GlusterFS storage that's distributed across all three nodes.


However, when I tried to add a local LUN, the host was removed from the 
storage domain rendering it unavailable.  Now when I took out the local 
LUN, I was able to readd that host to the GlusterFS storage domain.


So it appears I can't add a local LUN when a host is already 
participating in a GlusterFS storage domain.



Cheers,
TK




Best Regards,
Strahil NikolovOn Oct 10, 2019 13:04, Tom  wrote:


I take it then theres no way to do so without NFS?

Sent from my iPhone


On Oct 10, 2019, at 2:53 AM, Strahil  wrote:

You can create an NFS on that host and export to itself that local storage...

Best Regards,
Strahil NikolovOn Oct 9, 2019 07:43, TomK  wrote:


Manged to reverse it through the options.  Had to deactivate the custom
local cluster.

Now I have my GlusterFS back and want to try and add some local storage
to each host under the same DC, Cluster and Storage Domain.  So
effectively I will have two storage locations.  One on my GlusterFS and
the other on the local storage I've just defined.

Appears I can't make them coexist with oVirt.  Either the host is placed
in a separate cluster with local storage, or I move it back to the
GlusterFS.

Appears I can't have two usable storage types under one host.  Is this
correct?

What I'm looking for is in the image and shared earlier.

Cheers,
TK


On 10/8/2019 11:03 PM, TomK wrote:
I'm working to reverse this scenario.

My storage domain still exists.  However I can't activate it.  The
Manage button is greyed out without clear indication as to why.
Difficult to tell what my next move should be.

Anyway to find out?

Cheers,
TK


On 10/7/2019 8:25 AM, TomK wrote:
Allright.

So I followed this and configured local storage.  It had some default
names that I changed.  It would have been either the default name, or
one I choose.  In either case it would be a different name then the
Gluster storage domain the host was a part of anyway.

Once the process completed for both hosts, I noticed the Gluster
volume storage domain was offline and the gluster volume was gone.  I
can't seem to add that back in anymore.  I get:

"Error while executing action DisconnectStorageServerConnection: Error
storage server disconnection"

Guessing I can't have local storage in addition to Gluster on the same
hosts and available for VM's?

Reason why I need that is that Gluster is slow but provides redundancy
and live migration.  But I also wanted direct storage for VM's
requiring faster IO.  So here's my scenario:

host01
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

host02
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

I would like to have:

1) GlusterFS volume available to oVirt via the two /dev/sdb drives in
both physical hosts.
2) Two locally attached LUN's, each separate and local to that
physical host.

Is this possible?

Cheers,
TK


On 10/6/2019 12:38 AM, Strahil wrote:
Hi Tom,

Have you checked
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-preparing_and_adding_local_storage
?

Best Regards,
Strahil NikolovOn Oct 6, 2019 06:26, TomK  wrote:


Hey All,

I've added a 4TB LUN to my physical storage and now I want to use that,
instead of GlusterFS as my datastore for VM's on that physical.  How do
I do this?

I've tried a number of options, including adding LUN's but appears I
can
only add them to VM's directly but not use them as my datastores



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UATOFCYCNOJHM3BCSHXFVYXKZYL4GXXQ/




--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archiv

[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-10-08 Thread TomK
Manged to reverse it through the options.  Had to deactivate the custom 
local cluster.


Now I have my GlusterFS back and want to try and add some local storage 
to each host under the same DC, Cluster and Storage Domain.  So 
effectively I will have two storage locations.  One on my GlusterFS and 
the other on the local storage I've just defined.


Appears I can't make them coexist with oVirt.  Either the host is placed 
in a separate cluster with local storage, or I move it back to the 
GlusterFS.


Appears I can't have two usable storage types under one host.  Is this 
correct?


What I'm looking for is in the image and shared earlier.

Cheers,
TK

On 10/8/2019 11:03 PM, TomK wrote:

I'm working to reverse this scenario.

My storage domain still exists.  However I can't activate it.  The 
Manage button is greyed out without clear indication as to why. 
Difficult to tell what my next move should be.


Anyway to find out?

Cheers,
TK

On 10/7/2019 8:25 AM, TomK wrote:

Allright.

So I followed this and configured local storage.  It had some default 
names that I changed.  It would have been either the default name, or 
one I choose.  In either case it would be a different name then the 
Gluster storage domain the host was a part of anyway.


Once the process completed for both hosts, I noticed the Gluster 
volume storage domain was offline and the gluster volume was gone.  I 
can't seem to add that back in anymore.  I get:


"Error while executing action DisconnectStorageServerConnection: Error 
storage server disconnection"


Guessing I can't have local storage in addition to Gluster on the same 
hosts and available for VM's?


Reason why I need that is that Gluster is slow but provides redundancy 
and live migration.  But I also wanted direct storage for VM's 
requiring faster IO.  So here's my scenario:


host01
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

host02
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

I would like to have:

1) GlusterFS volume available to oVirt via the two /dev/sdb drives in 
both physical hosts.
2) Two locally attached LUN's, each separate and local to that 
physical host.


Is this possible?

Cheers,
TK

On 10/6/2019 12:38 AM, Strahil wrote:

Hi Tom,

Have you checked 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-preparing_and_adding_local_storage 
?


Best Regards,
Strahil NikolovOn Oct 6, 2019 06:26, TomK  wrote:


Hey All,

I've added a 4TB LUN to my physical storage and now I want to use that,
instead of GlusterFS as my datastore for VM's on that physical.  How do
I do this?

I've tried a number of options, including adding LUN's but appears I 
can
only add them to VM's directly but not use them as my datastores 
instead

of GlusterFS.

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZES6FCONNYBXYC5DTQCOP3ZCNOZNG23Y/ 


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WE2MPSRXTJCXDWKLWLDCJRJ76U7GOTTE/ 












--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QJDCKXESPUMVLQSMLGRDRVQXXUGCX3IN/


[ovirt-users] Re: Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-10-07 Thread TomK

Allright.

So I followed this and configured local storage.  It had some default 
names that I changed.  It would have been either the default name, or 
one I choose.  In either case it would be a different name then the 
Gluster storage domain the host was a part of anyway.


Once the process completed for both hosts, I noticed the Gluster volume 
storage domain was offline and the gluster volume was gone.  I can't 
seem to add that back in anymore.  I get:


"Error while executing action DisconnectStorageServerConnection: Error 
storage server disconnection"


Guessing I can't have local storage in addition to Gluster on the same 
hosts and available for VM's?


Reason why I need that is that Gluster is slow but provides redundancy 
and live migration.  But I also wanted direct storage for VM's requiring 
faster IO.  So here's my scenario:


host01
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

host02
/dev/sda OS
/dev/sdb 4TB (For Gluster)
/dev/sdc 4TB (For Local Storage)

I would like to have:

1) GlusterFS volume available to oVirt via the two /dev/sdb drives in 
both physical hosts.
2) Two locally attached LUN's, each separate and local to that physical 
host.


Is this possible?

Cheers,
TK

On 10/6/2019 12:38 AM, Strahil wrote:

Hi Tom,

Have you checked 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-preparing_and_adding_local_storage
 ?

Best Regards,
Strahil NikolovOn Oct 6, 2019 06:26, TomK  wrote:


Hey All,

I've added a 4TB LUN to my physical storage and now I want to use that,
instead of GlusterFS as my datastore for VM's on that physical.  How do
I do this?

I've tried a number of options, including adding LUN's but appears I can
only add them to VM's directly but not use them as my datastores instead
of GlusterFS.

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZES6FCONNYBXYC5DTQCOP3ZCNOZNG23Y/

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WE2MPSRXTJCXDWKLWLDCJRJ76U7GOTTE/




--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RNTKD4UICDYW5SD27MNKJ3PWESGPRBWY/


[ovirt-users] Trying to add a LUN to a host and use that, instead of Gluster, as the datastore for my VM's.

2019-10-05 Thread TomK

Hey All,

I've added a 4TB LUN to my physical storage and now I want to use that, 
instead of GlusterFS as my datastore for VM's on that physical.  How do 
I do this?


I've tried a number of options, including adding LUN's but appears I can 
only add them to VM's directly but not use them as my datastores instead 
of GlusterFS.


--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZES6FCONNYBXYC5DTQCOP3ZCNOZNG23Y/


[ovirt-users] Re: Changing certificates for oVirt 4.3.5

2019-09-28 Thread TomK

On 9/26/2019 6:44 AM, TomK wrote:

On 9/26/2019 3:58 AM, Yedidyah Bar David wrote:

On Thu, Sep 26, 2019 at 3:19 AM TomK  wrote:


Hey All,

Would anyone have a more recent wiki on changing all certificates,
including VDSM ones?

Have this page but it's for version 3.

https://access.redhat.com/solutions/2409751


I wasn't aware of this page. It's quite old, but mostly correct.
However, if you do not mind host downtime, it's much easier to re-enroll
certificates for all hosts, instead of the manual steps mentioned there
(that are quite old, perhaps not up-to-date).



Thinking the process didn't change much but wanted to ask if there's
anything more recent floating around.


I am not aware of anything specifically doing what you want.

Related pages you might want to check:

1. Section "Replacing SHA-1 Certificates with SHA-256 Certificates" of:

https://www.ovirt.org/documentation/upgrade-guide/chap-Post-Upgrade_Tasks.html 



2. Only now I noticed that it does not mention the option --san for
setting SubjectAltName. It does appear here:

https://www.ovirt.org/documentation/admin-guide/chap-Utilities.html

See also:

https://www.ovirt.org/develop/release-management/features/infra/pki-renew.html 



So I guess (didn't try recently) that if you follow the existing 
procedures
and generate pki without --san, a later engine-setup will prompt you 
to renew.


Best regards,



Thought I ran that though I probably didn't select the renew all option. 
  However, it did not renew the VDSM one:


[root@ovirt01 ovirt-engine]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
   Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
   Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190926062007-ysyb9p.log

   Version: otopi-1.8.3 (otopi-1.8.3-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup (late)
[ INFO  ] Stage: Environment customization

   --== PRODUCT OPTIONS ==--

[ INFO  ] ovirt-provider-ovn already installed, skipping.

   --== PACKAGES ==--

[ INFO  ] Checking for product updates...
val ub = 100
var totalEven = 0
var totalOdd = 0
while(lb <= ub) {
   if(lb % 2 == 0) totalEven += lb else totalOdd += lb
   lb += 1
}
[ INFO  ] No product updates found

   --== NETWORK CONFIGURATION ==--

   Setup can automatically configure the firewall on this system.
   Note: automatic configuration of the firewall may overwrite 
current settings.
   NOTICE: iptables is deprecated and will be removed in future 
releases
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
   Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value

   Do you want Setup to configure the firewall? (Yes, No) [Yes]:
[ INFO  ] firewalld will be configured as firewall manager.

   --== DATABASE CONFIGURATION ==--

   The detected DWH database size is 48 MB.
   Setup can backup the existing database. The time and space 
required for the database backup depend on its size. This process takes 
time, and in some cases (for instance, when the size is few GBs) may 
take several hours to complete.
   If you choose to not back up the database, and Setup later 
fails for some reason, it will not be able to restore the database and 
all DWH data will be lost.
   Would you like to backup the existing database before 
upgrading it? (Yes, No) [Yes]:

   Perform full vacuum on the oVirt engine history
   database ovirt_engine_history@localhost?
   This operation may take a while depending on this setup 
health and the

   configuration of the db vacuum process.
   See https://www.postgresql.org/docs/10/sql-vacuum.html
   (Yes, No) [No]:

   --== OVIRT ENGINE CONFIGURATION ==--

   Perform full vacuum on the engine database engine@localhost?
   This operation may take a while depending on this setup 
health and the

   configuration of the db vacuum process.
   See https://www.postgresql.org/docs/10/sql-vacuum.html
   (Yes, No) [No]:

   --== STORAGE CONFIGURATION ==--


   --== PKI CONFIGURATION ==--

 

[ovirt-users] Re: 4.2.7 to 4.3.5

2019-09-26 Thread TomK

You would normally do this on lower environments first to test this out.

Do you have a LAB, DEV or QA environment to use before going to PROD?

Specifically about the upgrade, I can only speak to what I did 
yesterday.  Had to go to 4.2.8 from 4.2.1 before going to 4.3.5 .  I did 
get RPM dependency issues but in the end the UI came back up and worked 
like a charm.  However I didn't really have anything I really cared 
about in oVirt.  My environment was only a testing one.


Take a look at the notes here for more detail:

https://www.ovirt.org/release/4.3.3/#centos--rhel

Cheers,
TK

On 9/26/2019 6:47 AM, Demeter Tibor wrote:

Dear list members,

I would like to upgrade my Centos 7.6 based ovirt 4.2 to 4.3.5.
How is safe the upgrade ? How is stable the actual branch ?
It seems to me, in 4.3.x there are a lot of cases caused by live 
migration, snapshot deletion, etc. Are these really existing problems?

So, I'm a little bit afraid of the upgrade.
It is a productive system, I don't want to make an outage.

Thanks in advance,
Regards,

*
*

Tibor


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LHNLHDGBBRHA6I4UOHIPH7H7B5LWQ2IL/




--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XAZJW3HMMORC5X5X2ESPODDJUBO3C4HC/


[ovirt-users] Re: Changing certificates for oVirt 4.3.5

2019-09-26 Thread TomK

On 9/26/2019 3:58 AM, Yedidyah Bar David wrote:

On Thu, Sep 26, 2019 at 3:19 AM TomK  wrote:


Hey All,

Would anyone have a more recent wiki on changing all certificates,
including VDSM ones?

Have this page but it's for version 3.

https://access.redhat.com/solutions/2409751


I wasn't aware of this page. It's quite old, but mostly correct.
However, if you do not mind host downtime, it's much easier to re-enroll
certificates for all hosts, instead of the manual steps mentioned there
(that are quite old, perhaps not up-to-date).



Thinking the process didn't change much but wanted to ask if there's
anything more recent floating around.


I am not aware of anything specifically doing what you want.

Related pages you might want to check:

1. Section "Replacing SHA-1 Certificates with SHA-256 Certificates" of:

https://www.ovirt.org/documentation/upgrade-guide/chap-Post-Upgrade_Tasks.html

2. Only now I noticed that it does not mention the option --san for
setting SubjectAltName. It does appear here:

https://www.ovirt.org/documentation/admin-guide/chap-Utilities.html

See also:

https://www.ovirt.org/develop/release-management/features/infra/pki-renew.html

So I guess (didn't try recently) that if you follow the existing procedures
and generate pki without --san, a later engine-setup will prompt you to renew.

Best regards,



Thought I ran that though I probably didn't select the renew all option. 
 However, it did not renew the VDSM one:


[root@ovirt01 ovirt-engine]# engine-setup
[ INFO  ] Stage: Initializing
[ INFO  ] Stage: Environment setup
  Configuration files: 
['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', 
'/etc/ovirt-engine-setup.conf.d/10-packaging.conf', 
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
  Log file: 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190926062007-ysyb9p.log

  Version: otopi-1.8.3 (otopi-1.8.3-1.el7)
[ INFO  ] Stage: Environment packages setup
[ INFO  ] Stage: Programs detection
[ INFO  ] Stage: Environment setup (late)
[ INFO  ] Stage: Environment customization

  --== PRODUCT OPTIONS ==--

[ INFO  ] ovirt-provider-ovn already installed, skipping.

  --== PACKAGES ==--

[ INFO  ] Checking for product updates...
val ub = 100
var totalEven = 0
var totalOdd = 0
while(lb <= ub) {
  if(lb % 2 == 0) totalEven += lb else totalOdd += lb
  lb += 1
}
[ INFO  ] No product updates found

  --== NETWORK CONFIGURATION ==--

  Setup can automatically configure the firewall on this system.
  Note: automatic configuration of the firewall may overwrite 
current settings.
  NOTICE: iptables is deprecated and will be removed in future 
releases
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value
  Do you want Setup to configure the firewall? (Yes, No) [Yes]: 
[ ERROR ] Invalid value

  Do you want Setup to configure the firewall? (Yes, No) [Yes]:
[ INFO  ] firewalld will be configured as firewall manager.

  --== DATABASE CONFIGURATION ==--

  The detected DWH database size is 48 MB.
  Setup can backup the existing database. The time and space 
required for the database backup depend on its size. This process takes 
time, and in some cases (for instance, when the size is few GBs) may 
take several hours to complete.
  If you choose to not back up the database, and Setup later 
fails for some reason, it will not be able to restore the database and 
all DWH data will be lost.
  Would you like to backup the existing database before 
upgrading it? (Yes, No) [Yes]:

  Perform full vacuum on the oVirt engine history
  database ovirt_engine_history@localhost?
  This operation may take a while depending on this setup 
health and the

  configuration of the db vacuum process.
  See https://www.postgresql.org/docs/10/sql-vacuum.html
  (Yes, No) [No]:

  --== OVIRT ENGINE CONFIGURATION ==--

  Perform full vacuum on the engine database engine@localhost?
  This operation may take a while depending on this setup 
health and the

  configuration of the db vacuum process.
  See https://www.postgresql.org/docs/10/sql-vacuum.html
  (Yes, No) [No]:

  --== STORAGE CONFIGURATION ==--


  --== PKI CONFIGURATION ==--

  One or more of the certificates should be renewed, because 
they expire soo

[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-26 Thread TomK

On 9/26/2019 12:34 AM, Strahil wrote:

Unassigned in 99% of the cases means engine cannot communicate with 
vdsm.service on the host.
Check that vdsm.service & glusterd.service are running.
Check gluster volume status for each volume.
If they are OK - from UI just select activate.


Ya.  See my second post.  VDSM certs have expired so communication 
between hosts and oVirt is broken.  Please see my second post.




Best Regards,
Strahil NikolovOn Sep 25, 2019 22:24, TomK  wrote:


On 9/25/2019 8:49 AM, TomK wrote:

On 9/24/2019 10:55 AM, Sahina Bose wrote:



On Tue, Sep 24, 2019 at 6:38 PM TomK mailto:tomk...@mdevsys.com>> wrote:

     Hey Sahina,

     Thanks very much.

     I've taken a quick glance and it does mention I need a third host
which
     I don't have.

     However, since I wrote, I removed everything.  Had to force remove
     hosts
     however the gluster setup and data in it stayed (Or so I'm thinking).

     I'll read the article more thoroughly however is there a specific
     procedure for adding existing oVirt gluster volumes back into a
cluster?

     One additional question.  Is the sequence below correct?

     1) Create Data Center
     2) Create Cluster within the DC


When you create the cluster - there's an Import cluster option, if I
remember correctly. This should discover the peers and volumes and add
it to the engine


Trying that now.  On a side note, the autodiscovery box is hard to edit.

So in the meantime, trying to up the version to take advantage of some
new features and ensure Gluster 6 is fully supported. Not having luck
with the oVirt UI upgrade at the moment ( Not a self hosted engine. It's
on a separate VM.  ):

--> Processing Conflict:
ovirt-engine-setup-plugin-ovirt-engine-4.3.5.5-1.el7.noarch conflicts
ovirt-engine < 4.2.6
--> Finished Dependency Resolution
Error: Package: ovirt-engine-ui-extensions-1.0.6-1.el7.noarch (ovirt-4.3)
      Requires: ovirt-engine-webadmin-portal >= 4.3
      Installed:
ovirt-engine-webadmin-portal-4.2.1.7-1.el7.centos.noarch (@ovirt-4.2)
      ovirt-engine-webadmin-portal = 4.2.1.7-1.el7.centos
Error: ovirt-engine-setup-plugin-ovirt-engine conflicts with
ovirt-engine-4.2.1.7-1.el7.centos.noarch
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest



Cheers,
TK



Just upgraded to 4.3.5.

What do I do if I can't remove a host from a cluster?  Maintenance
window options Active and Maintenance are grayed out.  Host is currently
showing as Unassigned with an exclamation mark next to it.  Items listed
include:

"Power Management is not configured for this Host. Enable Power Management"
"Gluster status is disconnected for this host. Restart Glusterd service"
"Host has no default route."


I try to modify some of this thinking maybe it will nudge the server out
of it's slumber but get this when trying to fix Power Management:


"Error while executing action:
mdskvm-p01.nix.mds.xyz:
Cannot edit Host. Host parameters cannot be modified while Host is
operational.
Please switch Host to Maintenance mode first."


Of course I can't put it into maintenance since it's grayed out.

Anyway to remove this host and start fresh?

Cheers,
TK




     3) Create a Domain within the Cluster
     4) Add hosts to DC
     5) Import Gluster Volume


4 & 5 not required if you change step 2 to import.
You are running into errors below because the engine sees the addition
of new hosts as gluster peer probing to a new cluster



     Some issues.  I create a DC, add a Cluster then add the Host to it.
     Then
     I try to add another the second node but it says It's already in a
     cluster.  There is no other cluster and the second host is not listed
     anywhere.

     So I try to remove the first host to res



--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3LJI5IFRI3IJNMX2B4DITQO2KKCQ3PKB/


[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-25 Thread TomK

On 9/25/2019 3:24 PM, TomK wrote:

On 9/25/2019 8:49 AM, TomK wrote:

On 9/24/2019 10:55 AM, Sahina Bose wrote:



On Tue, Sep 24, 2019 at 6:38 PM TomK <mailto:tomk...@mdevsys.com>> wrote:


    Hey Sahina,

    Thanks very much.

    I've taken a quick glance and it does mention I need a third host 
which

    I don't have.

    However, since I wrote, I removed everything.  Had to force remove
    hosts
    however the gluster setup and data in it stayed (Or so I'm 
thinking).


    I'll read the article more thoroughly however is there a specific
    procedure for adding existing oVirt gluster volumes back into a 
cluster?


    One additional question.  Is the sequence below correct?

    1) Create Data Center
    2) Create Cluster within the DC


When you create the cluster - there's an Import cluster option, if I 
remember correctly. This should discover the peers and volumes and 
add it to the engine


Trying that now.  On a side note, the autodiscovery box is hard to edit.

So in the meantime, trying to up the version to take advantage of some 
new features and ensure Gluster 6 is fully supported. Not having luck 
with the oVirt UI upgrade at the moment ( Not a self hosted engine. 
It's on a separate VM.  ):


--> Processing Conflict: 
ovirt-engine-setup-plugin-ovirt-engine-4.3.5.5-1.el7.noarch conflicts 
ovirt-engine < 4.2.6

--> Finished Dependency Resolution
Error: Package: ovirt-engine-ui-extensions-1.0.6-1.el7.noarch (ovirt-4.3)
    Requires: ovirt-engine-webadmin-portal >= 4.3
    Installed: 
ovirt-engine-webadmin-portal-4.2.1.7-1.el7.centos.noarch (@ovirt-4.2)

    ovirt-engine-webadmin-portal = 4.2.1.7-1.el7.centos
Error: ovirt-engine-setup-plugin-ovirt-engine conflicts with 
ovirt-engine-4.2.1.7-1.el7.centos.noarch

  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest



Cheers,
TK



Just upgraded to 4.3.5.

What do I do if I can't remove a host from a cluster?  Maintenance 
window options Active and Maintenance are grayed out.  Host is currently 
showing as Unassigned with an exclamation mark next to it.  Items listed 
include:


"Power Management is not configured for this Host. Enable Power Management"
"Gluster status is disconnected for this host. Restart Glusterd service"
"Host has no default route."


I try to modify some of this thinking maybe it will nudge the server out 
of it's slumber but get this when trying to fix Power Management:



"Error while executing action:
mdskvm-p01.nix.mds.xyz:
Cannot edit Host. Host parameters cannot be modified while Host is 
operational.

Please switch Host to Maintenance mode first."


Of course I can't put it into maintenance since it's grayed out.

Anyway to remove this host and start fresh?

Cheers,
TK


Need to update these certs but the host won't be able to refresh them 
until I can remove the host:


2019-09-25 20:33:44,897-04 ERROR 
[org.ovirt.vdsm.jsonrpc.client.reactors.Reactor] (SSL Stomp Reactor) [] 
Unable to process messages General SSLEngine problem
2019-09-25 20:33:44,908-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engineScheduled-Thread-81) [] EVENT_ID: 
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM mdskvm-p01.nix.mds.xyz command 
Get Host Capabilities failed: General SSLEngine problem


Is my understanding correct that oVirt will manage VDSM certificates 
itself including renewing older certificates?  It not, what is the 
latest procedure to update VDSM certificates?


Cheers,
TK







    3) Create a Domain within the Cluster
    4) Add hosts to DC
    5) Import Gluster Volume


4 & 5 not required if you change step 2 to import.
You are running into errors below because the engine sees the 
addition of new hosts as gluster peer probing to a new cluster




    Some issues.  I create a DC, add a Cluster then add the Host to it.
    Then
    I try to add another the second node but it says It's already in a
    cluster.  There is no other cluster and the second host is not 
listed

    anywhere.

    So I try to remove the first host to restart from the beginning.  It
    says I can't remove the only host now till it's in maintenance.
    Maintenance is grayed out.  I wait a bit guessing there's background
    processes running and can finally remove to readd.

    When I try to redo the operation and get to the step of adding 
another

    host, I get:

    "Error while executing action: Server mdskvm-p02.nix.mds.xyz
    <http://mdskvm-p02.nix.mds.xyz> is already
    part of another cluster."

    But I can clearly see it's not there via another oVirt UI window.

    oVirt:
    ovirt-engine-4.2.1.7-1.el7.centos.noarch

    Hosts:
    root@mdskvm-p01: ovirt-host-4.2.3-1.el7.x86_64
    root@mdskvm-p02: ovirt-host-4.2.3-1.el7.x86_64

    System prevents me from removing and restarting the pro

[ovirt-users] Changing certificates for oVirt 4.3.5

2019-09-25 Thread TomK

Hey All,

Would anyone have a more recent wiki on changing all certificates, 
including VDSM ones?


Have this page but it's for version 3.

https://access.redhat.com/solutions/2409751

Thinking the process didn't change much but wanted to ask if there's 
anything more recent floating around.


--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UT6W6KSGIOCPQIA2HO3LG5RAVI57A3RM/


[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-25 Thread TomK

On 9/25/2019 8:49 AM, TomK wrote:

On 9/24/2019 10:55 AM, Sahina Bose wrote:



On Tue, Sep 24, 2019 at 6:38 PM TomK <mailto:tomk...@mdevsys.com>> wrote:


    Hey Sahina,

    Thanks very much.

    I've taken a quick glance and it does mention I need a third host 
which

    I don't have.

    However, since I wrote, I removed everything.  Had to force remove
    hosts
    however the gluster setup and data in it stayed (Or so I'm thinking).

    I'll read the article more thoroughly however is there a specific
    procedure for adding existing oVirt gluster volumes back into a 
cluster?


    One additional question.  Is the sequence below correct?

    1) Create Data Center
    2) Create Cluster within the DC


When you create the cluster - there's an Import cluster option, if I 
remember correctly. This should discover the peers and volumes and add 
it to the engine


Trying that now.  On a side note, the autodiscovery box is hard to edit.

So in the meantime, trying to up the version to take advantage of some 
new features and ensure Gluster 6 is fully supported. Not having luck 
with the oVirt UI upgrade at the moment ( Not a self hosted engine. It's 
on a separate VM.  ):


--> Processing Conflict: 
ovirt-engine-setup-plugin-ovirt-engine-4.3.5.5-1.el7.noarch conflicts 
ovirt-engine < 4.2.6

--> Finished Dependency Resolution
Error: Package: ovirt-engine-ui-extensions-1.0.6-1.el7.noarch (ovirt-4.3)
    Requires: ovirt-engine-webadmin-portal >= 4.3
    Installed: 
ovirt-engine-webadmin-portal-4.2.1.7-1.el7.centos.noarch (@ovirt-4.2)

    ovirt-engine-webadmin-portal = 4.2.1.7-1.el7.centos
Error: ovirt-engine-setup-plugin-ovirt-engine conflicts with 
ovirt-engine-4.2.1.7-1.el7.centos.noarch

  You could try using --skip-broken to work around the problem
  You could try running: rpm -Va --nofiles --nodigest



Cheers,
TK



Just upgraded to 4.3.5.

What do I do if I can't remove a host from a cluster?  Maintenance 
window options Active and Maintenance are grayed out.  Host is currently 
showing as Unassigned with an exclamation mark next to it.  Items listed 
include:


"Power Management is not configured for this Host. Enable Power Management"
"Gluster status is disconnected for this host. Restart Glusterd service"
"Host has no default route."


I try to modify some of this thinking maybe it will nudge the server out 
of it's slumber but get this when trying to fix Power Management:



"Error while executing action:
mdskvm-p01.nix.mds.xyz:
Cannot edit Host. Host parameters cannot be modified while Host is 
operational.

Please switch Host to Maintenance mode first."


Of course I can't put it into maintenance since it's grayed out.

Anyway to remove this host and start fresh?

Cheers,
TK




    3) Create a Domain within the Cluster
    4) Add hosts to DC
    5) Import Gluster Volume


4 & 5 not required if you change step 2 to import.
You are running into errors below because the engine sees the addition 
of new hosts as gluster peer probing to a new cluster




    Some issues.  I create a DC, add a Cluster then add the Host to it.
    Then
    I try to add another the second node but it says It's already in a
    cluster.  There is no other cluster and the second host is not listed
    anywhere.

    So I try to remove the first host to restart from the beginning.  It
    says I can't remove the only host now till it's in maintenance.
    Maintenance is grayed out.  I wait a bit guessing there's background
    processes running and can finally remove to readd.

    When I try to redo the operation and get to the step of adding 
another

    host, I get:

    "Error while executing action: Server mdskvm-p02.nix.mds.xyz
    <http://mdskvm-p02.nix.mds.xyz> is already
    part of another cluster."

    But I can clearly see it's not there via another oVirt UI window.

    oVirt:
    ovirt-engine-4.2.1.7-1.el7.centos.noarch

    Hosts:
    root@mdskvm-p01: ovirt-host-4.2.3-1.el7.x86_64
    root@mdskvm-p02: ovirt-host-4.2.3-1.el7.x86_64

    System prevents me from removing and restarting the process again
    with a:

    Failed Deleting Gluster Volume mdsgv01

    Logs show:

    2019-09-24 09:07:26,765-04 INFO

[org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand]

    (default task-54) [7186786c-6e3f-4c48-858e-4e404e68d130] START,
    GlusterServersListVDSCommand(HostName = mdskvm-p01.nix.mds.xyz
    <http://mdskvm-p01.nix.mds.xyz>,

VdsIdVDSCommandParametersBase:{hostId='0c3943d4-b95a-41f4-bb9c-30731128e057'}), 



    log id: 50f2b07d
    2019-09-24 09:07:26,948-04 INFO

[org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand]

    (EE-ManagedThreadFactory-engine-Thread-348908)
    [7c0605a8-afe1-49a1-ad8f-299ca40a805d] FINISH,
    DeleteGlusterVolumeVDSCommand, log id: 1e8800f1
    2019-09-24 09:07:26,954-04 ERROR

[org.ovirt.en

[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-25 Thread TomK

On 9/24/2019 10:55 AM, Sahina Bose wrote:



On Tue, Sep 24, 2019 at 6:38 PM TomK <mailto:tomk...@mdevsys.com>> wrote:


Hey Sahina,

Thanks very much.

I've taken a quick glance and it does mention I need a third host which
I don't have.

However, since I wrote, I removed everything.  Had to force remove
hosts
however the gluster setup and data in it stayed (Or so I'm thinking).

I'll read the article more thoroughly however is there a specific
procedure for adding existing oVirt gluster volumes back into a cluster?

One additional question.  Is the sequence below correct?

1) Create Data Center
2) Create Cluster within the DC


When you create the cluster - there's an Import cluster option, if I 
remember correctly. This should discover the peers and volumes and add 
it to the engine


Trying that now.  On a side note, the autodiscovery box is hard to edit.

So in the meantime, trying to up the version to take advantage of some 
new features and ensure Gluster 6 is fully supported. Not having luck 
with the oVirt UI upgrade at the moment ( Not a self hosted engine. 
It's on a separate VM.  ):


--> Processing Conflict: 
ovirt-engine-setup-plugin-ovirt-engine-4.3.5.5-1.el7.noarch conflicts 
ovirt-engine < 4.2.6

--> Finished Dependency Resolution
Error: Package: ovirt-engine-ui-extensions-1.0.6-1.el7.noarch (ovirt-4.3)
   Requires: ovirt-engine-webadmin-portal >= 4.3
   Installed: 
ovirt-engine-webadmin-portal-4.2.1.7-1.el7.centos.noarch (@ovirt-4.2)

   ovirt-engine-webadmin-portal = 4.2.1.7-1.el7.centos
Error: ovirt-engine-setup-plugin-ovirt-engine conflicts with 
ovirt-engine-4.2.1.7-1.el7.centos.noarch

 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest



Cheers,
TK



3) Create a Domain within the Cluster
4) Add hosts to DC
5) Import Gluster Volume


4 & 5 not required if you change step 2 to import.
You are running into errors below because the engine sees the addition 
of new hosts as gluster peer probing to a new cluster




Some issues.  I create a DC, add a Cluster then add the Host to it.
Then
I try to add another the second node but it says It's already in a
cluster.  There is no other cluster and the second host is not listed
anywhere.

So I try to remove the first host to restart from the beginning.  It
says I can't remove the only host now till it's in maintenance.
Maintenance is grayed out.  I wait a bit guessing there's background
processes running and can finally remove to readd.

When I try to redo the operation and get to the step of adding another
host, I get:

"Error while executing action: Server mdskvm-p02.nix.mds.xyz
<http://mdskvm-p02.nix.mds.xyz> is already
part of another cluster."

But I can clearly see it's not there via another oVirt UI window.

oVirt:
ovirt-engine-4.2.1.7-1.el7.centos.noarch

Hosts:
root@mdskvm-p01: ovirt-host-4.2.3-1.el7.x86_64
root@mdskvm-p02: ovirt-host-4.2.3-1.el7.x86_64

System prevents me from removing and restarting the process again
with a:

Failed Deleting Gluster Volume mdsgv01

Logs show:

2019-09-24 09:07:26,765-04 INFO
[org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand]
(default task-54) [7186786c-6e3f-4c48-858e-4e404e68d130] START,
GlusterServersListVDSCommand(HostName = mdskvm-p01.nix.mds.xyz
<http://mdskvm-p01.nix.mds.xyz>,

VdsIdVDSCommandParametersBase:{hostId='0c3943d4-b95a-41f4-bb9c-30731128e057'}),

log id: 50f2b07d
2019-09-24 09:07:26,948-04 INFO
[org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-348908)
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] FINISH,
DeleteGlusterVolumeVDSCommand, log id: 1e8800f1
2019-09-24 09:07:26,954-04 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(EE-ManagedThreadFactory-engine-Thread-348908)
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] EVENT_ID:
GLUSTER_VOLUME_DELETE_FAILED(4,011), Could not delete Gluster Volume
mdsgv01 on cluster NIX-DC.
2019-09-24 09:07:26,960-04 INFO
[org.ovirt.engine.core.bll.gluster.DeleteGlusterVolumeCommand]
(EE-ManagedThreadFactory-engine-Thread-348908)
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] Lock freed to object

'EngineLock:{exclusiveLocks='[f8686ba2-2e9b-499b-9d2f-050e3425ec9e=GLUSTER]',

sharedLocks=''}'
2019-09-24 09:07:26,963-04 INFO
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
(DefaultQuartzScheduler6) [51432e7f] START,
GlusterVolumesListVDSCommand(HostName = mdskvm-p01.nix.mds.xyz
<http://mdskvm-p01.nix.mds.xyz>,

GlusterVolumesListVDSParameters:{hostId='0c3943d4-b95a-41f4-bb9c-30731128e057'}),

   

[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-24 Thread TomK

Hey Sahina,

Thanks very much.

I've taken a quick glance and it does mention I need a third host which 
I don't have.


However, since I wrote, I removed everything.  Had to force remove hosts 
however the gluster setup and data in it stayed (Or so I'm thinking).


I'll read the article more thoroughly however is there a specific 
procedure for adding existing oVirt gluster volumes back into a cluster?


One additional question.  Is the sequence below correct?

1) Create Data Center
2) Create Cluster within the DC
3) Create a Domain within the Cluster
4) Add hosts to DC
5) Import Gluster Volume


Some issues.  I create a DC, add a Cluster then add the Host to it. Then 
I try to add another the second node but it says It's already in a 
cluster.  There is no other cluster and the second host is not listed 
anywhere.


So I try to remove the first host to restart from the beginning.  It 
says I can't remove the only host now till it's in maintenance. 
Maintenance is grayed out.  I wait a bit guessing there's background 
processes running and can finally remove to readd.


When I try to redo the operation and get to the step of adding another 
host, I get:


"Error while executing action: Server mdskvm-p02.nix.mds.xyz is already 
part of another cluster."


But I can clearly see it's not there via another oVirt UI window.

oVirt:
ovirt-engine-4.2.1.7-1.el7.centos.noarch

Hosts:
root@mdskvm-p01: ovirt-host-4.2.3-1.el7.x86_64
root@mdskvm-p02: ovirt-host-4.2.3-1.el7.x86_64

System prevents me from removing and restarting the process again with a:

Failed Deleting Gluster Volume mdsgv01

Logs show:

2019-09-24 09:07:26,765-04 INFO 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand] 
(default task-54) [7186786c-6e3f-4c48-858e-4e404e68d130] START, 
GlusterServersListVDSCommand(HostName = mdskvm-p01.nix.mds.xyz, 
VdsIdVDSCommandParametersBase:{hostId='0c3943d4-b95a-41f4-bb9c-30731128e057'}), 
log id: 50f2b07d
2019-09-24 09:07:26,948-04 INFO 
[org.ovirt.engine.core.vdsbroker.gluster.DeleteGlusterVolumeVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-348908) 
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] FINISH, 
DeleteGlusterVolumeVDSCommand, log id: 1e8800f1
2019-09-24 09:07:26,954-04 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-348908) 
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] EVENT_ID: 
GLUSTER_VOLUME_DELETE_FAILED(4,011), Could not delete Gluster Volume 
mdsgv01 on cluster NIX-DC.
2019-09-24 09:07:26,960-04 INFO 
[org.ovirt.engine.core.bll.gluster.DeleteGlusterVolumeCommand] 
(EE-ManagedThreadFactory-engine-Thread-348908) 
[7c0605a8-afe1-49a1-ad8f-299ca40a805d] Lock freed to object 
'EngineLock:{exclusiveLocks='[f8686ba2-2e9b-499b-9d2f-050e3425ec9e=GLUSTER]', 
sharedLocks=''}'
2019-09-24 09:07:26,963-04 INFO 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] 
(DefaultQuartzScheduler6) [51432e7f] START, 
GlusterVolumesListVDSCommand(HostName = mdskvm-p01.nix.mds.xyz, 
GlusterVolumesListVDSParameters:{hostId='0c3943d4-b95a-41f4-bb9c-30731128e057'}), 
log id: 34d8d3d9
2019-09-24 09:07:27,386-04 WARN 
[org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListReturn] 
(DefaultQuartzScheduler6) [51432e7f] Could not add brick 
'mdskvm-p02.nix.mds.xyz:/mnt/p02-d01/glusterv02' to volume 
'f5b57076-dbd4-4d77-ae13-c1f3ee3adbe0' - server uuid 
'ad7d956a-a121-422e-8c5c-56765bdf6a62' not found in cluster 
'f8686ba2-2e9b-499b-9d2f-050e3425ec9e'




Cheers,
TK

On 9/24/2019 5:17 AM, Sahina Bose wrote:



On Mon, Sep 23, 2019 at 6:34 AM TomK <mailto:tomk...@mdevsys.com>> wrote:


Or in other words, how do I remove all resources, clusters,
datacenters,
hosts and readd them under different names?


Does this answer your question - 
https://access.redhat.com/documentation/en-us/red_hat_hyperconverged_infrastructure_for_virtualization/1.5/html-single/maintaining_red_hat_hyperconverged_infrastructure_for_virtualization/index#replacing_gluster_host_diff_fqdn



Cheers,
TK


On 9/22/2019 6:48 PM, TomK wrote:
 > Hey All,
 >
 > Would like to change the hostname of hosts within a gluster volume
 > that's been added to oVirt.
 >
 > I also need to readd the bricks to the gluster volume under the new
 > hostname.  What's the recommended approach to do so when all this is
 > added to oVirt?
 >


-- 
Thx,

TK.
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/3GROTSXKJX4UGKXZAV33AA4UFDUNSJBT/



[ovirt-users] Re: oVirt + Gluster

2019-09-23 Thread TomK

Thanks Strahil!

Search results return info where only Gluster 3.X is supported.

Sometime back I asked if a specific version of Gluster was available 
having issues with GFS 4.1. Was told to wait up a bit even though the 
wiki pages indicated GFS 3.3+ is supported.


https://lists.ovirt.org/archives/list/users@ovirt.org/thread/TLKLRUZXVMTRKLS2I26AEGKETT2BVXRD/

Are there more recent Wiki pages keeping a list of what's supported and 
what's not?


Google returns alot of dated pages for me.

Cheers,
TK

On 9/23/2019 1:29 AM, Strahil wrote:

On the opposite - ovirt supports up to v6 of gluster and in cockpit, you can 
setup your hyperconverged setup (on gluster) abd your hosted engine ontop.

Best Regards,
Strahil NikolovOn Sep 23, 2019 07:20, TomK  wrote:


Hey All,

Seeing GlusterFS up to version 7, do any of the oVirt versions support
anything higher then 3.X?

Or is Gluster not the preferred distributed file system choice for oVirt?

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNKXLMIGLV3GJJVW3PIF2OXV6V3PS3BV/



--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DQ2RAC4L5B2ZIKV5IHWCUPARY2Y3QYQ4/


[ovirt-users] oVirt + Gluster

2019-09-22 Thread TomK

Hey All,

Seeing GlusterFS up to version 7, do any of the oVirt versions support 
anything higher then 3.X?


Or is Gluster not the preferred distributed file system choice for oVirt?

--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNKXLMIGLV3GJJVW3PIF2OXV6V3PS3BV/


[ovirt-users] Re: Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-22 Thread TomK
Or in other words, how do I remove all resources, clusters, datacenters, 
hosts and readd them under different names?


Cheers,
TK


On 9/22/2019 6:48 PM, TomK wrote:

Hey All,

Would like to change the hostname of hosts within a gluster volume 
that's been added to oVirt.


I also need to readd the bricks to the gluster volume under the new 
hostname.  What's the recommended approach to do so when all this is 
added to oVirt?





--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3GROTSXKJX4UGKXZAV33AA4UFDUNSJBT/


[ovirt-users] Change hostname of physical hosts under an oVirt and Gluster combination

2019-09-22 Thread TomK

Hey All,

Would like to change the hostname of hosts within a gluster volume 
that's been added to oVirt.


I also need to readd the bricks to the gluster volume under the new 
hostname.  What's the recommended approach to do so when all this is 
added to oVirt?


--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7JCTEOMPWBQD2DD32VQGTZZ7LUUE3D25/


[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread TomK

Thanks All!

Ok, so configured auditd to watch /etc/resolv.conf and that pointed out 
the problem.


A host that was reverting my changes had these /etc/resolv.conf* files:

[root@mdskvm-p01 etc]# grep -EiR "# Generated by NetworkManager" *
grep: extlinux.conf: No such file or directory
resolv.conf:# Generated by NetworkManager
resolv.conf.save:# Generated by NetworkManager  # <<<<<<<<<<<<<<<
[root@mdskvm-p01 etc]#

[root@mdskvm-p01 etc]# grep -Ei search resolv.conf resolv.conf.save
resolv.conf:search mds.xyz nix.mds.xyz mws.mds.xyz
resolv.conf.save:search mds.xyz
[root@mdskvm-p01 etc]#

and a host where changes to /etc/resolv.conf were not occurring, had 
these files (note the missing .save file):


[root@mdskvm-p02 etc]# grep -EiR "# Generated by NetworkManager" *
grep: extlinux.conf: No such file or directory
resolv.conf:# Generated by NetworkManager
resolv.conf-original:# Generated by NetworkManager
[root@mdskvm-p02 etc]#

The reason why /etc/resolv.conf was reverting on the first host is 
because there is a line in the following ifdown-post network script that 
overwrites /etc/resolv.conf from /etc/resolv.conf.save, if you have it:


[root@mdskvm-p02 network-scripts]# vi ifdown-post
.
.
.
# Remove duplicate DNS entries and shift them,
# to have always correct condition below...
update_DNS_entries

if ! is_false "${PEERDNS}" || is_true "${RESOLV_MODS}" && \
    [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" -o -n "${DNS1}" \
    -o "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ] ; then
    if [ -f /etc/resolv.conf.save ]; then  # <<<<<<<<<<<<<<<<<<<<<
        change_resolv_conf /etc/resolv.conf.save
        rm -f /etc/resolv.conf.save# <<<<<<<<<<<<<<<<<<<<<
    fi
    if [ "${DEVICETYPE}" = "ppp" -o "${DEVICETYPE}" = "ippp" ]; then
        if [ -f /etc/ppp/peers/$DEVICE ] ; then
            rm -f /etc/ppp/peers/$DEVICE
        fi
    fi
fi
.
.
.
.


And the function change_resolv_conf() effectively copies the contents of 
/etc/resolv.conf.save over /etc/resolv.conf thereby overwriting anything 
in it, if it exists (See # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
markers below ):



[root@mdskvm-p02 network-scripts]# vi network-functions
# Invoke this when /etc/resolv.conf has changed:
change_resolv_conf ()
{
s=$(/bin/grep '^[\ \   ]*option' /etc/resolv.conf 2>/dev/null)
if [ $# -gt 1 ]; then
if [ "x$s" != "x" ]; then
s="$s"$'\n'
fi
n_args=$#
while [ $n_args -gt 0 ]; do
case "$s" in
*$1*)
shift
n_args=$(($n_args-1))
continue
;;
esac
s="$s$1"
shift
if [ $# -gt 0 ]; then
s="$s"$'\n'
fi
n_args=$(($n_args-1))
done
elif [ $# -eq 1 ]; then
if [ "x$s" != "x" ]; then
s="$s"$'\n'$(/bin/grep -vF "$s" $1)
else# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
s=$(cat $1)
fi  # <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
fi
(echo "$s" > /etc/resolv.conf) >/dev/null 2>&1;  # <<<<<<<<<<<<<<<<<
r=$?
if [ $r -eq 0 ]; then
[ -x /sbin/restorecon ] && /sbin/restorecon /etc/resolv.conf 
>/dev/null 2>&1 # reset the correct context
/usr/bin/logger -p local7.notice -t "NET" -i "$0 : updated 
/etc/resolv.conf"
[ -e /var/run/nscd/socket ] && /usr/sbin/nscd -i hosts # 
invalidate cache

fi
return $r
}



So you have to modify both files in order to persist the changes or 
simply remove the /etc/resolv.conf.save file.  Appears when some 
older interface parameters were used before I installed oVirt here, they 
triggered creation of the .save file.  Because it exists, it's simply 
used by default.  Hence why changes directly to /etc/resolv.conf 
persisted on the second host: it didn't have a /etc/resolv.conf.save file.


Cheers,
TK

More notes and configuring auditd to watch changes to /etc/resolv.conf:
https://tinyurl.com/y68dgecx


On 9/22/2019 11:0

[ovirt-users] Re: ifcfg-bond0 getting overwritten.

2019-09-22 Thread TomK

This occurs on only one of the oVirt hosts in my cluster.
--
Thx,
TK.

On 9/22/2019 12:08 AM, TomK wrote:

Hey All,

My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search 
string to the configuration.


What's overwriting it and should I be trying to add a search string to 
another location?



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5QTMQX4OGCKQZKZBQ4KI4IBXVTHALET/


[ovirt-users] ifcfg-bond0 getting overwritten.

2019-09-21 Thread TomK

Hey All,

My ifcfg-bond0 is getting overwritten on reboot.  Need to add a search 
string to the configuration.


What's overwriting it and should I be trying to add a search string to 
another location?


--
Thx,
TK.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VBDHXLX7CLBYOCAPYXINCVT725KAW5Q2/


[ovirt-users] IPA Users via AD DC's

2018-11-25 Thread TomK

Hello,

I've configured LDAP via IPA in oVirt 4.X.  It works for locally defined 
users in IPA but not those mapped from the AD DC.  So I had two questions:


1) Is there a format of the username and password I need to type in for 
this to work?  Or is retrieving AD DC mapped users not possible with 
oVirt right now?


2) Can I use two providers in oVirt simultaneously?  One IPA and the 
other AD?


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6TIXNQL3HJUNUP7X5QGKYTELUE33SU6/


[ovirt-users] Re: Ovirt 4.2 rpm glusterfs-gnfs w/ gluster 4.1

2018-10-23 Thread TomK

Great, ty!

Downgraded already.
--
Cheers,
Tom K.
- 


Living on earth is expensive, but it includes a free trip around the sun.

On 10/22/2018 12:21 PM, Sahina Bose wrote:



On Fri, Oct 19, 2018 at 7:06 PM TomK <mailto:tomk...@mdevsys.com>> wrote:


Hey All,

Is there a newer package of glusterfs-gnfs available for GlusterFS
4.1?
After upgrading to GlusterFS 4.1, all the hosts are now disconnected
from the Ovirt engine.


No, and no plans to add it - see 
https://www.spinics.net/lists/gluster-devel/msg25549.html


oVirt 4.2 will not work with gluster 4.1. You'll need to wait for 4.3.


I'm on CentOS 7.5:

---> Package kmod-kvdo.x86_64 0:6.1.0.181-17.el7_5 will be installed
---> Package mokutil.x86_64 0:12-2.el7 will be installed
---> Package python-imgbased.noarch 0:1.0.24-1.el7 will be installed
---> Package vdo.x86_64 0:6.1.0.168-18 will be installed
--> Finished Dependency Resolution
Error: Package: glusterfs-gnfs-3.12.15-1.el7.x86_64
(ovirt-4.2-centos-gluster312)
            Requires: glusterfs-client-xlators(x86-64) = 3.12.15-1.el7
            Installed: glusterfs-client-xlators-4.1.5-1.el7.x86_64
(@centos-gluster41)
                glusterfs-client-xlators(x86-64) = 4.1.5-1.el7
            Available:
glusterfs-client-xlators-3.8.4-53.el7.centos.x86_64 (base)
                glusterfs-client-xlators(x86-64) = 3.8.4-53.el7.centos
            Available:
glusterfs-client-xlators-3.8.4-54.15.el7.centos.x86_64 (updates)
                glusterfs-client-xlators(x86-64) =
3.8.4-54.15.el7.centos

-- 
Cheers,

Tom K.

-

Living on earth is expensive, but it includes a free trip around
the sun.


[root@mdskvm-p02 yum.repos.d]# yum info glusterfs-gnfs
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload,
product-id, search-disabled-repos, subscription-manager, vdsmupgrade
This system is not registered with an entitlement server. You can use
subscription-manager to register.
Loading mirror speeds from cached hostfile
  * base: mirror.csclub.uwaterloo.ca
<http://mirror.csclub.uwaterloo.ca>
  * epel: mirror.csclub.uwaterloo.ca
<http://mirror.csclub.uwaterloo.ca>
  * extras: mirror.csclub.uwaterloo.ca
<http://mirror.csclub.uwaterloo.ca>
  * ovirt-4.2: mirrors.rit.edu <http://mirrors.rit.edu>
  * ovirt-4.2-epel: mirror.csclub.uwaterloo.ca
<http://mirror.csclub.uwaterloo.ca>
  * updates: mirror.csclub.uwaterloo.ca
<http://mirror.csclub.uwaterloo.ca>
Available Packages
Name        : glusterfs-gnfs
Arch        : x86_64
Version     : 3.12.15
Release     : 1.el7
Size        : 166 k
Repo        : ovirt-4.2-centos-gluster312/x86_64
Summary     : GlusterFS gNFS server
URL         : http://gluster.readthedocs.io/en/latest/
License     : GPLv2 or LGPLv3+
Description : GlusterFS is a distributed file-system capable of
scaling
to several
             : petabytes. It aggregates various storage bricks over
Infiniband RDMA
             : or TCP/IP interconnect into one large parallel
network file
             : system. GlusterFS is one of the most sophisticated
file
systems in
             : terms of features and extensibility.  It borrows a
powerful concept
             : called Translators from GNU Hurd kernel. Much of
the code
in GlusterFS
             : is in user space and easily manageable.
             :
             : This package provides the glusterfs legacy gNFS
server xlator
___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLKLRUZXVMTRKLS2I26AEGKETT2BVXRD/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/OQXDFYYPDMWGTBCY47ESKTSVCTLHR7VG/


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Co

[ovirt-users] Ovirt 4.2 rpm glusterfs-gnfs w/ gluster 4.1

2018-10-19 Thread TomK

Hey All,

Is there a newer package of glusterfs-gnfs available for GlusterFS 4.1? 
After upgrading to GlusterFS 4.1, all the hosts are now disconnected 
from the Ovirt engine.


I'm on CentOS 7.5:

---> Package kmod-kvdo.x86_64 0:6.1.0.181-17.el7_5 will be installed
---> Package mokutil.x86_64 0:12-2.el7 will be installed
---> Package python-imgbased.noarch 0:1.0.24-1.el7 will be installed
---> Package vdo.x86_64 0:6.1.0.168-18 will be installed
--> Finished Dependency Resolution
Error: Package: glusterfs-gnfs-3.12.15-1.el7.x86_64 
(ovirt-4.2-centos-gluster312)

   Requires: glusterfs-client-xlators(x86-64) = 3.12.15-1.el7
   Installed: glusterfs-client-xlators-4.1.5-1.el7.x86_64 
(@centos-gluster41)

   glusterfs-client-xlators(x86-64) = 4.1.5-1.el7
   Available: 
glusterfs-client-xlators-3.8.4-53.el7.centos.x86_64 (base)

   glusterfs-client-xlators(x86-64) = 3.8.4-53.el7.centos
   Available: 
glusterfs-client-xlators-3.8.4-54.15.el7.centos.x86_64 (updates)

   glusterfs-client-xlators(x86-64) = 3.8.4-54.15.el7.centos

--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.


[root@mdskvm-p02 yum.repos.d]# yum info glusterfs-gnfs
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, 
product-id, search-disabled-repos, subscription-manager, vdsmupgrade
This system is not registered with an entitlement server. You can use 
subscription-manager to register.

Loading mirror speeds from cached hostfile
 * base: mirror.csclub.uwaterloo.ca
 * epel: mirror.csclub.uwaterloo.ca
 * extras: mirror.csclub.uwaterloo.ca
 * ovirt-4.2: mirrors.rit.edu
 * ovirt-4.2-epel: mirror.csclub.uwaterloo.ca
 * updates: mirror.csclub.uwaterloo.ca
Available Packages
Name: glusterfs-gnfs
Arch: x86_64
Version : 3.12.15
Release : 1.el7
Size: 166 k
Repo: ovirt-4.2-centos-gluster312/x86_64
Summary : GlusterFS gNFS server
URL : http://gluster.readthedocs.io/en/latest/
License : GPLv2 or LGPLv3+
Description : GlusterFS is a distributed file-system capable of scaling 
to several
: petabytes. It aggregates various storage bricks over 
Infiniband RDMA

: or TCP/IP interconnect into one large parallel network file
: system. GlusterFS is one of the most sophisticated file 
systems in
: terms of features and extensibility.  It borrows a 
powerful concept
: called Translators from GNU Hurd kernel. Much of the code 
in GlusterFS

: is in user space and easily manageable.
:
: This package provides the glusterfs legacy gNFS server xlator
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TLKLRUZXVMTRKLS2I26AEGKETT2BVXRD/


[ovirt-users] oVirt KVM Guest Definition: How to read these from within a virtual machine?

2018-04-14 Thread TomK
From within an oVirt (KVM) guest machine, how can I read the guest 
specific definitions such as memory, CPU, disk etc configuration that 
the guest was given?


I would like to do this from within the virtual machine guest.

--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-14 Thread TomK

On 4/5/2018 8:59 AM, Tom wrote:



Sent from my iPhone

On Apr 5, 2018, at 5:29 AM, Yaniv Kaul <yk...@redhat.com 
<mailto:yk...@redhat.com>> wrote:





On Thu, Apr 5, 2018 at 9:08 AM, TomK <tomk...@mdevsys.com 
<mailto:tomk...@mdevsys.com>> wrote:


On 4/4/2018 3:11 AM, Yaniv Kaul wrote:



On Wed, Apr 4, 2018 at 12:39 AM, Tom <t...@mdevsys.com
<mailto:t...@mdevsys.com> <mailto:t...@mdevsys.com
<mailto:t...@mdevsys.com>>> wrote:



    Sent from my iPhone

    On Apr 3, 2018, at 9:32 AM, Yaniv Kaul <yk...@redhat.com
<mailto:yk...@redhat.com>
    <mailto:yk...@redhat.com <mailto:yk...@redhat.com>>> wrote:



    On Tue, Apr 3, 2018 at 3:12 PM, TomK
<tomk...@mdevsys.com <mailto:tomk...@mdevsys.com>
    <mailto:tomk...@mdevsys.com
<mailto:tomk...@mdevsys.com>>> wrote:

        Hey Guy's,

        If I'm looking to setup the oVirt engine in an HA
        configuration off the physical servers hosting my
VM's (non
        self hosted), what are my options here?

        I want to setup two to four active oVirt engine
instances
        elsewhere and handle the HA via something like
haproxy /
        keepalived to keep the entire experience seamless
to the user.


    You will need to set up the oVirt engine service as
well as the PG
    database (and ovirt-engine-dwhd service and any other
service we
    run next to the engine) as highly available module.
    In pacemaker[1], for example.
    You'll need to ensure configuration is also sync'ed
between nodes,
    etc.
    Y.


    So already have one ovirt engine setup separately on a vm that
    manages two remote physical hosts.  So familiar with the
single host
    approach which I would simply replicate.  At least that’s
the idea
    anyway.  Could you please expand a bit on the highly available
    module and  syncing the config between hosts?


That's a different strategy, which is also legit - you treat
this VM as a highly available resource. Now you do not need to
sync the config - just the VM disk and config.


I think there's a postgres component too and if oVirt engine keeps
all it's date on the postgres tables, then synchronizing this
piece might be all I need?  I'm not sure how the separate oVirt
engines sitting on various separate physical hosts keep their
settings in sync about the rest of the physicals in an oVirt
environment. (Assume we may have 100 oVirt physicals for example.)


There's more than just the database, although it contains 99% of what 
you need. See the content of the result of 'engine-backup' command.
I think you might be somewhat confusing between the number of oVirt 
hypervisors (we support hundreds) and the Engine - the management, 
which is single - and with hosted-engine, it's a single, but highly 
available virtual machine - that can run on one of several (I suggest 
3-8) of those hypervisors.

Y.


Yah, still very new to much of this.  Thank you again.

I’ll take that away and do some reading.

Cheers,
Tom



"that can run on one of several (I suggest 3-8) of those hypervisors."
To clarify.  So if I have 3-8 copies of the oVirt Engine in a 
self-hosted config, only one can run at any one time?  Is this correct?


Cheers,
Tom




Perhaps something like

https://www.unixarena.com/2015/12/rhel-7-pacemaker-configuring-ha-kvm-guest.html

<https://www.unixarena.com/2015/12/rhel-7-pacemaker-configuring-ha-kvm-guest.html>
.

But if you are already doing that, I'm not sure why you'd
prefer this over hosted-engine setup.


I'm comparing both options.  I really don't want to ask too many
specific until I have the chance to read into the details of both.

Y.


Cheers,
Tom



    Cheers,
    Tom


    [1] https://clusterlabs.org/quickstart-redhat.html
<https://clusterlabs.org/quickstart-redhat.html>
    <https://clusterlabs.org/quickstart-redhat.html
<https://clusterlabs.org/quickstart-redhat.html>>


        From what I've seen in oVirt, that seems to be
possible
        without the two oVirt engines even knowing each
other's
        existence but is it something anyone has ever
done?  Any
        recommendations in this case?

        Having settings replicated would be a bonus but I
would be
 

Re: [ovirt-users] oVirt non-self-hosted HA

2018-04-05 Thread TomK

On 4/4/2018 3:11 AM, Yaniv Kaul wrote:



On Wed, Apr 4, 2018 at 12:39 AM, Tom <t...@mdevsys.com 
<mailto:t...@mdevsys.com>> wrote:




Sent from my iPhone

On Apr 3, 2018, at 9:32 AM, Yaniv Kaul <yk...@redhat.com
<mailto:yk...@redhat.com>> wrote:




On Tue, Apr 3, 2018 at 3:12 PM, TomK <tomk...@mdevsys.com
<mailto:tomk...@mdevsys.com>> wrote:

Hey Guy's,

If I'm looking to setup the oVirt engine in an HA
configuration off the physical servers hosting my VM's (non
self hosted), what are my options here?

I want to setup two to four active oVirt engine instances
elsewhere and handle the HA via something like haproxy /
keepalived to keep the entire experience seamless to the user.


You will need to set up the oVirt engine service as well as the PG
database (and ovirt-engine-dwhd service and any other service we
run next to the engine) as highly available module.
In pacemaker[1], for example.
You'll need to ensure configuration is also sync'ed between nodes,
etc.
Y.


So already have one ovirt engine setup separately on a vm that
manages two remote physical hosts.  So familiar with the single host
approach which I would simply replicate.  At least that’s the idea
anyway.  Could you please expand a bit on the highly available
module and  syncing the config between hosts?


That's a different strategy, which is also legit - you treat this VM as 
a highly available resource. Now you do not need to sync the config - 
just the VM disk and config.


I think there's a postgres component too and if oVirt engine keeps all 
it's date on the postgres tables, then synchronizing this piece might be 
all I need?  I'm not sure how the separate oVirt engines sitting on 
various separate physical hosts keep their settings in sync about the 
rest of the physicals in an oVirt environment. (Assume we may have 100 
oVirt physicals for example.)


Perhaps something like 
https://www.unixarena.com/2015/12/rhel-7-pacemaker-configuring-ha-kvm-guest.html 
.


But if you are already doing that, I'm not sure why you'd prefer this 
over hosted-engine setup.


I'm comparing both options.  I really don't want to ask too many 
specific until I have the chance to read into the details of both.



Y.


Cheers,
Tom




Cheers,
Tom



[1] https://clusterlabs.org/quickstart-redhat.html
<https://clusterlabs.org/quickstart-redhat.html>


From what I've seen in oVirt, that seems to be possible
without the two oVirt engines even knowing each other's
existence but is it something anyone has ever done?  Any
recommendations in this case?

Having settings replicated would be a bonus but I would be
comfortable if they weren't and I handle that myself.

-- 
Cheers,

Tom K.

-

Living on earth is expensive, but it includes a free trip
around the sun.

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







--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


[ovirt-users] oVirt non-self-hosted HA

2018-04-03 Thread TomK

Hey Guy's,

If I'm looking to setup the oVirt engine in an HA configuration off the 
physical servers hosting my VM's (non self hosted), what are my options 
here?


I want to setup two to four active oVirt engine instances elsewhere and 
handle the HA via something like haproxy / keepalived to keep the entire 
experience seamless to the user.


From what I've seen in oVirt, that seems to be possible without the two 
oVirt engines even knowing each other's existence but is it something 
anyone has ever done?  Any recommendations in this case?


Having settings replicated would be a bonus but I would be comfortable 
if they weren't and I handle that myself.


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


Re: [ovirt-users] ILO2 Fencing

2018-04-02 Thread TomK

On 4/2/2018 6:55 AM, Alex K wrote:
First issue with fencing is solved per an earlier reply.

Second issue has also been solved earlier the way you outlined but I'm 
wondering why oVirt can't use br0 as the ovirtmgmt interface instead? 
What specific settings on br0 does it NOT like?  Is there any provision 
or flexibility to allow for custom defined bridges with oVirt?


I stumbled upon this page:

https://www.ovirt.org/documentation/how-to/networking/bonding-vlan-bridge/

and tried it but oVirt would have none of it.

After I let oVirt setup it's own bridges, I can see the settings it used 
(below) but wondering what *specific* settings in the network scripts 
does it not like?


Would like to know what we can and can't touch in the config files if we 
need to tweak the setup in higher level environments.


Cheers,
Tom


 1098 -rw-rw-r--. 1 root root   289 Mar 29 03:30 ifcfg-ovirtmgmt
   127014 -rw-rw-r--. 1 root root   145 Mar 29 03:30 ifcfg-eth0
   127022 -rw-rw-r--. 1 root root   145 Mar 29 03:30 ifcfg-eth1
   127016 -rw-rw-r--. 1 root root   145 Mar 29 03:30 ifcfg-eth2
   127029 -rw-rw-r--. 1 root root   145 Mar 29 03:30 ifcfg-eth3
 3039 -rw-rw-r--. 1 root root   169 Mar 29 03:30 route-ovirtmgmt
 3200 -rw-rw-r--. 1 root root   166 Mar 29 03:30 rule-ovirtmgmt
   127032 -rw-rw-r--. 1 root root   199 Mar 31 00:35 ifcfg-bond0
   222656 drwxr-xr-x. 2 root root  4096 Mar 31 00:39 .
[root@mdskvm-p01 network-scripts]# cat ifcfg-bond0
# Generated by VDSM version 4.20.23-1.el7.centos
DEVICE=bond0
BONDING_OPTS='mode=1 miimon=100'
BRIDGE=ovirtmgmt
MACADDR=78:e7:d1:8f:4d:26
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
[root@mdskvm-p01 network-scripts]#
[root@mdskvm-p01 network-scripts]#
[root@mdskvm-p01 network-scripts]#
[root@mdskvm-p01 network-scripts]# cat ifcfg-ovirtmgmt
# Generated by VDSM version 4.20.23-1.el7.centos
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
IPADDR=192.168.0.60
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
BOOTPROTO=none
MTU=1500
DEFROUTE=yes
NM_CONTROLLED=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
DNS1=192.168.0.224
DNS2=192.168.0.44
[root@mdskvm-p01 network-scripts]# cat route-ovirtmgmt
# Generated by VDSM version 4.20.23-1.el7.centos
0.0.0.0/0 via 192.168.0.1 dev ovirtmgmt table 3232235580
192.168.0.0/24 via 192.168.0.60 dev ovirtmgmt table 3232235580
[root@mdskvm-p01 network-scripts]# cat rule-ovirtmgmt
# Generated by VDSM version 4.20.23-1.el7.centos
from 192.168.0.0/24 prio 32000 table 3232235580
from all to 192.168.0.0/24 dev ovirtmgmt prio 32000 table 3232235580
[root@mdskvm-p01 network-scripts]#




Hi,

you need a second host so as power management to work.
Since you verified it with command line then adding a second host should 
resolve this issue.


In regards to the interface, you need to remove the bridge interface as 
instructed (make it a simple interface) then leave ovirt to configure it 
ovirtmgmt bridge.



Alex

On Wed, Mar 28, 2018 at 9:17 AM, TomK <tomk...@mdevsys.com 
<mailto:tomk...@mdevsys.com>> wrote:


Hey Guy's,

I've tested my ILO2 fence from the ovirt engine CLI and that works:

fence_ilo2 -a 192.168.0.37 -l  --password=""
--ssl-insecure --tls1.0 -v -o status

The UI gives me:

Test failed: Failed to run fence status-check on host
'ph-host01.my.dom'.  No other host was available to serve as proxy
for the operation.

Going to add a second host in a bit but anyway to get this working
with just one host?  I'm just adding the one host to oVirt for some
POC we are doing atm but the UI forces me to adjust Power Management
settings before proceeding.

Also:

2018-03-28 02:04:15,183-04 WARN [org.ovirt.engine.core.bll.net
<http://org.ovirt.engine.core.bll.net>work.NetworkConfigurator]
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Failed to
find a valid interface for the management network of host
ph-host01.my.dom. If the interface br0 is a bridge, it should be
torn-down manually.
2018-03-28 02:04:15,184-04 ERROR
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand]
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Exception:

org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException:
Interface br0 is invalid for management network


I've these defined as such but not clear what it is expecting:

[root@ph-host01 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
qlen 1
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 <http://127.0.0.1/8> scope host lo
        valid_lft forever preferred_lft forever
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq
master bond0 state UP qlen 1000
     link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
3: eth1: <

[ovirt-users] ILO2 Fencing

2018-04-02 Thread TomK

Hey Guy's,

I've tested my ILO2 fence from the ovirt engine CLI and that works:

fence_ilo2 -a 192.168.0.37 -l  --password="" 
--ssl-insecure --tls1.0 -v -o status


The UI gives me:

Test failed: Failed to run fence status-check on host 
'ph-host01.my.dom'.  No other host was available to serve as proxy for 
the operation.


Going to add a second host in a bit but anyway to get this working with 
just one host?  I'm just adding the one host to oVirt for some POC we 
are doing atm but the UI forces me to adjust Power Management settings 
before proceeding.


Also:

2018-03-28 02:04:15,183-04 WARN 
[org.ovirt.engine.core.bll.network.NetworkConfigurator] 
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Failed to find a 
valid interface for the management network of host ph-host01.my.dom. If 
the interface br0 is a bridge, it should be torn-down manually.
2018-03-28 02:04:15,184-04 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Exception: 
org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException: 
Interface br0 is invalid for management network



I've these defined as such but not clear what it is expecting:

[root@ph-host01 ~]# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc mq 
master bond0 state UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
3: eth1:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
4: eth2:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
5: eth3:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
21: bond0:  mtu 1500 qdisc 
noqueue master br0 state UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
   valid_lft forever preferred_lft forever
23: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN 
qlen 1000

link/ether fe:69:c7:50:0d:dd brd ff:ff:ff:ff:ff:ff
24: br0:  mtu 1500 qdisc noqueue state 
UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
inet 192.168.0.39/23 brd 192.168.1.255 scope global br0
   valid_lft forever preferred_lft forever
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
   valid_lft forever preferred_lft forever
[root@ph-host01 ~]# cd /etc/sysconfig/network-scripts/
[root@ph-host01 network-scripts]# cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.0.39
NETMASK=255.255.254.0
GATEWAY=192.168.0.1
ONBOOT=yes
DELAY=0
USERCTL=no
DEFROUTE=yes
NM_CONTROLLED=no
DOMAIN="my.dom nix.my.dom"
SEARCH="my.dom nix.my.dom"
HOSTNAME=ph-host01.my.dom
DNS1=192.168.0.224
DNS2=192.168.0.44
DNS3=192.168.0.45
ZONE=public
[root@ph-host01 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
BONDING_OPTS="miimon=100 mode=2"
BRIDGE=br0
#
#
# IPADDR=192.168.0.39
# NETMASK=255.255.254.0
# GATEWAY=192.168.0.1
# DNS1=192.168.0.1
[root@ph-host01 network-scripts]#


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


[ovirt-users] [graph.y:363:graphyyerror] 0-parser: syntax error: line 19 (volume 'management'): "cluster.server-quorum-type:", allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'

2018-04-02 Thread TomK

Hey All,

Wondering if anyone see this happen and can provide some hints.

After numerous failed attempts to add a physical host to an oVirt VM 
engine that already had a gluster volume, I get this errors and I'm 
unable to start up gluster anymore:



[2018-03-27 07:01:37.511304] E [MSGID: 101021] 
[graph.y:363:graphyyerror] 0-parser: syntax error: line 19 (volume 
'management'): "cluster.server-quorum-type:"

allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
[2018-03-27 07:01:37.511597] E [MSGID: 100026] 
[glusterfsd.c:2403:glusterfs_process_volfp] 0-: failed to construct the 
graph
[2018-03-27 07:01:37.511791] E [graph.c:1102:glusterfs_graph_destroy] 
(-->/usr/sbin/glusterd(glusterfs_volumes_init+0xfd) [0x55f06827d0cd] 
-->/usr/sbin/glusterd(glusterfs_process_volfp+0x150) [0x55f06827cf60] 
-->/lib64/libglusterfs.so.0(glusterfs_graph_destroy+0x84) 
[0x7f519a816c64] ) 0-graph: invalid argument: graph [Invalid argument]
[2018-03-27 07:01:37.511839] W [glusterfsd.c:1393:cleanup_and_exit] 
(-->/usr/sbin/glusterd(glusterfs_volumes_init+0xfd) [0x55f06827d0cd] 
-->/usr/sbin/glusterd(glusterfs_process_volfp+0x163) [0x55f06827cf73] 
-->/usr/sbin/glusterd(cleanup_and_exit+0x6b) [0x55f06827c49b] ) 0-: 
received signum (-1), shutting down
[2018-03-27 07:02:52.223358] I [MSGID: 100030] [glusterfsd.c:2556:main] 
0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.13.2 
(args: /usr/sbin/glusterd -p /var/run/glusterd.pid --log-level INFO)
[2018-03-27 07:02:52.229816] E [MSGID: 101021] 
[graph.y:363:graphyyerror] 0-parser: syntax error: line 19 (volume 
'management'): "cluster.server-quorum-type:"

allowed tokens are 'volume', 'type', 'subvolumes', 'option', 'end-volume'()
[2018-03-27 07:02:52.230125] E [MSGID: 100026] 
[glusterfsd.c:2403:glusterfs_process_volfp] 0-: failed to construct the 
graph
[2018-03-27 07:02:52.230320] E [graph.c:1102:glusterfs_graph_destroy] 
(-->/usr/sbin/glusterd(glusterfs_volumes_init+0xfd) [0x55832612b0cd] 
-->/usr/sbin/glusterd(glusterfs_process_volfp+0x150) [0x55832612af60] 
-->/lib64/libglusterfs.so.0(glusterfs_graph_destroy+0x84) 
[0x7f9a1ded4c64] ) 0-graph: invalid argument: graph [Invalid argument]
[2018-03-27 07:02:52.230369] W [glusterfsd.c:1393:cleanup_and_exit] 
(-->/usr/sbin/glusterd(glusterfs_volumes_init+0xfd) [0x55832612b0cd] 
-->/usr/sbin/glusterd(glusterfs_process_volfp+0x163) [0x55832612af73] 
-->/usr/sbin/glusterd(cleanup_and_exit+0x6b) [0x55832612a49b] ) 0-: 
received signum (-1), shutting down


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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


[ovirt-users] ILO2 Fencing

2018-03-28 Thread TomK

Hey Guy's,

I've tested my ILO2 fence from the ovirt engine CLI and that works:

fence_ilo2 -a 192.168.0.37 -l  --password="" 
--ssl-insecure --tls1.0 -v -o status


The UI gives me:

Test failed: Failed to run fence status-check on host 
'ph-host01.my.dom'.  No other host was available to serve as proxy for 
the operation.


Going to add a second host in a bit but anyway to get this working with 
just one host?  I'm just adding the one host to oVirt for some POC we 
are doing atm but the UI forces me to adjust Power Management settings 
before proceeding.


Also:

2018-03-28 02:04:15,183-04 WARN 
[org.ovirt.engine.core.bll.network.NetworkConfigurator] 
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Failed to find a 
valid interface for the management network of host ph-host01.my.dom. If 
the interface br0 is a bridge, it should be torn-down manually.
2018-03-28 02:04:15,184-04 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-335) [2d691be9] Exception: 
org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException: 
Interface br0 is invalid for management network



I've these defined as such but not clear what it is expecting:

[root@ph-host01 ~]# ip a
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
   valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc mq 
master bond0 state UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
3: eth1:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
4: eth2:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
5: eth3:  mtu 1500 qdisc mq 
master bond0 state DOWN qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
21: bond0:  mtu 1500 qdisc 
noqueue master br0 state UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
   valid_lft forever preferred_lft forever
23: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN 
qlen 1000

link/ether fe:69:c7:50:0d:dd brd ff:ff:ff:ff:ff:ff
24: br0:  mtu 1500 qdisc noqueue state 
UP qlen 1000

link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff
inet 192.168.0.39/23 brd 192.168.1.255 scope global br0
   valid_lft forever preferred_lft forever
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link
   valid_lft forever preferred_lft forever
[root@ph-host01 ~]# cd /etc/sysconfig/network-scripts/
[root@ph-host01 network-scripts]# cat ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.0.39
NETMASK=255.255.254.0
GATEWAY=192.168.0.1
ONBOOT=yes
DELAY=0
USERCTL=no
DEFROUTE=yes
NM_CONTROLLED=no
DOMAIN="my.dom nix.my.dom"
SEARCH="my.dom nix.my.dom"
HOSTNAME=ph-host01.my.dom
DNS1=192.168.0.224
DNS2=192.168.0.44
DNS3=192.168.0.45
ZONE=public
[root@ph-host01 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
BONDING_OPTS="miimon=100 mode=2"
BRIDGE=br0
#
#
# IPADDR=192.168.0.39
# NETMASK=255.255.254.0
# GATEWAY=192.168.0.1
# DNS1=192.168.0.1
[root@ph-host01 network-scripts]#


--
Cheers,
Tom K.
-

Living on earth is expensive, but it includes a free trip around the sun.

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