Commit Graph

410 Commits (d8c0f1b7949da842e9e2095d878571e34ee01408)

Author SHA1 Message Date
Josh Gachnang d8c0f1b794 Actual exception message, stylistic changes 2014-03-20 15:57:20 -07:00
Josh Gachnang 234d209729 Removing commented out code 2014-03-20 15:51:54 -07:00
Josh Gachnang 6dc09f3148 Getting the heartbeat from Ironic instead 2014-03-20 15:18:48 -07:00
Josh Gachnang 0e6776f6c0 Merge pull request #72 from rackerlabs/JoshNang/ipa
Rename to Ironic Python Agent
2014-03-19 17:29:53 -07:00
Josh Gachnang fc043dd1d3 Fixing import order 2014-03-19 17:06:34 -07:00
Josh Gachnang ececa3bce2 Doing replacement on imagebuild 2014-03-19 16:35:55 -07:00
Josh Gachnang 63fa74582d Renaming things in Dockerfile 2014-03-19 16:27:43 -07:00
Josh Gachnang 5914e36b30 Replacing teeth/overlord with ipa/ironic 2014-03-19 16:19:52 -07:00
Josh Gachnang b30d345c2e Renaming to IPA 2014-03-19 15:50:43 -07:00
Josh Gachnang 6e366520bb Merge pull request #66 from rackerlabs/JoshNang/heartbeat
Using Ironic vendor passthru for heartbeat
2014-03-19 15:46:11 -07:00
Josh Gachnang a0b92f28cc Fixing kwarg vs posarg 2014-03-19 14:58:11 -07:00
Josh Gachnang b28d69cd31 Generalizing help message for command args 2014-03-19 14:29:57 -07:00
Jim Rollenhagen 917d91ef6e Merge branch 'remove-wsgiref'
Conflicts:
	requirements.txt
2014-03-19 14:27:11 -07:00
Jim Rollenhagen 435bdb612c Merge pull request #70 from rackerlabs/remove-werkzeug
Remove dependency on werkzeug
2014-03-19 14:26:06 -07:00
Josh Gachnang 85234b702c Using RFC5737 example ip addrs 2014-03-19 14:01:49 -07:00
Josh Gachnang d0323f3ec1 Using advertise_address, using valid uuid/macs 2014-03-19 13:55:56 -07:00
Jim Rollenhagen fffc4bb136 remove wsgiref 2014-03-19 13:16:43 -07:00
Josh Gachnang 56a0ed37a4 Removing host/port, already in listen_address 2014-03-19 11:14:45 -07:00
Jim Rollenhagen 618d1b0398 fix tests on python 2.6 2014-03-18 15:37:18 -07:00
Josh Gachnang 1ad55bc789 Minor fixes and sending agent_url with heartbeat
The driver won't be able to save anything during the first node lookup, so
sending the URL then won't be useful.
2014-03-18 15:24:20 -07:00
Jim Rollenhagen bb0a406a85 Merge branch 'master' into remove-werkzeug 2014-03-18 15:06:34 -07:00
Jim Rollenhagen 74ee4c76b0 Remove dependency on werkzeug
I'm using a patched version of pecan until a new release
is cut with the fix to the test app thing that I submitted
(https://review.openstack.org/#/c/81328/).

There's a couple of changes outside of tests.api - app.py
changes are to fit in better with pecan (specifically my patch),
and the __init__.py change is because I noticed when testing
that there was no `commands` link in the response from /v1.
2014-03-18 14:44:38 -07:00
Josh Gachnang 947b783b6b Consolidate content and configuration as node 2014-03-18 12:45:36 -07:00
Josh Gachnang 27280d89d8 Merge branch 'JoshNang/heartbeat' of github.com:rackerlabs/teeth-agent into JoshNang/heartbeat
Conflicts:
	teeth_agent/errors.py
2014-03-18 10:40:48 -07:00
Josh Gachnang 3f08a0ce7e Renaming ConfigurationError to LookupNodeError 2014-03-18 10:39:47 -07:00
Josh Gachnang 22f3ccd3dc Renaming get_configuration to lookup_node 2014-03-18 10:36:33 -07:00
Josh Gachnang 4174fa4311 Retaining configuration error, changing message 2014-03-17 16:43:23 -07:00
Josh Gachnang 2a4c611374 Retaining configuration error, changing message 2014-03-17 16:24:44 -07:00
Josh Gachnang 4e1d250c4e Merge remote-tracking branch 'origin/master' into JoshNang/heartbeat
Conflicts:
	teeth_agent/agent.py
	teeth_agent/errors.py
	teeth_agent/overlord_agent_api.py
2014-03-17 16:21:54 -07:00
Josh Gachnang 774bae01aa Merge pull request #63 from rackerlabs/JoshNang/testr
Preparing for OpenStack testing environment
2014-03-17 16:18:56 -07:00
Josh Gachnang 31a5932d80 Adding Apache header 2014-03-17 16:16:08 -07:00
Josh Gachnang 708949d5de Merge remote-tracking branch 'origin/master' into JoshNang/testr
Conflicts:
	teeth_agent/cmd/agent.py
	teeth_agent/hardware.py
	teeth_agent/log.py
	teeth_agent/tests/log.py
	tox.ini
2014-03-17 16:06:47 -07:00
Jim Rollenhagen 7a8c218e87 fix log.exception calls 2014-03-17 15:25:01 -07:00
Jim Rollenhagen f33e81391e switch structlog out for oslo.log 2014-03-17 15:17:27 -07:00
Jim Rollenhagen 9b4a8b513b add oslo.config and oslo.log 2014-03-17 14:37:31 -07:00
Josh Gachnang d718fd8f6b Fixing merge conflicts, passing py26 2014-03-17 12:01:33 -07:00
Jim Rollenhagen 2c77d82204 Remove dependency on teeth-rest.
This commit:
- Removes all references to teeth-rest.
- Brings in encoding.py and errors.py from teeth-rest.
- Removes the "view" thing from the encoding module.
- Adds structlog as a dep. This was missing and overlooked
  because teeth-rest was installing it in the environment.
2014-03-17 10:58:39 -07:00
Jim Rollenhagen 7ecb8978d0 Merge branch 'master' into use-pecan 2014-03-17 10:14:38 -07:00
Jim Rollenhagen 078b67dfa5 Fix MediaType() call and add tests for / and /v1 2014-03-17 10:13:17 -07:00
Jim Rollenhagen 1cc511ca11 remove commented code 2014-03-14 16:59:02 -07:00
Jim Rollenhagen a9705715f9 fix up API docs a bit 2014-03-14 16:49:30 -07:00
Jim Rollenhagen 809246e68d add wait param 2014-03-14 16:49:16 -07:00
Jim Rollenhagen d3749befc3 simplify tests a bit 2014-03-14 16:48:44 -07:00
Josh Gachnang 367a44e0d1 Cleaning up errors 2014-03-14 16:45:22 -07:00
Josh Gachnang 033cad8c41 Merge branch 'master' into JoshNang/heartbeat
Conflicts:
	.gitignore
2014-03-14 16:43:00 -07:00
Josh Gachnang dcfaf82c5a All posted data goes in get_configuration 2014-03-14 16:40:51 -07:00
Jim Rollenhagen 9165d459a4 Merge pull request #67 from rackerlabs/get-host-ip
Add horrible method of getting the host IP
2014-03-14 16:31:34 -07:00
Jim Rollenhagen c1c6425e93 parse the ipaddr argument 2014-03-14 16:29:04 -07:00
Jim Rollenhagen 5a596157da add horrible method of getting the host IP 2014-03-14 16:10:47 -07:00
Josh Gachnang fe4113fb5a Using Ironic vendor passthru for heartbeat/config 2014-03-13 16:52:45 -07:00