These are chat archives for docker/machine

19th
Jun 2015
Koichi Shiraishi
@zchee
Jun 19 2015 08:17
[dlsniper] @ichekrygin can you give a sample project which uses that?
Koichi Shiraishi
@zchee
Jun 19 2015 10:36
[nmarasoiu] Hi guys, I see quite a few, perhaps duplicated networking jira issues with docker, and only half of them seem resolved, my pain is especially around udp, e.g. docker/docker#8795 - do you know why we do not receive feedback from owners on these ones?
Koichi Shiraishi
@zchee
Jun 19 2015 10:50
[dlsniper] @zchee I honestly don't know how to reply to this. It doesn't seem to be related at all to the Go plugin for IntelliJ Platform. Do I miss something?
Koichi Shiraishi
@zchee
Jun 19 2015 11:41
[zolotov] @simongui any updates about your configuration?
Koichi Shiraishi
@zchee
Jun 19 2015 14:38
[simongui] @zolotov sorry fighting production fires, I'll try to find some time and catch up on whats going on with the issue :)
[zolotov] sure, thanks
Koichi Shiraishi
@zchee
Jun 19 2015 15:49
[ichekrygin] @dlsniper here is vim-go: fatih/vim-go#420
[zolotov] @ichekrygin vim-go isn’t look like a sample project which uses gb
[dlsniper] @ichekrygin that's the vim-go plugin, it's not a go project using a gb
[ichekrygin] oh.. misunderstood, are you asking for intellij project?
[zolotov] just any go-project
[zolotov] that uses gb
[ichekrygin] got it, let me set it up
[dlsniper] @ichekrygin I, we, are asking for a Go project that uses gb, any projects, not a IntelliJ one or otherwise. Anything like: github.com/dlsniper/gogbproject should be ok as long as it's using gb
Koichi Shiraishi
@zchee
Jun 19 2015 16:00
[dlsniper] @zolotov in regards to the issue @simongui reported. I can recreate the issue with the setup he described but I can't add the libraries from the _vendor dir to the Project Libraries in Go Libraries.
I have the following setup:
[ichekrygin] Here it is: https://github.com/ichekrygin/gb-demo
Koichi Shiraishi
@zchee
Jun 19 2015 16:05
[ichekrygin] in nutshell it doesn't use global $GOPATH, instead it uses gb vendor command to bring dependency locally (to the project) under ./vendor/src
[zolotov] Thanks, will try to teach plugin to understand such projects
[ichekrygin] I tired to give it a stub myself, it seem that "current" intellij plugin "always" defaults to global $GOPATH
Koichi Shiraishi
@zchee
Jun 19 2015 16:17
[zolotov] what means current? alpha and nighlty releases allow you to define project-level GOPATH
[dlsniper] @zolotov I've tried with the project from @ichekrygin but, as with the one from @simongui, I can't set the Project Library to vendor directory. I'll try to look into it later on if you are too busy, this weekend I'll finally have some time off
[ichekrygin] @zolotov :) should of said current to me :) https://github.com/go-lang-plugin-org/go-lang-idea-plugin.git, sha 02ecbaf
[zolotov] @ichekrygin ok :)
Koichi Shiraishi
@zchee
Jun 19 2015 17:44
[sharonjl] how does one open the "Go Libraries configuration" window, after the initial setup?
Koichi Shiraishi
@zchee
Jun 19 2015 17:53
[zolotov] Popup with a link will be shown for each project with the link to this configuration.
Also you can reach the configurable via File | Settings | Language & Frameworks | Go
Koichi Shiraishi
@zchee
Jun 19 2015 19:09
[sharonjl] ok ty
Stefano Harding
@riddopic
Jun 19 2015 22:41

Hello. I have been using docker-machine without issue for some time now except recently with the 3.0 version things have not been working out as well. I’m on OS X using VMware Fusion. Whenever I try to create a machine the docker-machine commands just hangs forever.
Running in debug mode:

docker-machine -D create -d vmwarefusion dev
Creating SSH key...
Creating VM...
VixDiskLib: Invalid configuration file parameter. Failed to read configuration file.
Creating disk '/Users/sharding/.docker/machine/machines/dev/dev.vmdk'
Virtual disk creation successful.
Starting dev...
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun start /Users/sharding/.docker/machine/machines/dev/dev.vmx nogui
Waiting for VM to come online...
MAC address in VMX: 00:0c:29:62:6a:2f
IP found in DHCP lease table: 172.16.91.128
Got an ip: 172.16.91.128
Creating Tar key bundle...
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser directoryExistsInGuest /Users/sharding/.docker/machine/machines/dev/dev.vmx /var/lib/boot2docker
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser CopyFileFromHostToGuest /Users/sharding/.docker/machine/machines/dev/dev.vmx /Users/sharding/.docker/machine/machines/dev/userdata.tar /home/docker/userdata.tar
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser runScriptInGuest /Users/sharding/.docker/machine/machines/dev/dev.vmx /bin/sh sudo /bin/mv /home/docker/userdata.tar /var/lib/boot2docker/userdata.tar && sudo tar xf /var/lib/boot2docker/userdata.tar -C /home/docker/ > /var/log/userdata.log 2>&1 && sudo chown -R docker:staff /home/docker
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser enableSharedFolders /Users/sharding/.docker/machine/machines/dev/dev.vmx
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser addSharedFolder /Users/sharding/.docker/machine/machines/dev/dev.vmx Users /Users
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun -gu docker -gp tcuser runScriptInGuest /Users/sharding/.docker/machine/machines/dev/dev.vmx /bin/sh sudo mkdir /Users && sudo mount -t vmhgfs .host:/Users /Users
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun list
Getting to WaitForSSH function...
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun list
MAC address in VMX: 00:0c:29:62:6a:2f
IP found in DHCP lease table: 172.16.91.128
Testing TCP connection to: 172.16.91.128:22
executing: /Applications/VMware Fusion.app/Contents/Library/vmrun list
MAC address in VMX: 00:0c:29:62:6a:2f
IP found in DHCP lease table: 172.16.91.128
Using SSH client type: external
About to run SSH command:
exit 0
&{/usr/bin/ssh [/usr/bin/ssh -o PasswordAuthentication=no -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -i /Users/sharding/.docker/machine/machines/dev/id_rsa -p 22 docker@172.16.91.128 exit 0] [] <nil> <nil> <nil> [] <nil> <nil> <nil> ?reflect.Value? false [] [] [] [] <nil>}

If can open up a new windows and docker-machine ssh dev just fine but docker-machine env dev returns:

docker-machine env dev
open /Users/sharding/.docker/machine/machines/dev/ca.pem: no such file or directory

This is all I see in my .docker/machine/certs dir:

ls -l ~/.docker/machine/certs/
total 32
-rw------- 1 sharding staff 1.6K Jun 19 15:37 ca-key.pem
-rw-r--r-- 1 sharding staff 1.0K Jun 19 15:37 ca.pem
-rw-r--r-- 1 sharding staff 1.0K Jun 19 15:37 cert.pem
-rw------- 1 sharding staff 1.6K Jun 19 15:37 key.pem

Is there a new switch of flag perhaps that I am missing?

Koichi Shiraishi
@zchee
Jun 19 2015 23:24
[dlsniper] @zchee This is not related at all with the go plugin for IntelliJ Platform.
[dlsniper] I'm not sure what other plugin you are using for Gitter or whatever you do but it seems it's cross-posting between rooms and it's really not fun to have this happening. I hope you can understand
[fkautz] @zchee you're also cross posting to docker/docker
[dlsniper] Also, as a useful hint, please consider using pastebin or similar services when posting long stack traces (or very long questions like the one above) as it will make the life of people reading it easier in case it's a public chat flow like gitter has rather that an issue like in a issue tracker