Commit Graph

15 Commits

Author SHA1 Message Date
Kristi Nikolla 0f7c097d7e Remove volume v1 from devstack plugin and add block-storage
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
2018-07-05 22:44:46 +00:00
Kristi Nikolla 1cb775fcf4 Add mixmatch-manage cli command with db_sync
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
2017-09-05 11:46:08 -04:00
Jeremy Freudberg cbbef62c50 Revert use of in-memory DB
Possible cause of functional gate issues.

Change-Id: Ie1f0d60e97cae7108ac59136ee4bacd03d7dfc9a
2017-08-09 18:14:54 +00:00
Kristi Nikolla 10fae26c6d uwsgi improvements
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
2017-08-04 16:03:01 -04:00
Jeremy Freudberg c23c48fe8e Neutron pass-through
Network federation preliminary work

Depends-On: I9dcd30fe6669bdf570149ed317b16005c21f6291
Change-Id: Ic5e694259544c2c6ffe717d560fc18391f64a1a0
2017-07-31 17:55:38 +00:00
Jeremy Freudberg 4e18ef34c9 Always use the right Cinder endpoint
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
2017-07-31 15:21:18 +00:00
Kristi Nikolla 8ee42dff50 Move endpoint registering into the devstack plugin
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
2017-07-17 21:53:03 +00:00
Jenkins a31fbd6be6 Merge "Optimize the link address" 2017-07-05 11:31:57 +00:00
Jeremy Freudberg 4c9fbc0e6c Always use the right Glance endpoint
$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
2017-07-03 12:17:51 -04:00
Van Hung Pham 68cae71000 Optimize the link address
Use https instead of http and also update a few urls
to ensure safety and correctness.

Change-Id: I448c2838b3a0f4167c10f03a8f5dc4dce0d6a289
2017-06-16 14:29:35 +07:00
Kristi Nikolla 819b60405a Don't change directory during install
This fixes an issue with Devstack using relative paths and assuming
the current directory is its own.

Change-Id: I6ff7a5672b8bc09c3c71575f3ebc2d13aab024d2
2017-05-30 15:46:54 -04:00
Kristi Nikolla ccbe3c9e73 Update Devstack plugin to use KEYSTONE_AUTH_URI
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
2017-05-12 13:57:28 -04:00
Eric Juma 73e9780ad7 Integrate tempest testing
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
2017-02-21 11:58:34 -05:00
Kristi Nikolla 82ee351b6a Add Devstack plugin for mixmatch
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
2017-02-13 16:30:04 -05:00
Kristi Nikolla cf0640f14c Create structure for Devstack plugin
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
2016-11-08 15:30:30 -05:00