Bug 1856973
| Summary: | [RFE] Make it easier to access plan information in a hook container | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jason Montleon <jmontleo> |
| Component: | Migration Tooling | Assignee: | Jason Montleon <jmontleo> |
| Status: | CLOSED ERRATA | QA Contact: | Xin jiang <xjiang> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.4 | CC: | mberube, rjohnson, sregidor, xjiang |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://github.com/konveyor/mig-controller/pull/587 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1856814 | Environment: | |
| Last Closed: | 2020-09-30 18:42:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1856814 | ||
|
Description
Jason Montleon
2020-07-14 20:10:19 UTC
Verified in MTC 1.3
openshift-migration-rhel7-operator@sha256:233af9517407e792bbb34c58558346f2424b8b0ab54be6f12f9f97513e391a6a
Migrating a namespace with name "hooktests"
This works fine
- hosts: localhost
gather_facts: false
tasks:
- set_fact:
namespace: "{{ (lookup( 'env', 'MIGRATION_NAMESPACES')).split(',') }}"
- debug: msg={{ namespace }}
- fail:
msg: "no namespace defined"
when: namespace|first != "hooktests"
Moved to VERIFIED status.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Migration Toolkit for Containers (MTC) Tool image release advisory 1.3.0), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4148 |