Jason Faulkner
cedfae2e48
Merge pull request #48 from rackerlabs/jay/TwoStepImaging
...
speedup(image): Use dd to write image
2014-01-31 16:14:40 -08:00
Jay Faulkner
3b9dfcb43f
speedup(image): Use dd to write image
...
- Converting the image to raw first takes around 2 seconds in a ramdisk,
but using dd to image the disk speeds up imaging almost 2x by allowing
use of direct IO and blocksizes.
- We may need, in the future, to be able to configure the options passed
to dd based on the hardware we're imaging onto. These options have
been confirmed as better than qemu-img on most hardware.
2014-01-31 15:13:52 -08:00
Jim Rollenhagen
a82e1bffb1
force ordering in tests
2014-01-29 14:29:49 -08:00
Jim Rollenhagen
7a3dbcba06
Merge pull request #45 from rackerlabs/fix-tests
...
Fix tests on travis
2014-01-29 13:51:44 -08:00
Jim Rollenhagen
379a1da6e7
use unicode listerals in configdrive tests
2014-01-29 13:37:57 -08:00
Russell Haering
bab7808002
Merge pull request #42 from rackerlabs/cache_image
...
RFR: Begin Implementing Image Caching
2014-01-29 13:08:52 -08:00
Jason Faulkner
03929692a1
Merge pull request #44 from rackerlabs/jay/BuildMasterOnly
...
fix(travis): Build master or PRs to master only
2014-01-29 10:43:14 -08:00
Jay Faulkner
10c1ec6fe4
fix(travis): Build master or PRs to master only
2014-01-29 10:12:44 -08:00
Russell Haering
d7fdd25406
Merge pull request #43 from rackerlabs/nonet_startup
...
Remove Discovery of Advertise URL
2014-01-29 10:11:39 -08:00
Russell Haering
52dbb2becf
update tests
2014-01-29 10:00:28 -08:00
Russell Haering
e0b8b9362a
remove auto-discovery of advertise url
2014-01-29 10:00:19 -08:00
Russell Haering
835152390d
download and write out an image in cache_image
2014-01-28 16:13:03 -08:00
Russell Haering
2587008b19
update standby agent tests
2014-01-28 15:55:21 -08:00
Russell Haering
8f84d2962e
update standby agent to use split makefs.sh
2014-01-28 15:55:07 -08:00
Russell Haering
81ab246d3d
add new ConfigDriveWriteError class
2014-01-28 15:54:24 -08:00
Russell Haering
e44e5eb6b3
split makefs.sh into two scripts
2014-01-28 15:54:07 -08:00
Russell Haering
87bc982725
make 'cache_image' singular
2014-01-28 13:06:29 -08:00
Russell Haering
c821fd7129
Merge pull request #41 from rackerlabs/new_agent_hearbeat
...
RFR: New-Style Agent Heartbeat
2014-01-28 12:40:40 -08:00
Russell Haering
d371de6666
update heartbeater use of client heartbeat()
2014-01-28 11:25:46 -08:00
Russell Haering
995055a246
update overlord client tests
2014-01-28 11:25:36 -08:00
Russell Haering
430e4c3534
update overlord client heartbeat method
2014-01-28 11:25:20 -08:00
Russell Haering
57939654e9
add test of list_hardware_info
2014-01-28 11:25:00 -08:00
Russell Haering
081dc0e3a9
add HardwareManager method to list hw info
2014-01-28 11:24:16 -08:00
Russell Haering
727feb2bfa
Merge pull request #40 from rackerlabs/list_mac_addrs
...
RFR: Allow listing of Network Interfaces
2014-01-28 08:39:36 -08:00
Russell Haering
334710295d
update list_network_interfaces tests
2014-01-27 18:11:44 -08:00
Russell Haering
8388ac7ae4
filter out virtual interfaces
2014-01-27 18:11:29 -08:00
Russell Haering
ad20ca7ce0
add tests of listing network interfaces
2014-01-27 17:52:06 -08:00
Russell Haering
877a073e8e
expand use of /mnt/sys detection
2014-01-27 16:49:49 -08:00
Russell Haering
bac798719d
fix typo
2014-01-27 16:22:23 -08:00
Russell Haering
bd7f826afc
allow listing of MAC addresses
2014-01-27 16:05:04 -08:00
Jim Rollenhagen
f0a2a78623
fix configdrive content location
2014-01-27 15:38:20 -08:00
Jason Faulkner
8fcb1ead09
Merge pull request #37 from rackerlabs/jay/AgentLogging
...
add(logging): Log and time various events
2014-01-24 15:33:38 -08:00
Jay Faulkner
69cebd1e48
fix(style): Fix style to match rest of project
2014-01-24 15:31:23 -08:00
Russell Haering
086508eb72
Merge pull request #38 from rackerlabs/detect_install_disk
...
Detect OS Installation Disk
2014-01-24 15:29:31 -08:00
Russell Haering
d37d85bb8a
imporove OS install device detection test
2014-01-24 15:06:58 -08:00
Jay Faulkner
0217e5a5de
fix(logging): Don't drop precision on time values
2014-01-24 15:02:11 -08:00
Russell Haering
4bc137b517
update OS install device detection test
2014-01-24 14:58:07 -08:00
Russell Haering
e261a30042
improve OS install device detection
2014-01-24 14:57:55 -08:00
Russell Haering
304855bccf
add plumbum requirement
2014-01-24 14:57:41 -08:00
Jay Faulkner
1d756dde4b
fix(log): Log attrs separately instead of w/format
2014-01-24 14:55:33 -08:00
Jay Faulkner
338530658a
add(logging): Log and time various events
...
- Log what's happening at various appropriate levels
- Log the time it takes to download and the time it takes to write the
image
2014-01-24 14:22:02 -08:00
Jim Rollenhagen
66403dec38
fix configdrive write tests
2014-01-23 13:45:50 -08:00
Jim Rollenhagen
9c57de74c0
Merge branch 'master' of ssh://github.com/rackerlabs/teeth-agent
2014-01-23 13:38:34 -08:00
Jim Rollenhagen
d91cc7bef4
make configdrive dirs before writing
2014-01-23 13:37:38 -08:00
Russell Haering
1bca58281b
cause the agent to lazily load a command mode
2014-01-23 12:37:18 -08:00
Russell Haering
7523c9e430
make InvalidCommandError more generic
2014-01-23 12:37:18 -08:00
Jason Faulkner
1c641842d4
Merge pull request #35 from rackerlabs/fix-dockerfile-cmd
...
Fix dockerfile cmd
2014-01-23 11:15:17 -08:00
Jim Rollenhagen
016f8b77f9
fix dockerfile cmd
2014-01-23 11:14:16 -08:00
Jason Faulkner
31e57a6ce2
Merge pull request #34 from rackerlabs/jay/ChangeToCmd
...
fix(Dockerfile): Use CMD instead of Entrypoint
2014-01-23 09:41:46 -08:00
Jay Faulkner
eb5773c4bf
fix(Dockerfile): Use CMD instead of Entrypoint
...
- This allows the container to be started with a shell rather than only
with the agent, which is helpful for troubleshooting
2014-01-23 09:40:36 -08:00