Russell Haering
304855bccf
add plumbum requirement
2014-01-24 14:57:41 -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
Russell Haering
c3f1130e38
Merge pull request #33 from rackerlabs/hardware_specific_os_install_device
...
RFR: Hardware-Specific OS Install Device
2014-01-22 17:41:29 -08:00
Russell Haering
ecdcb77595
retrieve OS install dev from the HardwareManager
2014-01-22 17:29:01 -08:00
Russell Haering
5ea4484a2c
cache a global hardware manager
2014-01-22 17:28:24 -08:00
Jason Faulkner
4529952897
Merge pull request #32 from rackerlabs/jay/FixDockerfile
...
fix(Dockerfile): Install requirements separately
2014-01-22 17:17:14 -08:00
Jay Faulkner
3f4c93c0a2
fix(Dockerfile): Install requirements separately
2014-01-22 17:02:22 -08:00
Jason Faulkner
bb0ee87c7b
Merge pull request #31 from rackerlabs/jay/FixDockerfile
...
fix(docker): git required to install from repo
2014-01-22 16:18:42 -08:00
Jay Faulkner
0d75f1007c
fix(docker): git required to install from repo
2014-01-22 16:16:55 -08:00
Jason Faulkner
e25f5dd4ce
Merge pull request #30 from rackerlabs/jay/FixMakefsScript
...
Fixes and logging for makefs script
2014-01-22 15:26:45 -08:00
Jay Faulkner
1090833400
fix(log): Use basename instead of hardcoding name
2014-01-22 15:20:56 -08:00
Jay Faulkner
0ab7899c65
fix(makefs): Match 0, not just numbers ending in zero
...
- Without the space beforehand, this would match partitions that were
aligned to a 0-ending boundry or a size that ended in 0. This caused
the configdrive to be written into the wrong partition.
2014-01-22 15:14:52 -08:00
Jay Faulkner
8ea0f876aa
feature(makefs): Add logging of all activities
2014-01-22 15:14:10 -08:00
Russell Haering
ccb85a7c2f
Merge pull request #29 from rackerlabs/pluggable_hardware_managers
...
RFR: Pluggable Hardware Managers
2014-01-22 14:33:07 -08:00
Jim Rollenhagen
f11e2721e9
use openstack as default configdrive prefix
2014-01-22 12:12:54 -08:00
Russell Haering
a8ebc499e6
improve stevedore import
2014-01-22 11:53:46 -08:00
Jim Rollenhagen
fc3984427c
call a function that actually exists
2014-01-22 11:12:48 -08:00
Russell Haering
802969b7dd
simplify HardwareManager comparison
2014-01-22 11:09:02 -08:00
Russell Haering
ea588b264a
update tests
2014-01-21 17:15:26 -08:00
Russell Haering
3d756e8ac6
register the BaseHardwareManager
2014-01-21 17:15:12 -08:00
Russell Haering
14cfadc1f8
use the new hardware manager loading
2014-01-21 17:14:54 -08:00
Russell Haering
7741b279e0
make hardware managers pluggable
2014-01-21 17:14:40 -08:00
Jim Rollenhagen
246bcd4dac
better metadata name
2014-01-21 16:01:20 -08:00
Jim Rollenhagen
70dc8dac04
hardcode device to /dev/sda
2014-01-21 14:48:54 -08:00
Jim Rollenhagen
2eae3d5f68
remove test_prepare.py
2014-01-21 14:32:42 -08:00
Jim Rollenhagen
4eeca23e06
Merge branch 'master' into base64-configdrive
2014-01-21 14:29:24 -08:00
Jim Rollenhagen
b1c3ba28fa
write configdrive to disk from metadata
2014-01-21 14:25:45 -08:00
Russell Haering
89e2d2a0c3
Merge pull request #28 from rackerlabs/autoconfig_agent_type
...
RFR: Autoconfigure Agent Mode
2014-01-21 11:31:18 -08:00
Russell Haering
835bdf21e2
move sync result wrapping into BaseAgentMode
2014-01-21 10:49:06 -08:00
Russell Haering
d4d97920cf
clarify BaseAgentMode operation
2014-01-21 10:42:43 -08:00
Jim Rollenhagen
7bf6a8e1cc
add configdrive from teeth_overlord
2014-01-20 17:59:22 -08:00
Russell Haering
07d611ff95
update standby tests
2014-01-20 14:36:17 -08:00
Russell Haering
2dbe3a43e0
load agent mode from the configuration API
2014-01-20 14:36:17 -08:00
Russell Haering
997b4829be
add an API client method to fetch agent config
2014-01-20 14:36:17 -08:00
Russell Haering
8eb89e73de
add an OverlordAPIError
2014-01-20 14:36:17 -08:00
Russell Haering
f6178f6118
clarify test module naming
2014-01-20 14:36:17 -08:00
Russell Haering
1592ec80b4
update tests
2014-01-20 14:36:17 -08:00
Russell Haering
c6092fe371
update imports
2014-01-20 14:36:17 -08:00
Russell Haering
ad70d89847
split out base and agent modules
2014-01-20 14:36:17 -08:00
Russell Haering
c62cf1a7fa
unify the agent executables in teeth-agent
2014-01-20 14:36:17 -08:00
Russell Haering
27bc0eb316
use a mode implementation in the teeth agent
2014-01-20 14:36:17 -08:00
Russell Haering
b5a2dfd002
rename BaseTeethAgent to TeethAgent
2014-01-20 14:36:17 -08:00