With volume v1 being removed from cinder, we need to stop registering
the endpoint. Also it looks like devstack registers a block-storage
endpoint which points to volume v3.
Change-Id: I565e9d9c61436bc0ce4651f7c7029e3e0dbdf3ac
This adds a cli for management commands that is run through
`mixmatch-manage`.
Also added `db_sync` which is creates the tables in the database
based on the model. No upgrade functionality exists yet.
Change-Id: I18187967bb62865529712c83ef60482c3d1ed8ca
This patch adds a .ini file with the configuration for running
mixmatch through uwsgi, replacing the previous `run_proxy.sh`
script which passed the configuration as arguments.
This patch also removed the wsgi configuration, making it
unsupported. The wsgi documentation has also been removed. A
follow on patch will also remove any remnants of wsgi logic.
The default port for running the proxy has been changed to
9913.
This patch also updates the `setup.cfg` file, adding the
parameters for wsgi_scripts so that pbr install the wsgi exec
on package installation.
This patch also uses apache and mod_proxy to map /resource to
the uwsgi port 9913.
Change-Id: I2069d0f28e8e14da59109158cd2912ddb284a4e3
Default Devstack behavior now is running Cinder under uwsgi, so reflect
that when appropriate. Unfortunately, unlike Glance and other services,
there is not a single environment variable which reflects the proper
form of the endpoint so we need to construct it ourselves.
Change-Id: I953f5086b57a2564b838bc1cfbecba3897961157
Endpoing registering which was previously restricted to the
functional tests, now can be enabled in the devstack plugin by
adding `REGISTER_MIXMATCH=true` to `local.conf`.
Change-Id: I1aedcd57819d41a26f38dd5e30b6bc4692684f36
$GLANCE_URL will correctly be host/image if Glance runs under uwsgi,
which is now the default Devstack behavior, and otherwise the legacy
host:9292.
Change-Id: I2d8ff41a1a7826d6c81f8c6d29288f4e764668e0
This fixes an issue with Devstack using relative paths and assuming
the current directory is its own.
Change-Id: I6ff7a5672b8bc09c3c71575f3ebc2d13aab024d2
Devstack was updated to not use a new port for each service but use
80 and 443 for all services. This breaks our Devstack plugin which
relies on port 5000. This updated the Devstack plugin to use the
variable in Devstack that points to the correct URI for keystone.
Change-Id: I07bb7ca10818e72803a783cbc16ebbfe42af5644
Run tempest API and scenario tests in dsvm_hook excluding failing
tests, which are in tempest_blacklist.txt. Also fixes database
connection, which is now in /tmp/mixmatch.db instead of memory
because it needs to be accessed by multiple workers.
Change-Id: Ia3b3906dacd33622ce44a0b034dbd90ba6c980cc
This plugin automatically configures the mixmatch proxy, the config
of nova/cinder, the endpoints and starts the proxy.
To enable it add this to local.conf
enable_plugin mixmatch git://git.openstack.org/openstack/mixmatch.git
Change-Id: I1fd872288090378a5d91ff102d8d5054b14b9608
This adds the basic structure of the Devstack plugin. Required to
enable a gate which actually runs this plugin. Patch to follow that
sets up the and configures the mixmatch project in Devstack.
It also enable bashate in the pep8 job for the plugin.sh file.
Bashate is comparable to pep8, but for bash scripts.
Change-Id: I142def16a3179ec5cc390f419e2442dd3b93683c