Skip to content

Track 2 -> 3 ingress breaks upgrade #280

@MichaelThamm

Description

@MichaelThamm

When trying to run the cross-track upgrade CI itests, we get an error:

│ Error: Client Error

│ with module.cos-lite.juju_integration.ingress["alertmanager"],
│ on .terraform/modules/cos-lite/terraform/cos-lite/integrations.tf line 209, in resource "juju_integration" "ingress":
│ 209: resource "juju_integration" "ingress" {

│ Unable to create integration, got error: cannot add relation
│ "alertmanager:ingress traefik:ingress": relation alertmanager:ingress
│ traefik:ingress is dying, but not yet removed (already exists)

I think this is because the Terraform state for the relation used to be module.cos-lite.juju_integration.alertmanager_ingress, but is now module.cos-lite.juju_integration.ingress["alertmanager"] due to this feature:

We need to update our upgrade docs or account for this in the TF module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions