Skip to content

staging not working, upgrades not possible #10404

Closed

Description

@mrjones-plip

Describe the issue
When you query staging.dev.medicmobile isn't serving up the correct JSON to enable upgrades. Instead it's pointing to a CHT 5 instance, almost certainly a Cinque test instance from the helm ticket

Describe the improvement you'd like
fix staging so it serves the the correct info for deployments to upgrade

Describe alternatives you've considered
NA

Activity

  1. mrjones-plip commented on Oct 23, 2025

    @mrjones-plip
    ContributorAuthor

    The timeline was something like this (all times Pacific)

    1. Oct 22 ~2pm: test push of mrjones.dev.medicmobile.org to dev EKS cluster test helm chart upgrades
    2. Oct 22 ~2pm: Ingress for mrjones.dev.medicmobile.org doesn't - it's missing a bunch annotations, finalizers and host values
    3. Oct 22 ~3pm: kubectl edit ingress -n mrjones-dev -o yaml is done to manually fix annotations, finalizers and host on ingress. this works, but due to a miss-configurations, causes staging.dev.medicmobile.org to be routed to mrjones.dev.medicmobile.org deployment. At this point all upgrades are impossible because staging is effectively offline
    4. Oct 22 11.24pm: at least one an end user notices an issue with their *.dev.medicmobile.org on dev EKS cluster also being miss-routed
    5. Oct 23 ~5.50am: @dianabarsan notices that staging server has been replaced with a CHT instance
    6. Oct 23 6.52am: ingress is fixed, upgrades now work

    The crux of the issue seems to have been on stop 3 above:

    spec:
      ingressClassName: alb
      rules:
      - host: mrjones.dev.medicmobile.org
      - http:
          paths:
    

    This passed 2 rules to the ingress, one for host and one separate one for http (which went and created the empty rule with no host). http shouldn't have the "dash" (-), which then would nest those parameters under the host rule.

  2. mrjones-plip commented on Oct 23, 2025

    @mrjones-plip
    ContributorAuthor

    See private slack thread as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions