There were a few files that were touched after the reddwarf->trove
rename that were still referencing "reddwarf". Changed these
references to "trove".
Fixed bug: 1194636
Change-Id: I7c7b014dee3b3a540baa84ad491812e17a8235ee
* Moved code around to accomplish this
* Renamed a few msyql specific methods
* Used the guest_info config file since it contained
the service_type already
implements blueprint reddwarf/guest-multi-impl
Change-Id: I12a1f08499355802dba35ca14ec38b8f0dc5dfa4
Update Copyright statements that previously said 'OpenStack LLC' to now
say 'OpenStack Foundation'. Note that the files under openstack/common/
were not updated, as those changes should be brought in by syncing with
oslo-incubator.
Change-Id: I22db9858e899cff72053a4b48100fcc039f5d9dd
* Adding a fix which makes it easy to change logging. This is useful
if you want to write a script to start a server, run some tests,
and stop it.
* Fixed the configuration files which were preventing some stuff
from working when the fake mode process started. Had to create a
test api-paste.ini file to use the fake keystone auth.
Fixed bug #1122526
Change-Id: I85b7fa8874ec01c8d8ea0d805d12bb551ee88960
* Cleaning up the CONF defaults in paste created classes
* Updated mgmt-taskmanager
* Small updates to files for oslo
* Removed executils, local
* Fixing constants (removing them from inside method defs)
implements blueprint reddwarf/upgrade-oslo
Change-Id: Ib1a9fe4a829ce2541323693650db412209298a9f
* Updated logging,cfg,setup to new oslo
* Split out the paste ini from the conf files
* Modified reddwarf-api/server to use new modules
* Modified reddwarf-manage to use new cfg
* Added rpc helper for rpc services
* Modified reddwarf-taskmanager to use rpc helper
* Modified reddwarf-guestagent to use new rpc helper
* Fixed guestagent api to use rpc proxy
* Fixed taskmanager module to conform to new rpc
* Updated guestagent manager/pkg to use new rpc
* Updated api paste to use keystoneclient auth_token
* Updated managers to use periodic tasks
Implements: blueprint reddwarf/upgrade-oslo
Change-Id: I9ad1b441eca855a4304454014ae746ec51bef8f3
The db_api field of reddwarf/db/__init__.py was grabbed by importing a
module using utils.import_object. The imported module was always the
sqlalchemy api module, which is nested under the file that imports it,
which caused import errors in multiple contexts. This commit changes
every use of db_api to call a function to load it first, which seems
to fix these problems.
Change-Id: I9515efe02831b521d7f14674e0a2913e476b207d
Fixes: bug #1080706
The tests come from the Reddwarf Integration repository. wsgi_intercept
is used to allow the test code to hit the server code directly. It also
properly sets up the SqlLite database before each run.
* Adds an "event simulator" which queues up functions that would
normally be spawned with eventlet. The various sleep functions are
then swapped with a method that runs these faux-events.
* Adds many of the Reddwarf Integration tests. The idea is these
could still run in a richer, real environment, but are running here
enables us to quickly check feature breaks for each commit and
lowers the learning curve necessary to test the API. The downside
is some of these tests still have artifacts of their origins, such
as (unused) classes to connect to MySQL databases. Some more work
will be necessary to separate the "real mode" functionality of these
tests further.
Implements: blueprint tox-tests
Change-Id: I9857f265c1cb46832906ef5e6a0c7bb4a092e637
* The reddwarf-server script can now fork itself and save it's pid.
* Changed the tox.ini to not start the fake mode server. Now, two new
bin scripts start and stop the server. This should make it easier to
run in CI environments.
* Changed reddwarf.conf.test to reflect local mode.
* Updated fake keystone. Any token is treated as the tenant ID, and any tenant id starting with "admin" is treated as an admin.
* Changed reddwarf-server to load the paste config first so the config file valeus would be read during start up.
* Made the Config class update the dictionary values instead of replace them all.
* Added a test conf file for running the server locally.
* Added a fake version of Nova and the Guest API.
* Changed Guest API to not require every single method to pass context and ID. This also makes it easier to fake.
* Changed some instances of uuid to id.
* Added "BUILD" server status to list of statuses which should be returned instantly in Instance status code.
* Added the /etc/guest_info file that has the id of the guest
* Passed uuid in as the host flag in the common config code
* Removed uuid from the dbaas api/guest prepare call
* Added the db calls to the guest code
* Changed the default for the confs to use MySQL
* Added HACKISH uuid as a global var for status lookups
* * This is because the ip is no longer saved
in the reddwarf db. We can do something
better in the future since this does
not persist if the agent stops.
* Added the manager code to service
* Updated conf so it works on a guest
* Added exceptions for the guest
* Added all the guest code from legacy reddwarf
* Added the bin script for the guest agent
* Added a sample config file for guest
* Migrated guest-agent to guestagent
* Added a manager and service for the guest
* Adding the proper taskmanager bin script
* Adding a taskmanager impl (needs to be a proper baseclass)
* Adding novas LoopingCall to utils
* Updating dummy rpc cast in the database service so it sends to the task manager
* Fixed a bug in rpc kombu w/ a bad durable declaration
* Fixed the name of the queue exchange
* Added a bit of rpc code to the taskmanager service for consuming
* * This is mostly experimental at this point!!!
* * This should be refactored into something common!!!
* now uses no nova imports and still has things like extensions, versions, etc.
* created a new server binscript
* made a new common folder with all the non openstack-common wsgi, exception, extensions etc...
* using openstack-common extensively
* changing the version to use v0.1
* stole some code from melange to make all this possible <3 melange team
* uses devstacks install for nova/keystone/et al
* talks to nova via novaclient.
* adds a few extensions to show how its done
* has a single call to list instances
* found a few minor bugs to discuss w/ nova crew
** Note in order to run this you have to mod the code downloaded by devstack
or have local symlinks to nova & novaclient in your src tree running trunk
This will get dealt with soon (it is a weekend!)