[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-18 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-382548654
 
 
   @mdeuser updated the readme with your comments.
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-18 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-382358007
 
 
   @chetanmeh not the same procedure 
   
   At least in OSX I was able to use a vagrant plugin to which requires one 
line in Vagrant :-) tonset new size of disk like 50GB
   But this didn’t work on Windows :-(  will need to dig with @mdeuser on why 
it doesn’t work
   
   Another option is to create a second disk and configure docker to use it for 
images, but I have not figure out how easy to do that. 
   
   My intention is to merge this PR to unblock folks and deal with building all 
images later if required. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-17 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-382214334
 
 
   @mdeuser can you test this branch one more time.
   
   I remove the disksize plugin since you reported problems running on Windows.
   
   I just a got a clean deploy
   ```
   default: Swagger UI URL: 
https://192.168.33.16/api/v1/docs/index.html?url=/api/v1/api-docs
   default: ++ echo 'Swagger UI URL: 
https://192.168.33.16/api/v1/docs/index.html?url=/api/v1/api-docs'
   default: ++ wsk action invoke /whisk.system/utils/echo -p message hello 
--result
   default: {
   default: "message": "hello"
   default: }
   default: +++ date
   default: ++ echo 'Wed Apr 18 01:21:10 UTC 2018: build-deploy-end'
   ```
   skipping the runtimes I was able to not run out of disk space
   ```
   vagrant@ubuntu-xenial:~$ df -h
   Filesystem  Size  Used Avail Use% Mounted on
   udev2.0G 0  2.0G   0% /dev
   tmpfs   396M  6.3M  389M   2% /run
   /dev/sda1   9.7G  5.4G  4.3G  56% /
   tmpfs   2.0G 0  2.0G   0% /dev/shm
   tmpfs   5.0M 0  5.0M   0% /run/lock
   tmpfs   2.0G 0  2.0G   0% /sys/fs/cgroup
   tmpfs   396M 0  396M   0% /run/user/1000
   vagrant 466G  412G   55G  89% /vagrant
   home_vagrant_openwhisk  466G  412G   55G  89% /home/vagrant/openwhisk
   ```
   My timings:
   ```
   vagrant@ubuntu-xenial:~$ cat /tmp/vagrant-times.txt
   Wed Apr 18 01:03:47 UTC 2018: ubuntu-setup-start
   Wed Apr 18 01:06:41 UTC 2018: ubuntu-setup-end
   Wed Apr 18 01:06:42 UTC 2018: couchdb-setup-start
   Wed Apr 18 01:07:20 UTC 2018: couchdb-setup-end
   Wed Apr 18 01:07:27 UTC 2018: build-core-start
   Wed Apr 18 01:15:30 UTC 2018: build-core-end
   Wed Apr 18 01:15:30 UTC 2018: build-cli-start
   Wed Apr 18 01:18:13 UTC 2018: build-cli-end
   Wed Apr 18 01:18:13 UTC 2018: deploy-start
   Wed Apr 18 01:21:10 UTC 2018: build-deploy-end
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-17 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-382214334
 
 
   @mdeuser can you test this branch one more time.
   
   I remove the disksize plugin since you reported problems running on Windows.
   
   I just a got a clean deploy
   ```
   default: Swagger UI URL: 
https://192.168.33.16/api/v1/docs/index.html?url=/api/v1/api-docs
   default: ++ echo 'Swagger UI URL: 
https://192.168.33.16/api/v1/docs/index.html?url=/api/v1/api-docs'
   default: ++ wsk action invoke /whisk.system/utils/echo -p message hello 
--result
   default: {
   default: "message": "hello"
   default: }
   default: +++ date
   default: ++ echo 'Wed Apr 18 01:21:10 UTC 2018: build-deploy-end'
   ```
   skipping the runtimes I was able to not run out of disk space
   ```
   vagrant@ubuntu-xenial:~$ df -h
   Filesystem  Size  Used Avail Use% Mounted on
   udev2.0G 0  2.0G   0% /dev
   tmpfs   396M  6.3M  389M   2% /run
   /dev/sda1   9.7G  5.4G  4.3G  56% /
   tmpfs   2.0G 0  2.0G   0% /dev/shm
   tmpfs   5.0M 0  5.0M   0% /run/lock
   tmpfs   2.0G 0  2.0G   0% /sys/fs/cgroup
   tmpfs   396M 0  396M   0% /run/user/1000
   vagrant 466G  412G   55G  89% /vagrant
   home_vagrant_openwhisk  466G  412G   55G  89% /home/vagrant/openwhisk
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-16 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-381815538
 
 
   I was able to figure out how to increase the size of the disk with a vagrant 
plugin.
   
   @mdeuser check if the plugin works on windows.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] csantanapr commented on issue #3546: Fix vagrant not use runc

2018-04-16 Thread GitBox
csantanapr commented on issue #3546: Fix vagrant not use runc
URL: 
https://github.com/apache/incubator-openwhisk/pull/3546#issuecomment-381757084
 
 
   >May be we can pin Docker version to one where runc works. As while working 
on Mac if I need to try/test out any runc related aspect I rely on Vagrant 
image. So if it works with some older version we can pin Docker to that and 
keep runc enabled
   
   The problem vagrant is using ubuntu16 and installs latest stable, for 
example 18.03.0-ce, so the invoker image would need to be rebuild with the 
matching version.
   
   If you are trying and testing runc related things, then is better to 
experiment with the latest stable release.
   
   I added docs for this special case, for an user to experiment with runc.
   
   The version we recommend and we currently test in Travis and have it pinned 
in the invoker is an older version 1.12
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services