Cue has been retired in mid 2016 as official project and did not
continue developement, it's time to retire it completely.
Remove everything, update README.
Depends-On: https://review.openstack.org/551202
Change-Id: I1f4a71fbea8a90303036ad0adaec95fa15b6522f
The default values needed for cue's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default initialization procedure. This ensures
that if a value remains unset in the configuration file, it will
fallback to using sane defaults. It also ensures that an operator
modifying the configuration will be presented with that same
set of defaults.
Change-Id: Ia179bbd7489ca128186990439a161903b7b4c28d
Closes-Bug: 1551836
This adds the CORS support middleware to Cue, allowing a deployer
to optionally configure rules under which a javascript client may
break the single-origin policy and access the API directly.
For cue, the middleware was added directly to the application
factory, including various default headers usually required by
keystone. Note that the CORS middleware must be the first one in
the middleware chain, so that it can annotate all responses -
even error responses - generated by other middleware.
oslo_config initialization was added to the functional test
initialization, in order to ensure that a fully initialized
config instance is available during tests.
OpenStack CrossProject Spec:
http://specs.openstack.org/openstack/openstack-specs/specs/cors-support.html
Oslo_Middleware Docs:
http://docs.openstack.org/developer/oslo.middleware/cors.html
OpenStack Cloud Admin Guide:
http://docs.openstack.org/admin-guide-cloud/cross_project_cors.html
Change-Id: I7ff60a96f545ff991de06073a80a5750512ebd31
This updates tox -egenconfig to correctly generate configuration
files for the various components of cue. Included are list_opts
invocations for all places where configuration is found, appropriate
setup.cfg hooks for generic oslo-config-generator invocations, and
explicit genconfig configuration files for the monitor, worker, and api.
Sample configurations have been regenerated from source.
Change-Id: Ib838269b3ba1e81587cd984933edb41d6d6a555a
* Introduced new management_network_id config parameter for
management network interface to clustered VMs
* Updated devstack/lib/cue script to configure environment for
Cue with management and user network interfaces
Change-Id: I28df0fc6157430767b772cd784b2cb28751aab52
* Max limit configurable in cue.conf
* Cue API post request (create cluster) will validate size is
within this limit
* Added API test for cluster creation higher than limit is rejected.
closes-bug: 1427894
Change-Id: I7e979b22c519df83a44699bac3d45d2a3802f2f7
- changed create cluster flows from a combination of unordered and
linear flows to a graph flow
- added userdata generation step to create userdata to be used by
each VM
- added check_or_restart_rabbitmq, to check rabbitmq status a
number of times then restart the VM, before checking again
Change-Id: I98f2aa031ccd7e8bb068fa4cece3dd8af263e33e
This patch is adding cluster/node update functionality to the
cluster create flow.
* Get VM status task
* Get RabbitMQ status task
* Added update status functions for Node and Cluster DB objects
* Added get node by id function in objects model
* cluster status update in objects class to DB
* node status update in objects class to DB
* Get VM status task unit tests
* Get RabbitMQ status task unit tests
* Update cluster status task unit tests
* Updated existing tasks and create cluster flow tests for DB support
* Updated existing tests and test fixtures for matched behavior
with devstack clients and their mocked versions
Change-Id: I7b07e1a179b9b5e64218db9c64417d72be02cac9
- added create_cluster_node flow factory function for creating a
cluster node
- modified create_cluster flow factory function to call
create_cluster_node for each cluster node
- modified neutron and nova fixtures to support testing for
cluster create flow
Change-Id: I92aae38d71baeca9a84385813180703bbb9c2ece
- Add os_tasklib.nova.create_vm task for creating new VMs via nova
- Modified nova and neutron fixtures to persist more information
about networks, flavors, and images.
Change-Id: I25a54eea44b6a24b46c98992d4699b5dd3455ca6
Pulled in runner/API and runner/worker from Endre's fork
https://github.com/ekarlso/cue/tree/runner with a few modifications.
worker-based engines are not being supported with the initial release of
cue, and zookeeper is being used by default as both the persistence and
jobboard backend.
Change-Id: Id05f1a39ebaa91061145f5fc6d069a3c8e154f66