Jean-Laurent de Morlhon
48554182f1
Merge pull request #2427 from newpcraft/debugmsg_in_daemonresponding
...
add debug message in dockerDaemonResponding function due to helping f…
2015-11-30 09:56:29 +01:00
Jean-Laurent de Morlhon
aa36205174
Merge pull request #2432 from dgageot/provision-logs
...
Add more logs to provisioner
2015-11-27 09:50:42 +01:00
David Gageot
78b088d135
Add more logs to provisioner
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-27 09:36:58 +01:00
CHOE JUNGYEON
83f3c2f921
add debug message in dockerDaemonResponding function due to helping for troubleshooting of docker daemon state
2015-11-27 02:37:50 +09:00
David Gageot
518e3b8bde
Rename to rawDriver
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-26 14:08:09 +01:00
Nathan LeClaire
3a8061221c
Remove RawDriver from persistence on disk
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-25 22:16:24 -08:00
Nathan LeClaire
08565fd198
Merge pull request #2396 from allingeek/master
...
Decoupled RPC Types from API
2015-11-25 22:03:29 -08:00
Nathan LeClaire
1acde29ebe
Merge pull request #2413 from dgageot/simpler-code
...
Simpler code
2015-11-25 15:28:10 -08:00
Jeff Nickoloff
c4a72491ec
Decoupled RPC Types from API
...
Added compatibility for both 5.0 and 5.1 RPC plugins.
Addresses #2325
Signed-off-by: Jeff Nickoloff <jeff@allingeek.com >
modified: libmachine/drivers/plugin/register_driver.go
modified: libmachine/drivers/rpc/client_driver.go
2015-11-25 13:02:31 -08:00
Nathan LeClaire
3ddea9f53f
Merge pull request #2409 from dgageot/more-commands-tests
...
Add more command tests
2015-11-25 10:25:09 -08:00
David Gageot
79efe19887
Simpler code
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-25 19:01:12 +01:00
Jean-Laurent de Morlhon
67b83f518f
Fix #2410
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
Reviewed-by: David Gageot <david@gageot.net >
2015-11-25 18:27:35 +01:00
David Gageot
742cdb958b
Add more command tests
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-25 14:23:29 +01:00
Nathan LeClaire
47da7f8314
Add interfaces for CLI unit testing and env test
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-24 18:09:27 -08:00
Nathan LeClaire
7b483fe0ee
Revise CommandLine interface to contain libmachine client and store
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-24 09:59:58 -08:00
Nathan LeClaire
19ce7b79bd
Revise CommandLine interface to contain libmachine client and store
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-23 19:29:20 -08:00
Jean-Laurent de Morlhon
a55bba3ed2
Move tls-san flag to a local flag for create
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2015-11-23 12:40:07 +01:00
Sam Alba
5b453e6305
Implemented '--tls-san' global arg for adding extra SANs (subject alt names) to server-side certificates
...
Signed-off-by: Sam Alba <sam.alba@gmail.com >
2015-11-23 12:17:29 +01:00
David Gageot
b9b7b6fe54
Merge pull request #2343 from nathanleclaire/systemd_remove_duplication
...
Remove systemd-related driver duplication
2015-11-19 10:10:54 +01:00
Nathan LeClaire
fc0981bd0f
Remove systemd-related driver duplication
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-18 14:36:08 -08:00
David Gageot
b00e30c38f
Revert "Remove systemd-related driver duplication"
...
This reverts commit fda08f5e15 .
Signed-off-by: David Gageot <david@gageot.net >
2015-11-18 17:36:40 +01:00
David Gageot
6de1fd13d3
Plugin's stdout shouldn't show OUT
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-18 16:45:58 +01:00
David Gageot
88c48196ef
Merge pull request #2326 from nathanleclaire/systemd_remove_duplication
...
Remove systemd-related driver duplication
2015-11-18 10:46:35 +01:00
David Gageot
a618a029cf
Merge pull request #2327 from nathanleclaire/netstat_add_flga
...
Add -n to get port number for netstat
2015-11-18 09:27:10 +01:00
Nathan LeClaire
fda08f5e15
Remove systemd-related driver duplication
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-17 19:47:10 -08:00
Nathan LeClaire
1bdedc6ea2
Add -n to get port number for netstat
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-17 18:24:44 -08:00
Nathan LeClaire
a0b75d1645
Merge pull request #2214 from nathanleclaire/delete_bridge
...
Delete bridge after powering daemon down
2015-11-17 16:56:35 -08:00
Thomas Recloux
4457dce51d
Introduce support for ubuntu 15.04 and higher
...
Starting with version 15.04, ubuntu is based on systemd. The existing
ubuntu provider did not support systemd.
This commit introduce a new provider dedicated to systemd based
versions.
The previous provider is renamed to ubuntu_upstart.
Provider detection uses the /etc/os=release VERSION_ID.
Version ID is converted to a float value and then used to choose between
providers.
Unit tests are validating the provisioner compatibility.
Fixes #1891
Signed-off-by: Thomas Recloux <thomas.recloux@gmail.com >
2015-11-17 11:21:41 +01:00
David Gageot
8bbfc6ef2a
Remove unused code
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-13 16:27:50 +01:00
Jean-Laurent de Morlhon
fe37f1fb0d
Fix #2204 broken env unset
...
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net >
2015-11-12 17:32:27 +01:00
Olivier Gambier
89d9854943
Another pass at linting
...
Signed-off-by: Olivier Gambier <olivier@docker.com >
2015-11-10 16:58:14 +01:00
Nathan LeClaire
bc7da2b0fa
Merge pull request #2172 from dgageot/2154-query-virtualbox-serially
...
FIX #2154 query virtualbox serially
2015-11-09 12:00:03 -08:00
Olivier Gambier
93376828af
Merge pull request #2216 from nathanleclaire/plugin_stdout
...
Allow plugins to write to STDOUT
2015-11-07 14:00:12 -08:00
David Gageot
68092b3524
FIX #2154 query virtualbox serially
...
Signed-off-by: David Gageot <david@gageot.net >
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-07 16:14:25 +01:00
Nathan LeClaire
b92a6fd3ce
Allow plugins to write to STDOUT
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-06 18:21:38 -08:00
Nathan LeClaire
a31808d07e
Remove newline
...
Infof adds it automatically.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-06 18:18:06 -08:00
Nathan LeClaire
b0f687b1b8
Merge pull request #2168 from dgageot/2167-b2d-upgrade
...
FIX #2167 b2d download timeout during upgrade
2015-11-06 18:16:52 -08:00
Nathan LeClaire
a020c3eac7
Delete bridge after powering daemon down
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-06 17:49:33 -08:00
Kunal Kushwaha
055de5f276
BugFix: IP in template need as per Struct
...
Lint changes in SwarmCommandOptions chnaged `Ip` to `IP`.
It required change in template code also.
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp >
2015-11-06 15:47:15 +09:00
Olivier Gambier
d2ada6488c
Lint
...
Signed-off-by: Olivier Gambier <olivier@docker.com >
2015-11-05 13:34:07 -08:00
David Gageot
11922080a1
FIX #2171 Fix faulty flag and add tests for SetConfigFromFlags
...
Signed-off-by: David Gageot <david@gageot.net >
2015-11-05 18:57:03 +01:00
David Gageot
1f0de8f84e
FIX #2167 b2d download timeout during upgrade
...
+ Download boot2docker before we stop the machine.
+ Use default(longer) timeout
+ Show b2d download progress
+ Fix typo
+ Add log before stop
Signed-off-by: David Gageot <david@gageot.net >
2015-11-05 09:39:33 +01:00
Nathan LeClaire
ede8f2a32f
Merge pull request #2166 from kunalkushwaha/swarm-proxy
...
Environment variables passed to provision machine, will be passed to …
2015-11-04 18:50:41 -08:00
Kunal Kushwaha
8d2ae162b7
Environment variables passed to provision machine, will be passed to containers for swarm also.
...
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp >
2015-11-05 11:27:58 +09:00
Nathan LeClaire
6be950f1c0
Merge pull request #2117 from dmp42/08-carry-on-2033
...
Carry on commits from #2033
2015-11-04 16:41:40 -08:00
Nathan LeClaire
828cb12e2c
Merge pull request #2177 from dmp42/13-lint-attempt-again
...
Lint, step 1
2015-11-04 15:29:52 -08:00
Nathan LeClaire
47aa16cff4
Merge pull request #2135 from janeczku/plugin-versioning
...
Fail gracefully when plugin binary implements outdated API
2015-11-04 14:40:54 -08:00
Olivier Gambier
19fc49b58a
Lint, step 1
...
The easy stuff
Signed-off-by: Olivier Gambier <olivier@docker.com >
2015-11-04 14:17:58 -08:00
Jan Broer
66ca5b07a2
Fail gracefully when plugin binary implements outdated API
...
Signed-off-by: Jan Broer <janeczku@yahoo.de >
2015-11-04 14:24:01 +01:00
Nathan LeClaire
9a4bc9a20d
Ensure that ls will still work when plugin cannot be found
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2015-11-03 11:35:30 -08:00