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 <[email protected] <mailto:[email protected]>> 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 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'}),

    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 <[email protected]
    <mailto:[email protected]>
     > <mailto:[email protected] <mailto:[email protected]>>> 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 -- [email protected]
    <mailto:[email protected]> <mailto:[email protected]
    <mailto:[email protected]>>
     >     To unsubscribe send an email to [email protected]
    <mailto:[email protected]>
     >     <mailto:[email protected] <mailto:[email protected]>>
     >     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/[email protected]/message/3GROTSXKJX4UGKXZAV33AA4UFDUNSJBT/
     >
     >
     > _______________________________________________
     > Users mailing list -- [email protected] <mailto:[email protected]>
     > To unsubscribe send an email to [email protected]
    <mailto:[email protected]>
     > 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/[email protected]/message/L4VQBZCDGGRCTZ55CXYYQN2TMWD47DOP/
     >


    --     Thx,
    TK.


_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/QXVU2EEWFAEV2KF6USW765QYRGJT7UTB/




_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/C2K7WCJVOAN6RIOEANSJOQDOML7UXW3L/





--
Thx,
TK.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/BHZP7ZXWNEQELIY42QMKSJSOKWEC6UOX/

Reply via email to