mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig w <codecr...@gmail.com>
Subject Re: Docker Private Registry problem when update from 0.23 to 0.25
Date Fri, 23 Oct 2015 11:50:05 GMT
I wasn't sure because of this comment:
https://github.com/mesosphere/marathon/pull/2462#issuecomment-148703383

On Fri, Oct 23, 2015 at 7:41 AM, haosdent <haosdent@gmail.com> wrote:

> According https://github.com/mesosphere/marathon/pull/2462 , I think the
> patches merge into 0.12.0-RC1 and 0.11.1 doesn't contain yet.
>
> On Fri, Oct 23, 2015 at 7:32 PM, craig w <codecraig@gmail.com> wrote:
>
>> Has anyone confirmed that Mesos 0.25.0 with Marathon 0.11.1 with a
>> private docker registry (without credentials) works?
>>
>> On Thu, Oct 15, 2015 at 4:51 PM, Jan Stabenow <
>> j.stabenow@livespottingmedia.com> wrote:
>>
>>> Marathon 0.11.1 + Mesos 0.25.0 + private Docker-Reg (without
>>> credentials) works, but with a new error. Marathon (or Mesos) finished each
>>> task with an "finished-state" immediately.
>>>
>>> So let’s wait…
>>> https://github.com/mesosphere/marathon/pull/2462#issuecomment-148482471
>>>
>>>
>>> Am 15.10.2015 um 21:29 schrieb Jan Stabenow <
>>> j.stabenow@livespottingmedia.com>:
>>>
>>> Hey Brian,
>>>
>>> sorry for my late response.
>>>
>>> I'll try the latest 0.11.1.
>>>
>>> This may be one of the problems:
>>> https://github.com/mesosphere/marathon/pull/2415
>>>
>>>
>>> Am 15.10.2015 um 21:14 schrieb craig w <codecraig@gmail.com>:
>>>
>>> I've successfully pulled images from a private registry using Mesos
>>> 0.24.1 and marathon 0.11. I use forcePullImage: true.
>>> On Oct 15, 2015 2:25 PM, "Brian Devins" <badevins@gmail.com> wrote:
>>>
>>>> Has anyone found some resolution for this?
>>>>
>>>> I have the mesosphere repo versions of mesos and marathon. 0.24.1 and
>>>> 0.11.0 respectively. I have also tried 0.10.1 for marathon but still no
>>>> dice. I can manually pull the images if I log into the box.
>>>>
>>>> On Wed, Oct 14, 2015 at 2:30 AM, Joachim Andersson <
>>>> Joachim.Andersson@resurs.se> wrote:
>>>>
>>>>>
>>>>> Those images I have tried with Marathon 0.11
>>>>>
>>>>>
>>>>>
>>>>> I use         "disk": 512,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Here is my app config.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> {
>>>>>
>>>>>         "id": "/marathonkempaffb060830d6ad074c66923b77f75e199a4c8a23",
>>>>>
>>>>>         "env": {
>>>>>
>>>>>             "GIT_CALCULATED_BRANCH":
>>>>> "affb060830d6ad074c66923b77f75e199a4c8a23",
>>>>>
>>>>>             "marathonkemp_kemp_password": "!12345!m",
>>>>>
>>>>>         },
>>>>>
>>>>>         "instances": 1,
>>>>>
>>>>>         "cpus": 0.5,
>>>>>
>>>>>         "mem": 1024,
>>>>>
>>>>>         "disk": 512,
>>>>>
>>>>>         "executor": "",
>>>>>
>>>>>         "constraints": [
>>>>>
>>>>>             [
>>>>>
>>>>>                 "hostname",
>>>>>
>>>>>                 "UNIQUE"
>>>>>
>>>>>             ]
>>>>>
>>>>>         ],
>>>>>
>>>>>         "container": {
>>>>>
>>>>>             "type": "DOCKER",
>>>>>
>>>>>             "volumes": [],
>>>>>
>>>>>             "docker": {
>>>>>
>>>>>                 "image":
>>>>> "dockerregistry.dte.loc:80/marathonkemp:affb060830d6ad074c66923b77f75e199a4c8a23",
>>>>>
>>>>>                 "network": "BRIDGE",
>>>>>
>>>>>                 "portMappings": [
>>>>>
>>>>>                     {
>>>>>
>>>>>                         "containerPort": 8080,
>>>>>
>>>>>                         "hostPort": 0,
>>>>>
>>>>>                         "servicePort": 10000,
>>>>>
>>>>>                         "protocol": "tcp"
>>>>>
>>>>>                     },
>>>>>
>>>>>                     {
>>>>>
>>>>>                         "containerPort": 8000,
>>>>>
>>>>>                         "hostPort": 0,
>>>>>
>>>>>                         "servicePort": 10001,
>>>>>
>>>>>                         "protocol": "tcp"
>>>>>
>>>>>                     },
>>>>>
>>>>>                     {
>>>>>
>>>>>                         "containerPort": 9010,
>>>>>
>>>>>                         "hostPort": 0,
>>>>>
>>>>>                         "servicePort": 10002,
>>>>>
>>>>>                         "protocol": "tcp"
>>>>>
>>>>>                     }
>>>>>
>>>>>                 ],
>>>>>
>>>>>                 "privileged": false,
>>>>>
>>>>>                 "parameters": [],
>>>>>
>>>>>                 "forcePullImage": false
>>>>>
>>>>>             }
>>>>>
>>>>>         },
>>>>>
>>>>>         "healthChecks": [
>>>>>
>>>>>             {
>>>>>
>>>>>                 "path": ".",
>>>>>
>>>>>                 "protocol": "HTTP",
>>>>>
>>>>>                 "portIndex": 0,
>>>>>
>>>>>                 "gracePeriodSeconds": 360,
>>>>>
>>>>>                 "intervalSeconds": 30,
>>>>>
>>>>>                 "timeoutSeconds": 10,
>>>>>
>>>>>                 "maxConsecutiveFailures": 3,
>>>>>
>>>>>                 "ignoreHttp1xx": false
>>>>>
>>>>>             }
>>>>>
>>>>>         ]
>>>>>
>>>>>
>>>>>
>>>>>     }
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Remove a env parameters
>>>>>
>>>>>
>>>>>
>>>>> <c99478.png> Joachim Andersson Systemutvecklare IT | Utveckling
>>>>>
>>>>>
>>>>>
>>>>> Resurs Bank AB Ekslingan 9 Box 22209, SE-250 24 Helsingborg
>>>>>
>>>>>
>>>>>
>>>>> Direkt Tfn: +46 700 528171 Mobil: +46 700 528171 Växel: +46 42 38 20
>>>>> 00 E-post: Joachim.Andersson@resurs.se Webb: www.resursbank.se
>>>>>
>>>>>
>>>>>
>>>>> *Från:* Jan Stabenow [mailto:j.stabenow@livespottingmedia.com]
>>>>> *Skickat:* den 13 oktober 2015 15:52
>>>>> *Till:* user@mesos.apache.org
>>>>> *Ämne:* Re: Docker Private Registry problem when update from 0.23 to
>>>>> 0.25
>>>>>
>>>>>
>>>>>
>>>>> Hey!
>>>>>
>>>>>
>>>>>
>>>>> I had the same problems when upgrading 0.23 > 0.24.1 +! marathon 0.10
>>>>> > 0.11
>>>>>
>>>>> Have you set the disk-limit in your app-config? If not, set this
>>>>> ("disk": "value") and try it again.
>>>>>
>>>>>
>>>>>
>>>>> Looks like there's a problem with Marathon, but not sure.
>>>>>
>>>>>
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> Jan
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Am 13.10.2015 um 14:14 schrieb Joachim Andersson <
>>>>> Joachim.Andersson@resurs.se>:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> When i deploed with forcePullImage=true it dosn't work in Marathon
>>>>> 0.11 but when I downgraded to Marathon 0.10 it works,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> <c3b4c2.png>
>>>>>
>>>>> *Joachim Andersson*
>>>>>
>>>>> *Systemutvecklare*
>>>>>
>>>>> *IT | Utveckling*
>>>>>
>>>>>
>>>>>
>>>>> Resurs Bank AB
>>>>>
>>>>> Ekslingan 9
>>>>>
>>>>> Box 22209, SE-250 24 Helsingborg
>>>>>
>>>>>
>>>>>
>>>>> Direkt Tfn:
>>>>>
>>>>> +46 700 528171
>>>>>
>>>>> Mobil:
>>>>>
>>>>> +46 700 528171
>>>>>
>>>>> Växel:
>>>>>
>>>>> +46 42 38 20 00
>>>>>
>>>>> E-post:
>>>>>
>>>>> Joachim.Andersson@resurs.se
>>>>>
>>>>> Webb:
>>>>>
>>>>> www.resursbank.se
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Från:* Joachim Andersson [mailto:Joachim.Andersson@resurs.se
>>>>> <Joachim.Andersson@resurs.se>]
>>>>> *Skickat:* den 13 oktober 2015 13:24
>>>>> *Till:* user@mesos.apache.org
>>>>> *Ämne:* Docker Private Registry problem when update from 0.23 to 0.25
>>>>>
>>>>>
>>>>>
>>>>> Hi, I updated from 0.23 to 0.25 of mesos and to Marathon 0.11
>>>>>
>>>>>
>>>>>
>>>>> When running docker containers from the public repository it works
>>>>> fine.
>>>>>
>>>>> But when I try to run from my local repository the images don't start.
>>>>>
>>>>>
>>>>>
>>>>> If I start them on my slave with docker run repository:80/image it
>>>>> works fine.
>>>>>
>>>>>
>>>>>
>>>>> Anyone have any simmular problem or any idea what it could be?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> //Joachim
>>>>>
>>>>>
>>>>>
>>>>> <image001.png>
>>>>>
>>>>> *Joachim Andersson*
>>>>>
>>>>> *Systemutvecklare*
>>>>>
>>>>> *IT | Utveckling*
>>>>>
>>>>>
>>>>>
>>>>> Resurs Bank AB
>>>>>
>>>>> Ekslingan 9
>>>>>
>>>>> Box 22209, SE-250 24 Helsingborg
>>>>>
>>>>>
>>>>>
>>>>> Direkt Tfn:
>>>>>
>>>>> +46 700 528171
>>>>>
>>>>> Mobil:
>>>>>
>>>>> +46 700 528171
>>>>>
>>>>> Växel:
>>>>>
>>>>> +46 42 38 20 00
>>>>>
>>>>> E-post:
>>>>>
>>>>> Joachim.Andersson@resurs.se
>>>>>
>>>>> Webb:
>>>>>
>>>>> www.resursbank.se
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>>
>> --
>>
>> https://github.com/mindscratch
>> https://www.google.com/+CraigWickesser
>> https://twitter.com/mind_scratch
>> https://twitter.com/craig_links
>>
>>
>
>
> --
> Best Regards,
> Haosdent Huang
>



-- 

https://github.com/mindscratch
https://www.google.com/+CraigWickesser
https://twitter.com/mind_scratch
https://twitter.com/craig_links

Mime
View raw message