Deployment of multinode all-in-one OpenShift doens't work with CNS

Bug #1811334 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin André

Bug Description

The 3 nodes deployment of OpenShift using the AllInOne role fails when configured with CNS:

TASK [openshift_hosted : Wait for registry pods] *******************************
FAILED - RETRYING: Wait for registry pods (60 retries left).
FAILED - RETRYING: Wait for registry pods (59 retries left).
FAILED - RETRYING: Wait for registry pods (58 retries left).
[...]
FAILED - RETRYING: Wait for registry pods (3 retries left).
FAILED - RETRYING: Wait for registry pods (2 retries left).
FAILED - RETRYING: Wait for registry pods (1 retries left).
fatal: [openshift-openshiftallinone-1]: FAILED! => {"attempts": 60, "changed": false, "results": {"cmd": "/bin/oc get pod --selector=docker-registry=default -o json -n default", "results": [{"apiVersion": "v1", "items": [], "kind": "List", "metadata": {"resourceVersion": "", "selfLink": ""}}], "returncode": 0}, "state": "list"}

PLAY RECAP *********************************************************************
localhost : ok=24 changed=0 unreachable=0 failed=0
openshift-openshiftallinone-0 : ok=359 changed=156 unreachable=0 failed=0
openshift-openshiftallinone-1 : ok=716 changed=303 unreachable=0 failed=1
openshift-openshiftallinone-2 : ok=359 changed=156 unreachable=0 failed=0

INSTALLER STATUS ***************************************************************
Initialization : Complete (0:00:49)
Health Check : Complete (0:00:13)
Node Bootstrap Preparation : Complete (0:04:08)
etcd Install : Complete (0:00:53)
Master Install : Complete (0:06:23)
Master Additional Install : Complete (0:00:43)
Node Join : Complete (0:00:27)
GlusterFS Install : Complete (0:04:12)
Hosted Install : In Progress (0:11:30)

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: stein-2 → stein-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/630045
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=87358befc0ab9ce225b5607c6069ad0973e53482
Submitter: Zuul
Branch: master

commit 87358befc0ab9ce225b5607c6069ad0973e53482
Author: Martin André <email address hidden>
Date: Fri Jan 11 08:22:37 2019 +0100

    Fix deployment of gluster with openshift AllInOne

    When TripleO deploys openshift with CNS, it configures it to setup
    gluster for both the worker nodes and the image registry. However, the
    code was incorrectly adding the glusterfs_registry group only for the
    Infra node and was forgetting about the AllInOne role.

    Closes-Bug: #1811334
    Change-Id: Ib502a28db4d67434686a058562a37d1e1df3e263

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/635445

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/635445
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d2e191e765199df4fcceebe414f0645eecdc6b3d
Submitter: Zuul
Branch: stable/rocky

commit d2e191e765199df4fcceebe414f0645eecdc6b3d
Author: Martin André <email address hidden>
Date: Fri Jan 11 08:22:37 2019 +0100

    Fix deployment of gluster with openshift AllInOne

    When TripleO deploys openshift with CNS, it configures it to setup
    gluster for both the worker nodes and the image registry. However, the
    code was incorrectly adding the glusterfs_registry group only for the
    Infra node and was forgetting about the AllInOne role.

    Closes-Bug: #1811334
    Change-Id: Ib502a28db4d67434686a058562a37d1e1df3e263
    (cherry picked from commit 87358befc0ab9ce225b5607c6069ad0973e53482)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.4.0

This issue was fixed in the openstack/tripleo-heat-templates 10.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.4.0

This issue was fixed in the openstack/tripleo-heat-templates 9.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.