Bug 2233103 - Migrated application unable to pull image from internal registry on target cluster
Summary: Migrated application unable to pull image from internal registry on target cl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: General
Version: 1.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 1.8.0
Assignee: Dylan Murray
QA Contact: ssingla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-21 13:22 UTC by ssingla
Modified: 2023-10-05 01:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-05 01:04:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:5447 0 None None None 2023-10-05 01:04:28 UTC

Description ssingla 2023-08-21 13:22:03 UTC
Description of problem:
On migrating an application to the target cluster, the migrated app fails to pull image from the internal image registry resulting in application failure.


Version-Release number of selected component (if applicable):

4.11 -> 4.13
AWS

How reproducible:
Always

Steps to Reproduce:
1. Deploy django application in source cluster
2. Trigger a migration through a migplan from UI/Backend.
3. Validate the app in target cluster

Actual results:
App pods showing imagepullbackoff not being able to pull image from internal image registry.

Expected results:
App to work fine.

Additional info:

Normal  Pulling        2m42s (x2 over 2m55s) kubelet           Pulling image "image-registry.openshift-image-registry.svc:5000/django/django-psql-persistent@sha256:9a94a8c27e000ec351bcc73333cebcacfb1cf15ced36b83a06a827e50804b7de"
  Warning Failed         2m42s (x2 over 2m55s) kubelet           Failed to pull image "image-registry.openshift-image-registry.svc:5000/django/django-psql-persistent@sha256:9a94a8c27e000ec351bcc73333cebcacfb1cf15ced36b83a06a827e50804b7de": rpc error: code = Unknown desc = unable to retrieve auth token: invalid username/password: authentication required
  Warning Failed         2m42s (x2 over 2m55s) kubelet           Error: ErrImagePull

Comment 1 Dylan Murray 2023-08-21 14:54:34 UTC
Can you please tell us if this application was migrated with direct image migration or indirect image migration?

Comment 2 ssingla 2023-08-21 15:14:03 UTC
@

Comment 3 ssingla 2023-08-21 15:15:35 UTC
Observed this behaviour with both Direct Image and Indirect Image migration.

Comment 10 errata-xmlrpc 2023-10-05 01:04:10 UTC
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 (Important: Migration Toolkit for Containers (MTC) 1.8.0 security and bug fix update), 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/RHSA-2023:5447


Note You need to log in before you can comment on or make changes to this bug.