csantanapr commented on issue #3269: change tmp dir for vagrant
URL: 
https://github.com/apache/incubator-openwhisk/pull/3269#issuecomment-364619139
 
 
   it works for me
   ```
   ==> default: ++ echo 'Swagger UI URL: 
https://192.168.33.13/api/v1/docs/index.html?url=/api/v1/api-docs'
   ==> default: +++ cat /home/vagrant/openwhisk/ansible/files/auth.guest
   ==> default: ++ wsk property set --apihost 192.168.33.13 --namespace guest 
--auth 
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
   ==> default: ok: whisk auth set. Run 'wsk property get --auth' to see the 
new value.
   ==> default: ok: whisk API host set to 192.168.33.13
   ==> default: ok: whisk namespace set to guest
   ==> default: ++ wsk action invoke /whisk.system/utils/echo -p message hello 
--result
   ==> default: {
   ==> default:     "message": "hello"
   ==> default: }
   ==> default: +++ date
   ==> default: ++ echo 'Sat Feb 10 02:16:28 UTC 2018: build-deploy-end'
   ~/Documents/dev/whisk/git/apache/incubator-openwhisk/tools/vagrant 
(vagrant_tmp_dir_override)
   ?  $ vagrant ssh
   Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-135-generic x86_64)
   
   vagrant@vagrant-ubuntu-trusty-64:~$ wsk action invoke 
/whisk.system/utils/echo -p message hello --result
   {
       "message": "hello"
   }
   vagrant@vagrant-ubuntu-trusty-64:~$ exit
   logout
   Shared connection to 127.0.0.1 closed.
   
   
   ?  $ vagrant reload
   ==> default: Attempting graceful shutdown of VM...
   ==> default: Checking if box 'ubuntu/trusty64' is up to date...
   ==> default: There was a problem while downloading the metadata for your box
   ==> default: to check for updates. This is not an error, since it is usually 
due
   ==> default: to temporary network problems. This is just a warning. The 
problem
   ==> default: encountered was:
   ==> default:
   ==> default: The requested URL returned error: 404 Not Found
   ==> default:
   ==> default: If you want to check for box updates, verify your network 
connection
   ==> default: is valid and try again.
   ==> default: Setting the name of the VM: whisk-1802092122
   ==> default: Clearing any previously set forwarded ports...
   ==> default: Clearing any previously set network interfaces...
   ==> default: Preparing network interfaces based on configuration...
       default: Adapter 1: nat
       default: Adapter 2: hostonly
   ==> default: Forwarding ports...
       default: 22 (guest) => 2222 (host) (adapter 1)
   ==> default: Running 'pre-boot' VM customizations...
   ==> default: Booting VM...
   ==> default: Waiting for machine to boot. This may take a few minutes...
       default: SSH address: 127.0.0.1:2222
       default: SSH username: vagrant
       default: SSH auth method: private key
   ==> default: Machine booted and ready!
   ==> default: Checking for guest additions in VM...
       default: The guest additions on this VM do not match the installed 
version of
       default: VirtualBox! In most cases this is fine, but in rare cases it can
       default: prevent things such as shared folders from working properly. If 
you see
       default: shared folder errors, please make sure the guest additions 
within the
       default: virtual machine match the version of VirtualBox you have 
installed on
       default: your host and reload your VM.
       default:
       default: Guest Additions Version: 4.3.36
       default: VirtualBox Version: 5.1
   ==> default: Configuring and enabling network interfaces...
   ==> default: Mounting shared folders...
       default: /vagrant => 
/Users/csantanapr/Documents/dev/whisk/git/apache/incubator-openwhisk/tools/vagrant
       default: /home/vagrant/openwhisk => 
/Users/csantanapr/Documents/dev/whisk/git/apache/incubator-openwhisk
   ==> default: Machine already provisioned. Run `vagrant provision` or use the 
`--provision`
   ==> default: flag to force provisioning. Provisioners marked to run always 
will still run.
   
   Last login: Sat Feb 10 02:18:26 2018 from 10.0.2.2
   vagrant@vagrant-ubuntu-trusty-64:~$  wsk action invoke 
/whisk.system/utils/echo -p message hello --result
   {
       "message": "hello"
   }
   ~/Documents/dev/whisk/git/apache/incubator-openwhisk/tools/vagrant 
(vagrant_tmp_dir_override)
   ?  $ vagrant halt
   ==> default: Attempting graceful shutdown of VM...
   ~/Documents/dev/whisk/git/apache/incubator-openwhisk/tools/vagrant 
(vagrant_tmp_dir_override)
   ?  $ vagrant up
   Bringing machine 'default' up with 'virtualbox' provider...
   ==> default: Checking if box 'ubuntu/trusty64' is up to date...
   ==> default: There was a problem while downloading the metadata for your box
   ==> default: to check for updates. This is not an error, since it is usually 
due
   ==> default: to temporary network problems. This is just a warning. The 
problem
   ==> default: encountered was:
   ==> default:
   ==> default: The requested URL returned error: 404 Not Found
   ==> default:
   ==> default: If you want to check for box updates, verify your network 
connection
   ==> default: is valid and try again.
   ==> default:
   
   ?  $ vagrant ssh
   Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-135-generic x86_64)
   
   
   
   Last login: Sat Feb 10 02:23:33 2018 from 10.0.2.2
   vagrant@vagrant-ubuntu-trusty-64:~$ docker ps
   CONTAINER ID        IMAGE                         COMMAND                  
CREATED             STATUS              PORTS                                   
                                                              NAMES
   113ca711ffdb        whisk/nodejs6action:latest    "/bin/sh -c 'node --e"   4 
seconds ago       Up 3 seconds                                                  
                                                            
wsk0_1_prewarm_nodejs6
   9270336d4fdf        whisk/nodejs6action:latest    "/bin/sh -c 'node --e"   4 
seconds ago       Up 3 seconds                                                  
                                                            
wsk0_2_prewarm_nodejs6
   34de8c860fdb        nginx:1.11                    "nginx -g 'daemon off"   9 
minutes ago       Up 18 seconds       0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 
0.0.0.0:8443->8443/tcp                                      nginx
   06794f574fd3        whisk/invoker:latest          "/bin/sh -c 'exec /in"   
10 minutes ago      Up 18 seconds       0.0.0.0:17000->17000/tcp, 
0.0.0.0:18000->18000/tcp, 0.0.0.0:12001->8080/tcp                           
invoker0
   968a4a75e579        whisk/controller:latest       "/bin/sh -c 'exec /in"   
10 minutes ago      Up 18 seconds       0.0.0.0:15000->15000/tcp, 
0.0.0.0:16000->16000/tcp, 0.0.0.0:8000->2551/tcp, 0.0.0.0:10001->8080/tcp   
controller0
   1aafe81bed53        wurstmeister/kafka:0.11.0.1   "start-kafka.sh"         
10 minutes ago      Up 9 seconds        0.0.0.0:9092->9092/tcp                  
                                                              kafka0
   f6d9f8d49360        zookeeper:3.4                 "/docker-entrypoint.s"   
11 minutes ago      Up 18 seconds       0.0.0.0:2181->2181/tcp, 
0.0.0.0:2888->2888/tcp, 0.0.0.0:3888->3888/tcp                                
zookeeper0
   fb0db24f782a        openwhisk/apigateway:0.9.8    "/usr/bin/dumb-init -"   
11 minutes ago      Up 18 seconds       80/tcp, 8423/tcp, 
0.0.0.0:9000->9000/tcp, 0.0.0.0:9001->8080/tcp                                  
    apigateway
   922fa3c28c6d        redis:3.2                     "docker-entrypoint.sh"   
12 minutes ago      Up 18 seconds       0.0.0.0:6379->6379/tcp                  
                                                              redis
   f72b9f434da0        apache/couchdb:2.1            "tini -- /docker-entr"   
24 minutes ago      Up 18 seconds       0.0.0.0:4369->4369/tcp, 
0.0.0.0:5984->5984/tcp, 0.0.0.0:9100->9100/tcp                                
couchdb
   vagrant@vagrant-ubuntu-trusty-64:~$
   
   vagrant@vagrant-ubuntu-trusty-64:~$ env | grep OPENWHISK
   OPENWHISK_TMP_DIR=/home/vagrant/.openwhisk/ansible/tmp
   OPENWHISK_HOME=/home/vagrant/openwhisk
   
   
   vagrant@vagrant-ubuntu-trusty-64:~$ env | grep OPENWHISK
   OPENWHISK_TMP_DIR=/home/vagrant/.openwhisk/ansible/tmp
   OPENWHISK_HOME=/home/vagrant/openwhisk
   vagrant@vagrant-ubuntu-trusty-64:~$ find $OPENWHISK_TMP_DIR
   /home/vagrant/.openwhisk/ansible/tmp
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/controller0
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/controller0/controller0_logs.log
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/invoker0
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/invoker0/invoker0_logs.log
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/nginx
   /home/vagrant/.openwhisk/ansible/tmp/wsklogs/nginx/nginx_access.log
   /home/vagrant/.openwhisk/ansible/tmp/wskconf
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/invoker
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/invoker/invoker0
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/controller
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/controller/controller0
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/openwhisk-client-ca-cert.pem
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/openwhisk-server-key.pem
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/content.json
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/386
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/386/OpenWhisk_CLI-linux-32bit.tgz
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/386/wsk
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/amd64
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/amd64/wsk
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/amd64/OpenWhisk_CLI-linux.tgz
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/s390x
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/s390x/OpenWhisk_CLI-linux-s390x.tgz
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/linux/s390x/wsk
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/386
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/386/OpenWhisk_CLI-mac-32bit.zip
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/386/wsk
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/amd64
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/amd64/OpenWhisk_CLI-mac.zip
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/mac/amd64/wsk
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/386
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/386/OpenWhisk_CLI-windows-32bit.zip
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/386/wsk.exe
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/amd64
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/amd64/wsk.exe
   
/home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/cli/go/download/windows/amd64/OpenWhisk_CLI-windows.zip
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/openwhisk-server-cert.pem
   /home/vagrant/.openwhisk/ansible/tmp/wskconf/nginx/nginx.conf
   vagrant@vagrant-ubuntu-trusty-64:~$ 
/wskconf/nginx/cli/go/download/linux/amd64/wsk
   -bash: /wskconf/nginx/cli/go/download/linux/amd64/wsk: No such file or 
directory
   vagrant@vagrant-ubuntu-trusty-64:~$ 
/wskconf/nginx/cli/go/download/linux/amd64/wsk
   -bash: /wskconf/nginx/cli/go/download/linux/amd64/wsk: No such file or 
directory
   
   ```

----------------------------------------------------------------
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

Reply via email to