Bug 2189408
| Summary: | [FaaS-Migration] After migration of Provider , new provider also start uninstalling after some time | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | suchita <sgatfane> |
| Component: | odf-managed-service | Assignee: | Ritesh Chikatwar <rchikatw> |
| Status: | VERIFIED --- | QA Contact: | Neha Berry <nberry> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.13 | CC: | kramdoss, odf-bz-bot, rchikatw, resoni, sgatfane |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
suchita
2023-04-25 06:50:16 UTC
The script fetches the aws EBS volumes key, using aws ec2 describe-volumes --volume-id $volumeID --filters Name=tag:kubernetes.io/created-for/pvc/namespace,Values=openshift-storage --region $region --query "Volumes[*].Tags" | jq .[] | jq -r '.[]| select (.Value == "owned")|.Key', which is then used to replace the tag for name. if the default output is not set to json in aws configure, it will fail. If the owned tag is not deleted for old provider, the EBS volumes will be deleted when it deletes the cluster. We think this might be the reason the new provider got deleted. We added the --output flag to each commands where we fetch the tags. That should solve the issue. PR: https://github.com/rchikatw/odf-managed-service-migration/pull/34 Suchita, PR: https://github.com/rchikatw/odf-managed-service-migration/pull/34 is merged please take the latest changes and verify the migration. Yesterday's migration provider is even with a workaround -Removal of tags with appliance mode provider name, in volumes. Still this issue is observed and not immediately after migration, this is after typically 12-14 hours of the first FasS provider creation. I will update further after migration with changes from PR#34 Yesterday's migration provider is even with a workaround -Removal of tags with appliance mode provider name, in volumes. Still this issue is observed and not immediately after migration, this is after typically 12-14 hours of the first FasS provider creation. I will update further after migration with changes from PR#34 After observation on 4 migration setups, ( migration with >= PR#34), this uninstallation of the provider is not observed. Marking this BZ as verified. |