I think you are not building the project correctly, try from root directory:
./gradlew :core:controller:distDocker

> On Mar 2, 2018, at 4:05 PM, Kumar Subramanian <kumarsubr...@vmware.com> wrote:
> 
> This is the error I get when I did docker build (for Controller)
> 
> Step 1/7 : FROM scala
> repository scala not found: does not exist or no pull access
> 
> 
> Any Suggestions?
> 
> On 3/2/18, 3:34 PM, "Carlos Santana" <csantan...@gmail.com> wrote:
> 
>    No that it’s still in PR 
> 
>    Just pull the changes locally and build 
> 
>    - Carlos Santana
>    @csantanapr
> 
>> On Mar 2, 2018, at 6:20 PM, Kumar Subramanian <kumarsubr...@vmware.com> 
>> wrote:
>> 
>> Is that change at 
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__github.com_chetanmeh_incubator-2Dopenwhisk_blob_fa302249f4f9b4e6b3084956f18bda987674f46f_core_controller_Dockerfile%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DnLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k%26s%3D0_zv4jTDip5Uk9oBB5-6Ka_Iug3KYWIhy7qzSDryqM0%26e&data=02%7C01%7Ctnorris%40adobe.com%7Cc2d6aafb43154cc7083c08d5809a83ee%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636556323482732670&sdata=hS0hPqNGFD64wu7WZRc73QI9TninsqoNQC6eda5phkc%3D&reserved=0=
>>  not merged? I don’t see change in master 
>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__github.com_apache_incubator-2Dopenwhisk_blob_master_core_controller_Dockerfile%26d%3DDwIFaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DnLubLAFijdQ4pOPqIydDI_wguMgbdmdmoMXcP7g-m8k%26s%3DTdB-IjihM3-0dqBF029dSMkoWbZHBAUXXqeDjfQMlhg%26e&data=02%7C01%7Ctnorris%40adobe.com%7Cc2d6aafb43154cc7083c08d5809a83ee%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636556323482732670&sdata=da8Mpx4BTRk2Y41rhPOxU%2BPm7PgtH7%2FzZVoyGr6h4%2F4%3D&reserved=0=
>> 
>> Thanks,
>> Kumar. 
>> 
>> On 3/2/18, 2:59 PM, "Kumar Subramanian" <kumarsubr...@vmware.com> wrote:
>> 
>>   Ok, I will try to build the controller image and see. Will keep you posted.
>> 
>>   On 3/2/18, 2:39 PM, "Tyson Norris" <tnor...@adobe.com.INVALID> wrote:
>> 
>>       Thanks Carlos - I think you’re right. 
>> 
>> 
>> 
>>       Kumar you can either build the controller image with that PR, or else 
>> you should be able to manually set the docker cmd, e.g. /bin/sh -c \"exec 
>> /init.sh 0 >> /dev/stdout\” on the dcos service for controller; 
>> 
>> 
>> 
>>       I think you will have similar issue with invoker, mostly because this 
>> universe is far out of date from current openwhisk images. 
>> 
>> 
>> 
>>       For invoker can you use the docker cmd as /bin/sh -c \"exec /init.sh 
>> --name $LIBPROCESS_IP >> /dev/stdout\”
>> 
>> 
>> 
>>       Additionally, the env vars (both invoker and controller) have changed 
>> substantially, so I would expect a few hiccups there as well. 
>> 
>> 
>> 
>>       We are working on getting updates to the universe so that our internal 
>> deployment details are not included, and it will actually work with recent 
>> openwhisk images (and stay working) but haven’t gotten everything set just 
>> yet. 
>> 
>> 
>> 
>>       Hope that helps
>> 
>>       Tyson
>> 
>> 
>> 
>>>> On Mar 2, 2018, at 2:21 PM, Carlos Santana <csantan...@gmail.com> wrote:
>>> 
>>> 
>> 
>>> Maybe for the init.sh this PR is related
>> 
>>> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__na01.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fgithub.com-252Fapache-252Fincubator-2Dopenwhisk-252Fpull-252F3374-252Ffiles-2523diff-2D8f445fbdf6253dd176975ff6c629def4R18-26data-3D02-257C01-257Ctnorris-2540adobe.com-257C605cc50c7a484ccb833708d5808bfe64-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C0-257C636556261107863657-26sdata-3Dtk8Des10hubLs7FNSgzDlsk1ibxDTIqSlXti-252FcAUyz0-253D-26reserved-3D0%26d%3DDwIGaQ%26c%3DuilaK90D4TOVoH58JNXRgQ%26r%3DF5C8fYlpBJ270qrdwLq2iRQrPd1CLap8zItxk8laWpo%26m%3DLUthdew4Dt10vSAZSYRBbREqgwWk2PUWc4KDBJtt0uU%26s%3D3UqWljTQjItMnzWhPrsfD1AF2IX6abtc9dYRfrxb2_M%26e&data=02%7C01%7Ctnorris%40adobe.com%7Cc2d6aafb43154cc7083c08d5809a83ee%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636556323482732670&sdata=flnQQdXUP4v99%2FbqGW2KmeWl1Uc5akssb1Q8zJAohLY%3D&reserved=0=
>> 
>>> 
>> 
>>> 
>> 
>>> On Fri, Mar 2, 2018 at 5:09 PM Tyson Norris <tnor...@adobe.com.invalid>
>> 
>>> wrote:
>> 
>>> 
>> 
>>>> Check your marathon/dcos service config to verify what image is used, and
>> 
>>>> that you have the latest image pulled?
>> 
>>>> 
>> 
>>>> The default should be openwhisk/controller - but I see that universe
>> 
>>>> package marathon config is not set to force pull, so if you are using that
>> 
>>>> image, make sure you have pulled the latest manually (or change the config
>> 
>>>> to force pull in dcos/marathon ui).
>> 
>>>> 
>> 
>>>> Tyson
>> 
>>>> 
>> 
>>>>> On Mar 2, 2018, at 12:45 PM, Kumar Subramanian <kumarsubr...@vmware.com>
>> 
>>>> wrote:
>> 
>>>>> 
>> 
>>>>> Hi,
>> 
>>>>> I have installed the following in DCOS successfully:
>> 
>>>>> 1. Apigateway
>> 
>>>>> 2. Exhibitor-dcos
>> 
>>>>> 3. Kafka (name given is mykafka at the time of installation)
>> 
>>>>> 4. Whisk-couchdb
>> 
>>>>> 5. Consul
>> 
>>>>> 6. Registrator
>> 
>>>>> 
>> 
>>>>> Eror when deploying Whisk-Controller in DCOS:
>> 
>>>>> When I tried to deploy whisk-controller with default settings, then the
>> 
>>>> service fails to deploy (it just kills and redploys the service
>> 
>>>> continuously on its own when deploying)
>> 
>>>>> 
>> 
>>>>> Here is the content in the Error and Output
>> 
>>>>> 
>> 
>>>>> STDERR:
>> 
>>>>> (AT BEGINNING OF FILE)
>> 
>>>>> I0302 20:38:35.176177 19822 exec.cpp:162] Version: 1.2.3
>> 
>>>>> I0302 20:38:35.180703 19824 exec.cpp:237] Executor registered on agent
>> 
>>>> 995020e0-5129-44a3-8cf4-65900838b3af-S6
>> 
>>>>> docker: Error response from daemon: Container command 'init.sh' not
>> 
>>>> found or does not exist..
>> 
>>>>> 
>> 
>>>>> OUTPUT:
>> 
>>>>> (AT BEGINNING OF FILE)
>> 
>>>>> Registered docker executor on 10.0.6.55
>> 
>>>>> Starting task whisk-controller.adb62c44-1e59-11e8-8754-3afdc003616b
>> 
>>>>> 
>> 
>>>>> Can you please provide your valuable inputs on how to get
>> 
>>>> whisk-controller deployed in dcos?
>> 
>>>>> 
>> 
>>>>> Thanks,
>> 
>>>>> Kumar.
>> 
>>>>> 
>> 
>>>> 
>> 
>>>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

Reply via email to