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
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
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
"auth_credential" parameter is invalid. "authentication" parameter should be used.
Change-Id: Ibf706eaa3d327ef505cc036497bcb1957f7eb793
Closes-Bug: #1559034
updated "message_broker" to "message-broker" in "ubuntu.rst" under
Add cue service to keystone
Change-Id: I7e32c383c129a0ec203cab7f6e27155346adf916
Closes-Bug: #1555954
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
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
The changes were made to the conf.py in docs so that Sphinx
builds the right theme for the documentation.
Change-Id: Iff24544dddf2c6c7a0a6baad6dc17ce92b05acf6
Once we add debug testenv, we can use "tox -e debug -- --debug"
to debug test cases when tox is running.
Change-Id: Ic0849f0e14dd13d4f6d3e45d0785b21de4b1c7bc
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
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
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).
Change-Id: Ibc6da6ddf0966da2441711a0460ca837209ae274
Closes-Bug:#1512207
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
os.popen() is deprecated since python 2.6. Resolved with use of
subprocess module.
Change-Id: I6c48629b7e1f8291425eb0ab24436282d1884859
Closes-Bug: #1529836
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
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
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
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