-
Notifications
You must be signed in to change notification settings - Fork 82
migrator not able to pull from v1 registry #100
Comments
Yes, it adds https by default but if your registry runs without TLS, you can use the following flags: ...or if just one of them uses http: |
I already have that flag set. Any ideas as to why I'm still getting that error? |
For the actual values of: Are you using localhost or anything with Also, at what point are you getting the error? |
No, I am using server names with port 5000 specified. e.g myServername:5000 I am getting the error when the migrator tries to pull the images from the V1 registry. I should note that I am running the migrator on the second host machine that has registry v2, Here is a snippet of the error:
|
And by "I get the same error when trying to pull from an individual command.", you're saying that if you do a: |
Yep, you got it. |
OK, that's definitely going to be an issue. Anything in the docker daemon logs from that node when you're trying to pull? Like watching the daemon logs while attempting to pull (same node): Might actually need debug logs to get enough info though. Also, RHEL 6 is notoriously terrible for running docker because there isn't proper kernel support to do so. |
I noticed when I tried to watch the log concurrently that it would not update during the 'trouble part' in the script. Seeing the same behavior when running the command individually. |
That's probably where enabling debugging on the daemon logs would be useful. It's been a while since I've used RHEL 6 but I believe it should just be updating systemd to add the debug flag to the |
Just to clarify am I getting the debug logs from the v1 registry? Or from the migrator container? |
This would be the debug logs from the node from where you're running the |
Here are the debug logs. I noticed a warning: client and server don't have the same version (client 1.6.2, server:1.7.1) which is strange because my client has 1.4.1.
|
The client/server warning is probably because you're running the migrator container; it has a 1.6.2 docker client for backwards compatibility reasons but it isn't a critical warning. The error I am seeing is complaining about not having the proper |
Yep, I did. |
Can you provide the output of |
I set the flags in /etc/sysconfig/docker because my system does not use systemd. But, here is the output:
|
I am attempting to migrate images from a 0.8.1 registry running on a rhel 6.5 server with docker engine 1.4 to a v2 registry running on a rhel 6.7 server with docker engine 1.7.1. I am able to pull the list of images but when the script tries to pull the images I get an error response from the daemon : invalid registry endpoint <v1_registry>/v0/:unable to ping registry endpoint.
I get the same error when trying to pull from an individual command. I noticed the registry adds https in front of the registry name even though I have added the --insecure-registry flag on both machines.
Here is my command:
Any help will be greatly appreciated.
The text was updated successfully, but these errors were encountered: