Commit Graph

375 Commits

Author SHA1 Message Date
Andreas Jaeger 9eccf4fe21 Retire cue
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
2018-03-09 09:40:09 +01:00
Jenkins 4978f34055 Merge "Updated from global requirements" 2016-06-27 12:17:03 +00:00
OpenStack Proposal Bot 81920aac93 Updated from global requirements
Change-Id: Ia4a84039d4bdeaec3e915be5d514f1e3d0028389
2016-06-23 08:39:08 +00:00
bathri.s e2e1372c9b Node resources should not be exposed
Change-Id: I49a4835c2186c0b439abdfb12d2ca86fea29e235
Closes-Bug: #1441919
2016-06-06 18:32:28 +00:00
OpenStack Proposal Bot 02f6398c91 Updated from global requirements
Change-Id: I5166b289185ad24c0c1ddd620aaf45ab08a61ee5
2016-06-06 04:00:01 +00:00
Min Pae 8ccb914277 fix for taskflow, py34, and image-build
updated taskflow related code to use newest version of taskflow

it seems like filtering logic in monitor_service does not work in py34,
changing to more verbose code that seem to work in both py27 and py34

rabbitmq-image build is broken and causing verification gates to fail,
applying fixes to get build to work and also updating to remove some
dependencies on tripleo-image-elements

Change-Id: Ic5fac635fa9f1ebdc6cb7498370c701de8172766
2016-06-04 19:54:16 -07:00
Jenkins 235d5da845 Merge "Documentation fix: use "authentication" instead of "auth_credential"" 2016-04-16 01:54:00 +00:00
Victor Stinner 069507f0c4 Finish the Python 3 port
with this change, all unit and functional tests pass on Python 3.4.

* WSGI middleware: on Python 3, decode the error message from UTF-8.
* Replace json.dumps() with jsonutils.dump_as_bytes() of
  oslo_serialization to get bytes on Python 3.
* monitor_service.py, test_monitor.py: Fix usage of tooz, pass byte
  strings to the coordinator API.
* Fix nova and neutron fixtures: replace dict.values() with
  list(dict.values()) to get list on Python 3.
* Fix urllib2_fixture: On Python 3, replace urllib2 with
  urllib.request.
* test_create_cluster.py: don't sort exception types, but use a set
  instead to compare them. On Python 3, comparison between exception
  types now raises a TypeError.
* test_wsme_objects.py: catch also TypeError on wsme validation. On
  Python 3, comparison between the new attribute value and the
  minimum raises a TypeError which is not wrapped into a
  InvalidInput exception of wsme. See also the change
  I74103330ccb5cdc26aa3508fcefcc34310e00c27 which proposes to wrap
  TypeError.
* install_rabbit.sh.tmpl: replace dict.iteritems() with dict.items().
* Replace generator.next() with next(generator).
* Replace reduce() with six.moves.reduce()
* Replace "str is 'URLError'" test with "str == 'URLError'", using is
  to compare strings is not reliable.

Change-Id: I45e23b71218f5ff936b0fd1bd628f29210f984bb
2016-04-12 19:01:07 +02:00
Yotaro Konishi 6ec5ebb0ec Documentation fix: use "authentication" instead of "auth_credential"
"auth_credential" parameter is invalid. "authentication" parameter should be used.

Change-Id: Ibf706eaa3d327ef505cc036497bcb1957f7eb793
Closes-Bug: #1559034
2016-03-18 20:44:18 +09:00
Jenkins 9ce969585e Merge "documentation fix" 2016-03-17 20:53:26 +00:00
Jenkins 6b29cee72c Merge "Removes unused posix_ipc requirement" 2016-03-17 20:04:42 +00:00
Jenkins b8449e259e Merge "adding a tox environment for docs" 2016-03-17 18:21:40 +00:00
sai a52208baa8 documentation fix
updated "message_broker" to "message-broker" in "ubuntu.rst" under
Add cue service to keystone

Change-Id: I7e32c383c129a0ec203cab7f6e27155346adf916
Closes-Bug: #1555954
2016-03-17 10:24:09 -07:00
Jenkins 3dea23fb09 Merge "Moved CORS middleware configuration into oslo-config-generator" 2016-03-16 14:59:52 +00:00
Min Pae 0eba20cd5c adding a tox environment for docs
Change-Id: If34f4729853b9bb0b75f28b9d0262b30d8ab8d24
2016-03-15 16:05:19 -07:00
Claudiu Belu c82fadf8e4 Removes unused posix_ipc requirement
posix_ipc module is not used anywhere in this project.

Change-Id: I280de9e5c112a6da9b64dedbd5c71c55399a5118
2016-03-15 11:30:02 -07:00
Michael Krotscheck 98bd25c584 Moved CORS middleware configuration into oslo-config-generator
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
2016-03-11 13:11:03 -08:00
OpenStack Proposal Bot 3e3e343dfc Updated from global requirements
Change-Id: I1f574bd2b3291a3a9391f88008025dc65c005b3d
2016-03-09 16:46:06 +00:00
Jenkins 5ef50a46d5 Merge "Fix imports on Python 3" 2016-03-07 23:27:08 +00:00
Jenkins c8c58f8914 Merge "Add debug testenv in tox" 2016-03-04 22:22:09 +00:00
Jenkins f8bdd62339 Merge "Validate cluster flavor with image metadata" 2016-03-04 22:22:04 +00:00
Abitha Palaniappan 5d4550122d Validate cluster flavor with image metadata
cue cluster creation fails if the flavor disk size is too small
for the broker image.this fix validates the flavor disk size with
image metadata ,raising the exception from api instead of nova.

Change-Id: I18330c66cddf527d5fddfdbc29656e0313b04e16
2016-03-04 19:34:31 +00:00
pongubal dfb332dc36 Changing the documentation for Cue to the Openstack theme
The changes were made to the conf.py in docs so that Sphinx
builds the right theme for the documentation.

Change-Id: Iff24544dddf2c6c7a0a6baad6dc17ce92b05acf6
2016-03-04 19:34:27 +00:00
LiuNanke 1a04a9c6a4 Add debug testenv in tox
Once we add debug testenv, we can use "tox -e debug -- --debug"
to debug test cases when tox is running.

Change-Id: Ic0849f0e14dd13d4f6d3e45d0785b21de4b1c7bc
2016-03-04 19:34:18 +00:00
Victor Stinner c244f07461 Fix imports on Python 3
On Python 3, imports are absolute by default.

Because of these invalid imports, tests don't run anymore on
Python 3, since tests cannot be loaded.

Change-Id: Ib11a09432939df959568de400f60dfe981d0a403
2016-03-04 19:34:08 +00:00
Min Pae ea98738844 fix for horizon/devstack issue
As of pip 8.x installing from external links is not allowed when
constraints are enforced, this is causing cue-dashboard
installation to fail because cue-dashboard is pulling in
horizon as an external link as part of test-requirements.

Since test requirements won't be needed during devstack gate
testing, cue-dashboard/test-requirements.txt is being shuffled
around to avoid installing cue-dashboard/test-requirements.  This
follows the approach that Manila uses in
I841b56f65b50e9c5673cc02e93b4329ed29125ba

Change-Id: I29524df86146762aac5430efafaf7a02b705f539
2016-03-03 13:37:33 -08:00
Jenkins 6657a8aa5c Merge "Replace deprecated library function os.popen() with subprocess" 2016-01-14 07:07:38 +00:00
Jenkins a48bc65d72 Merge "Use assertTrue/False instead of assertEqual(T/F)" 2016-01-14 05:51:55 +00:00
Jenkins d3e96b27fa Merge "Remove openstack-common.conf" 2016-01-14 04:12:32 +00:00
Swapnil Kulkarni (coolsvap) 76e97efa29 Use assertTrue/False instead of assertEqual(T/F)
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: Ibc6da6ddf0966da2441711a0460ca837209ae274
Closes-Bug:#1512207
2016-01-13 22:54:40 +00:00
Bo Wang 7e0b041657 Replace deprecated keystoneclient...exceptions
Use "keystoneclient.exceptions" instead of the deprecated
"keystoneclient.openstack.common.apiclient.exceptions".

ref: https://github.com/openstack/python-keystoneclient/blob/master/
keystoneclient/openstack/common/apiclient/exceptions.py#L25

Change-Id: I9ff8390e88a438782f31c1090c94f13db2bad7d7
2016-01-13 22:54:37 +00:00
LiuNanke 57cfd51df7 Remove openstack-common.conf
We don't sync from oslo-incubator, so don't
need this file any more.

Change-Id: Iebc1960d90cc0b6f8faf16763d57e344c1b8ca01
2016-01-13 22:53:35 +00:00
LiuNanke fe5c081a1f Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since python 2.6. Resolved with use of
subprocess module.

Change-Id: I6c48629b7e1f8291425eb0ab24436282d1884859
Closes-Bug: #1529836
2016-01-09 20:15:20 +08:00
Abitha Palaniappan d7168f57ce Adding support to cleanup taskflow job details
zookeeper runs out of heap space as the data we save to it
never gets deleted.this patch allows us to enable a flag in cue-config
to remove taskflow jobdetails from zookeeper/persistence backend.

Closes-Bug: 1514559

Change-Id: I64e72a7f4c917ec076a6d22c20e5aa6d91f6f75d
2016-01-08 15:01:02 -08:00
Jenkins 3866e6065d Merge "Add enforce_type=True in CONF.set_override" 2016-01-06 23:41:11 +00:00
Jenkins 0d0e5e6cd6 Merge "Trivial: Remove useless return from files in Cue" 2016-01-06 21:51:51 +00:00
Jenkins 2494ec4f0d Merge "Remove unused logging import in Cue" 2016-01-06 21:33:46 +00:00
Jenkins de267f5758 Merge "Use keystoneauth instead of keystoneclient" 2016-01-06 19:28:26 +00:00
LiuNanke 2154861bd9 Add enforce_type=True in CONF.set_override
Each config option has limitation for type and value.
In production code, oslo.conf can ensure user's input
is valid, but in unit test, test methods can pass if
we use method CONF.set_override without parameter
enforce_type=True even we pass wrong type or wrong
value to config option. This commit makes sure calling
method CONF.set_override with enforce_type=True.
Closes-bug: #1517839

Change-Id: I7a4e00c0eb6423d0826eb1c1b1e1ad3da786fb52
2016-01-07 02:45:02 +08:00
LiuNanke 758d871760 Trivial: Remove useless return from files in Cue
Change-Id: I35b8f230ecf9af5ae8901099702c84a4a0c931a4
2016-01-07 02:26:03 +08:00
LiuNanke 46f054ae9c Remove unused logging import in Cue
these codes are not useful.

Change-Id: I00b50e41734a5ec1b53890562f1d894e34dc6526
Closes-bug: #1529541
2016-01-07 00:33:35 +08:00
Jenkins b9290138bf Merge "Abort VM Status flow when VM(s) go to ERROR state" 2016-01-06 01:07:51 +00:00
pongubal 6d1bc2ab06 Abort VM Status flow when VM(s) go to ERROR state
While waiting for VMs to go ACTIVE during the create cluster flow,
if one or more VMs go into ERROR state the VM check task continues
until it times out. If one or more VM(s) go into ERROR state, the flow
should be abort instead of waiting for that VM to go into ACTIVE state.

Change-Id: I9e3768c5a55803afe05f75fad41ecf74471b4694
Closes-Bug: 1522633
2016-01-05 14:06:20 -08:00
Bertrand Lallau 1df776e86e Use keystoneauth instead of keystoneclient
keystoneauth was split out last cycle as a library specifically to deal
with doing auth functions so that people who do not need to do keystone
CRUD operations can just consume only the auth session parts. As part
of modernizing keystone interactions, use keystoneauth instead of
keystoneclient.

Change-Id: Ief82837103450de209fcbbd92d8f4e898949fac4
2016-01-05 20:40:56 +01:00
Jenkins 7350f666c1 Merge "Fix random name generation in Rally plugins" 2016-01-04 19:41:08 +00:00
Jenkins bdf4168326 Merge "Adding RabbitMQ test configuration for Gate job" 2016-01-04 19:41:03 +00:00
Jenkins 4a9bd0fb56 Merge "Remove anyjson useless requirement" 2016-01-04 19:40:57 +00:00
Jenkins 76e3626e0e Merge "Remove jsonpatch useless requirement" 2016-01-04 19:40:52 +00:00
Jenkins 200ffe2af1 Merge "py3: Get urllib modules from six.moves" 2016-01-04 19:40:46 +00:00
Jenkins 22e20ae353 Merge "Added CORS support to Cue" 2016-01-04 19:40:39 +00:00