Solomon Hykes
7093411a8d
Initialize devicemapper in NewRuntimeFromDIrectory
2013-10-15 03:53:48 +00:00
Guillaume J. Charmes
5778ed7db2
Make sure the base device is well created before running the tests
2013-10-14 18:36:18 -07:00
Michael Crosby
3455c1a098
Use incrementing prefix on pool and loopback to allow dind
2013-10-14 17:48:43 -07:00
Michael Crosby
5dd12ba20a
Ignore cleanup with /dev/mapper does not exist
2013-10-14 14:23:58 -07:00
Solomon Hykes
5892c8e469
Merge pull request #2199 from alexlarsson/dm-docs
...
Add some docs for newly exported functions
2013-10-14 13:33:21 -07:00
Solomon Hykes
20e3e8c07d
Merge pull request #2200 from alexlarsson/dm-remove-unused
...
Runtime: Remove unused funtion hasFilesystemSupport()
2013-10-14 13:24:53 -07:00
Solomon Hykes
79c0c4470f
Merge pull request #2182 from dotcloud/cleanup-dm-unittests
...
Clean up better from previous unit-test runs
2013-10-14 12:29:59 -07:00
Solomon Hykes
4dedd9a9aa
Merge pull request #2183 from dotcloud/migrate-aufs
...
Migrate aufs to new device mapper backend
2013-10-14 12:28:28 -07:00
Solomon Hykes
063ebbab68
Merge pull request #2184 from dotcloud/dm-rmi
...
Do not allow image to be deleted when containers are dependent
2013-10-14 12:27:19 -07:00
Guillaume J. Charmes
ea92dc2e8c
Add error return to cleanup, use os.OpenFile instead of syscall.Open, Make sure the pools are removed after all other devices
2013-10-14 12:26:46 -07:00
Michael Crosby
7f429e0ceb
Do not allow image to be deleted when containers are dependent
2013-10-14 09:47:01 -07:00
Alexander Larsson
bb42801cdc
Runtime: Remove unused funtion hasFilesystemSupport()
...
This used to be used to be used to detect AUFS support, but is not
used anymore.
2013-10-14 10:54:50 +02:00
Alexander Larsson
8e4b3a3390
Add some docs for newly exported functions
2013-10-14 10:53:12 +02:00
Solomon Hykes
48070274ee
Change the base filesystem size in unit tests
2013-10-12 15:06:53 -07:00
Michael Crosby
c3f1bb3287
Allow loopback and base fs sizes set by env var
2013-10-11 20:37:11 -07:00
Michael Crosby
562e4f1e23
Verbose migration add warning for running container
...
Conflicts:
hack/make.sh
runtime.go
runtime_test.go
2013-10-11 17:11:18 -07:00
Michael Crosby
a263e07678
Migrate AUFS containers to devmapper
...
Conflicts:
hack/make.sh
runtime.go
2013-10-11 16:54:08 -07:00
Alexander Larsson
e7986da531
Clean up better from previous unit-test runs
...
This makes sure we unmount existing mounts (as well as removing the
devmapper devices), and it fails with proper logs rather than just
panic()ing.
2013-10-11 16:42:11 -07:00
Alexander Larsson
b440ec0136
device-mapper: Move all devicemapper spew to log through utils.Debugf().
2013-10-11 16:31:06 -07:00
Alexander Larsson
c77697a45c
devmapper: Move all "raw" libdevmapper wrappers to devmapper.go
...
This separates out the DeviceSet logic a bit better from the raw
device mapper operations.
devicemapper: Serialize addess to the devicemapper deviceset
This code is not safe to run in multiple threads at the same time,
and neither is libdevmapper.
DeviceMapper: Move deactivate into UnmountDevice
This way the deactivate is atomic wrt othe device mapper operations
and will not fail with EBUSY if someone else starts a devicemapper
operation inbetween unmount and deactivate.
devmapper: Fix loopback mounting regression
Some changes were added to attach_loop_device which added
a perror() in a place that caused it to override errno so that
a later errno != EBUSY failed. This fixes that and cleans up
the error reporting a bit.
devmapper: Build on old kernels without LOOP_CTL_GET_FREE define
2013-10-11 16:30:02 -07:00
Solomon Hykes
1804fcba93
Merged master into device-mapper branch
2013-10-10 12:50:30 -07:00
Daniel Mizyrycki
42277d0329
Merge pull request #2178 from tianon/vagrant-docker-group
...
Add vagrant user to the docker group
2013-10-11 15:10:50 -07:00
Tianon Gravi
d62df6b2b5
Add vagrant user to the docker group
2013-10-11 11:00:04 -06:00
Michael Crosby
97779ff7cf
Merge pull request #2118 from karlgrz/936-enhance-logging
...
Add utils.Errorf for error logging
2013-10-11 08:51:37 -07:00
Michael Crosby
9afa48a92f
Merge pull request #2169 from dotcloud/remove-deprecated-packaging
...
Remove deprecated packaging directory
2013-10-11 08:44:34 -07:00
Karl Grzeszczak
ad723bbfe7
Initial steps to fix Issue #936
...
Use utils.Errorf instead of utils.Debugf
2013-10-11 08:04:40 -05:00
Solomon Hykes
f15cd71bb8
Merge pull request #2037 from tianon/install-script-revamp
...
Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.)
2013-10-10 23:56:13 -07:00
Tianon Gravi
94bf5b0011
Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.), thus making it an official script and moving it to hack/
2013-10-11 00:53:15 -06:00
Solomon Hykes
ee256ce6bf
Merge pull request #2038 from tianon/mkimage-debian-fixes
...
Fix contrib/mkimage-debian.sh apt caching prevention
2013-10-10 17:59:17 -07:00
Solomon Hykes
5fe699f813
Merge pull request #2166 from pnasrat/document-approval
...
Clarify LGTM process to contributors.
2013-10-10 17:55:32 -07:00
Solomon Hykes
7561e2570c
Merge pull request #2159 from nathankleyn/fix-references-to-param-names
...
Small fixes to parameter names in docs for ADD command.
2013-10-10 17:53:57 -07:00
Guillaume J. Charmes
640ca68e4f
Merge pull request #2128 from titanous/update-authors
...
Update AUTHORS
2013-10-10 16:40:33 -07:00
Guillaume J. Charmes
f9b9dfc82d
Merge pull request #2164 from pnasrat/add-finished-time
...
* Runtime: Record termination time in state.
2013-10-10 16:29:07 -07:00
Guillaume J. Charmes
c978f0fa5c
Merge pull request #2165 from jrydberg/master
...
- Registry: Use correct auth config when logging in.
2013-10-10 16:28:46 -07:00
Paul Nasrat
310a174260
Clarify LGTM process to contributors.
2013-10-10 18:32:33 -04:00
Paul Nasrat
2eb404ab14
Record termination time in state.
...
Supercedes pull #1946
2013-10-10 14:47:25 -04:00
Ken Cochrane
60e426938e
Merge pull request #2155 from jdubois/patch-1
...
- Documentation: Corrected error in the package name
2013-10-10 11:19:22 -07:00
Nathan Kleyn
8abd328f53
Small fixes to parameter names in docs for ADD command.
2013-10-10 12:14:18 +01:00
Solomon Hykes
ae780fb5ea
Remove deprecated packaging directory (distro-specific packaging is now managed downstream by their respective package maintainers)
2013-10-10 03:54:10 -07:00
Julien Dubois
152037f011
Corrected error in the package name
2013-10-10 10:10:33 +02:00
Andy Rothfusz
0367032bd1
Merge pull request #2144 from shamrin/patch-5
...
document what `vagrant up` is actually doing
2013-10-09 17:42:37 -07:00
Andy Rothfusz
edca9f7e9c
Merge pull request #2139 from metalivedev/2115-AUFScleanup
...
Fix #2115 Clean AUFS references.
2013-10-09 17:35:05 -07:00
Guillaume J. Charmes
e19cc1e843
Merge pull request #2125 from dotcloud/2099_rm-v_fix
...
- Runtime: fix `docker rm` with volumes
2013-10-09 16:01:51 -07:00
Guillaume J. Charmes
feabce3bcc
Merge pull request #2119 from SvenDowideit/2117-hardcoded-tmp-dir
...
use empty string so TempDir uses the OS's temp dir automatically (Closes...
2013-10-09 16:00:40 -07:00
Michael Crosby
ded74b0bb3
Merge pull request #2133 from dotcloud/improve_tests
...
Make sure to close the network allocators
2013-10-09 15:45:16 -07:00
Guillaume J. Charmes
ffee5faae8
Merge pull request #2145 from dotcloud/remove-panic-test
...
* Runtime: replace panic by log.Fatal in tests
2013-10-09 15:37:08 -07:00
Andy Rothfusz
c1bb33ea4d
Merge pull request #2114 from metalivedev/2113-searchbump
...
Fix #2113 improve doc search results
2013-10-09 12:24:33 -07:00
Andy Rothfusz
6545e53803
Clean up javascript comment.
2013-10-09 12:22:14 -07:00
Victor Vieux
d30806590c
Merge pull request #2127 from titanous/close-body
...
Fix some error cases where a HTTP body might not be closed
2013-10-09 06:52:03 -07:00
Victor Vieux
823174de4d
replace panic by log.Fatal in tests
2013-10-09 13:47:49 +00:00