Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subctl upgrade failed - failed to upgrade from 0.17.1 to 0.18.0-rc0 #1148

Closed
maayanf24 opened this issue Jun 6, 2024 · 1 comment · Fixed by #1150
Closed

subctl upgrade failed - failed to upgrade from 0.17.1 to 0.18.0-rc0 #1148

maayanf24 opened this issue Jun 6, 2024 · 1 comment · Fixed by #1150
Assignees
Labels
bug Something isn't working testday-0.18.0

Comments

@maayanf24
Copy link
Contributor

What happened:
subctl upgrade --to-version 0.18.0-rc0 failed to upgrade submariner-gateway pod

What you expected to happen:
All of submariner components should be upgraded to requested version

How to reproduce it (as minimally and precisely as possible):
use subctl 0.17.1 to deploy submariner
run: subctl upgrade --to-version 0.18.0-rc0

Anything else we need to know?:
Output from: kubectl describe daemonset submariner-gateway -n submariner-operator:
`
Events:
Type Reason Age From Message


Warning FailedCreate 7s (x20 over 38m) daemonset-controller Error creating: pods "submariner-gateway-" is forbidden: volume with secret.secretName="broker-secret-4647f" is not allowed because service account submariner-gateway does not reference that secret
`

output from: kubectl get secrets -n submariner-operator:
NAME TYPE DATA AGE broker-secret-4647f Opaque 3 26m submariner-ipsec-psk Opaque 1 26m

Environment:

  • Diagnose information (use subctl diagnose all):
  • Gather information (use subctl gather)
  • Cloud provider or hardware configuration:
  • Install tools:
  • Others:
@maayanf24 maayanf24 added bug Something isn't working testday-0.18.0 labels Jun 6, 2024
@tpantelis
Copy link
Contributor

The broker secret was renamed to "submariner-broker-secret" by #1128 so we need to migrate it.

@tpantelis tpantelis self-assigned this Jun 6, 2024
tpantelis added a commit to tpantelis/subctl that referenced this issue Jun 6, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit to tpantelis/subctl that referenced this issue Jun 6, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
skitt pushed a commit that referenced this issue Jun 11, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes #1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit to tpantelis/subctl that referenced this issue Jun 12, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit that referenced this issue Jun 13, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes #1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
skitt pushed a commit to skitt/subctl that referenced this issue Jul 1, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
skitt pushed a commit to skitt/subctl that referenced this issue Jul 1, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit to skitt/subctl that referenced this issue Jul 9, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit to skitt/subctl that referenced this issue Jul 9, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes submariner-io#1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit that referenced this issue Jul 9, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes #1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
tpantelis added a commit that referenced this issue Jul 9, 2024
The broker secret has been renamed to submariner-broker-secret
so copy the old secret with the new name and delete the old one.
Also update the BrokerK8sSecret field in the Submariner object.

Fixes #1148

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testday-0.18.0
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants