Commit Graph

60 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
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
Daniel Allegood 84f7e746df Enabling devstack plugin for Cue
Migrating our service install scripts from using the extras.d model to
the plugin model.

Change-Id: Ib6640053db1fc47a407ef1cb9e243b511ec4d960
2015-12-22 04:56:55 +00:00
Zhao Lei b3a56c4332 Remove quotes from subshell call in bash script
Always no quotes for $() statement.

We don't need quotes to hold blanks in result:
 # i=$(echo 1 2 3)
 # echo $i
 1 2 3
 #

These quotes can make something wrong in some case:
 # i=$(echo '!')
 #
 # i="$(echo '!')"
 -bash: !: event not found
 #

No real problem for current code, only to use a better code style.

Change-Id: I5922f8359e5894b36f39598265702683486fa5dd
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015-11-24 20:03:02 +00:00
Min Pae f1d219ad35 removing zookeeper devstack lib
devstack added zookeeper to the main devstack repo, so a custom
zookeeper lib is no longer necessary

Change-Id: Ic72d931e8317b1cb790bf989ed7ee96cfd8487b0
2015-11-12 19:18:58 +00:00
Daniel Allegood 74124f363a cue-monitor service
Change-Id: I24aff0c016a06b26a8252e2b31ab7c7cfdde08db
2015-10-09 16:34:55 -07:00
Daniel Allegood 700935db3f Code coverage fix and devstack fix
Checkin gates are failing (both coverage and integration/tempest)

Handling the case where testr fails by exiting and returning the
exit status. Newest 'coverage' package does not support 'ignore-errors'
in config section '[report]'.

Also updating devstack plugins/scripts to use updated keystone v3
compatible commands (openstack vs nova)

Change-Id: I06d4e1179f115220608bcb15bbcfccc96769e11e
2015-10-08 19:10:53 -07:00
Abitha Palaniappan 3d046a3ca8 Removing os-token from devstack/lib/cue script
Token variable thats been used from devstack has been renamed in
 one of the recent commits to devstack.So removing it so that it
 uses username/password for openstack and neutron commands instead.

Change-Id: Iec1328a51111b0f966acb9e8c523946c75a017b4
2015-09-28 17:34:53 -07:00
dagnello c76f0a065d Updating Rally tests
Due to changes in Rally API's, tests need to be updated

Change-Id: I2f3293757346b9a3d8f212c10b2fca33f37e0a34
2015-09-17 17:19:41 +00:00
Steve Leon f821b9a9ca Using identity_url in keystone middleware
auth_host, auth_password, aut_uri have been deprecated

Change-Id: Icdc379509fba9d606a330ec26b9782df43d87d75
2015-09-09 03:38:14 +00:00
dagnello dff7eab058 Updating tempest tests and Vagrant environment build
Some breaking changes required updates to our Vagrant environment
and tempest tests.

Change-Id: I4cbd1b4423f9f9f16f143d54dad2c790647de335
2015-09-08 14:07:50 -07:00
Jenkins c555920a43 Merge "Keystone v3 support" 2015-08-28 18:31:46 +00:00
Abitha Palaniappan 1622f2269d Keystone v3 support
- modified clients to authenticate using keystone.session
  - supports both v2 and v3 auth version

Change-Id: I73b281c3076dd8a5a2686bdc39d57263dc2fc2b8
2015-08-26 21:31:43 -07:00
Jenkins 135db7b90a Merge "Modifying keystone middleware config" 2015-08-27 01:41:55 +00:00
Jenkins 41ccdd15da Merge "Adding support for Keystone V3" 2015-08-27 00:26:12 +00:00
Daniel Allegood 4bc0e45249 Adding support for Keystone V3
Tempest client will now check which Keystone version is specified in
the conf and make the appropriate call to either v2 or v3. Rally
tests using v3. Adding a new extras.d file so devstack will set
up the Rally config to point to Keystone v3 without altering the
actual devstack config. Adding documentation for Keystone v3 specific
args.

Change-Id: Iae8ffb412c00b7ca0e02ff0e6f4374eaae64005d
2015-08-26 10:20:22 -07:00
Steve Leon b16f0aa932 Modifying keystone middleware config
- Some of the config used for keystone middleware are either incorrect
or not needed. This patch will modify the config middleware to work with
keystone v2 and v3

Change-Id: Id788a7b5d76ed6bfdb8a1d327eb8bf48d6bf2cfa
2015-08-19 10:46:07 -07:00
Daniel Allegood fe9f3767fb Check RabbitMQ cluster status via REST API during cluster create
This is replacing the TaskFlow task to check when a rabbit node begins to
respond to port 5672.  We now use rabbits management plugin and REST API
to check when the cluster is active and able to consume jobs. The new task
is added at the end of the create_cluster flow.  This is (arbitrarily) going
to the 0th node's RabbitMQ Management port.

Change-Id: I9dffdefd9cdcd6317f5c3114c59b4b30b8218239
2015-08-14 18:33:57 -07:00
dagnello 7cef858b6e Renaming cue-scenarios.yaml rally tasks file
To rabbitmq-scenarios.yaml.  As we add additional broker support
we will create a separate rally scenario definition file for each.

Change-Id: I21a14b518e5750e3690730aceb85660875217cd2
2015-08-04 13:23:44 -07:00
Steve Leon b70533421c Matching cue dashboard symbolic names to their target names
Change-Id: I1dc7736b8b8309d6fcfc6bb36f557d9d0e78646b
2015-07-29 16:34:25 -07:00
Jenkins 2aed5da135 Merge "Update renaming of the cue-dashboard panel registration files" 2015-07-15 00:08:50 +00:00
Min Pae f528fd4f00 changing stackforge references to openstack
Change-Id: Id7dd984cfe8dcde29f0210c0c951bcf26b850c00
2015-07-13 12:58:00 -07:00
Min Pae e99b6187bb adding ssh auth forwarding to Vagrantfile
Change-Id: I332ce3f71341e7cd290e3eb406c557986bb6050f
2015-07-13 12:31:55 -07:00
Steve Leon c2d57d5af9 Update renaming of the cue-dashboard panel registration files
This is to reflect the fixes on https://review.openstack.org/#/c/198453/

Change-Id: I171c8d279481e1b7ce432473eee48d1f9f9cfcdf
2015-07-07 14:40:32 -07:00
Min Pae 6e4ca15672 update devstack plugin for keystone v3 and fix kazoo version
Devstack changed to using keystone v3 by default, which requires domain
rather than project names when creating users and roles.  Updating cue
plugin to use the "default" domain rather than the service tenant

Also fixing kazoo to pypi released versions as the released version now
works with taskflow.

Also modifying tests/integration/common/client.py to switch from
tempest.services.compute.json.TenantNetworksClientJSON to
tempest.services.compute.json.TenantNetworksClient due to change in
tempest.

Change-Id: I7a61f77c4cb52be9474fa515d03fd89618019e35
2015-07-07 14:26:46 -07:00
Min Pae f24ea0b9c5 updating to latest rabbitmq version for image
updated cue-rabbitmq image element to use the latest version of rabbitmq
from rabbitmq.com

Change-Id: Id64373039c9ce3f58ab7852b16955c8b9495f263
2015-06-26 17:02:52 +00:00
Steve Leon e5bd8c875f Printing console and rabbitmq logs in the test
Increase retry timeout to 60 for server to be active

Change-Id: Iff6b40761b1e01718765e0080d9e2253d85e881c
2015-06-10 13:50:01 -07:00
Vipul Sabhaya 34390cef18 Rename cue service_type to message-broker
Change-Id: I2ce6fef1f526f95143e02f0b5132a5a38ffbc03e
2015-06-05 14:12:40 -07:00
Min Pae f91bc8965b configure and start rabbitmq VMs from userdata
Configuring and starting rabbitmq with os-apply-config and
os-refresh-config seems to be causing issues where rabbitmq is being
regularly reset and restarted.  We want rabbitmq to be reset and started
once at initial boot and not past that.  Moving the config generation
and service startup logic to the userdata script that is supplied by Cue
at VM creation time.

Closes-Bug: 1453351

Change-Id: I2971c196e0cc106d17e18f868c491b589ecb17b8
2015-06-02 17:05:10 -07:00
Min Pae 52ca405c8f reducing log level on some libs
certain libs are used by other libs and provide very little value with
debug level of logging

Change-Id: I937f9756580ade15d3a5ea15cfbc6898149aadde
2015-05-29 15:10:42 -07:00
Jenkins 854ed33303 Merge "Fixing cue integration test gate" 2015-05-29 19:10:31 +00:00
Steve Leon 5239f62332 Fixing cue integration test gate
- Updated requirement.txt with accept libraries and versions
- Have DIB repo cloned by the devstack-vm gate
- Modify cluster test to test create, get, list and delete in one test
- Temporary disabled install of cue-dashboard until cloning issue
  is fixed

Change-Id: Ie5ffaf169d3915c4bd73d61ab05bfa8ac3f7f36b
2015-05-29 10:31:18 -07:00
Steve Leon 2c7af4a74f Adding rabbitmq test script and pika lib to the rabbitmq image
- This will allow the scenario tests to authenticate and test Cue clusters.

Change-Id: I3a154ed0e7359ac43815b4f41c5c418c19132e8b
2015-05-13 23:24:32 -07:00
Jenkins f6fb0edefc Merge "Resolving Rally scenario tests directory name issue" 2015-05-13 00:11:50 +00:00
dagnello 67370a07b4 Resolving Rally scenario tests directory name issue
closes-bug# 1454104

Change-Id: I3fb8f1825035fa0c249207d977a3dea6b7fe3995
2015-05-12 09:28:25 -07:00
Jenkins 922f7421d4 Merge "qemu image compatibility fixes" 2015-05-12 00:49:40 +00:00
Jenkins 8ddb93123f Merge "Single VM Cue Install Scripts" 2015-05-11 19:29:41 +00:00
dagnello 5f7bf2ec1f Single VM Cue Install Scripts
* added preliminary devstack keystone deploymen script

Change-Id: Ic9d263c0de034edb186be2c5c97984c143f10b34
2015-05-11 04:23:23 -07:00
Min Pae e8c24d0e0a qemu image compatibility fixes
QEMU images created with disk-image-create default to compat=1.1, which
does not work with some public cloud providers (e.g. HP Public Cloud).
Adding a flag to select QEMU Image options and defaulting to
compat=0.10, which works for all QEMU versions > 0.10

Change-Id: I1e5f97b259ca47c432715604a661efc2e11eafce
Closes-Bug: 1453278
2015-05-08 15:04:07 -07:00
Jenkins 7191d82c22 Merge "Rally Test Framework Integration" 2015-05-06 00:43:40 +00:00
dagnello 45fb8e8f42 Rally Test Framework Integration
* Integration of Rally framework in Cue project's and vagrant/devstack
* Added initial cluster create and delete scenario test
* Implemented initial scenario base class which inherits from rally's
  base.scenario and provides basic Cue CRUD interfacing
* To execute all Rally scenarios (currently one) in vagrant vm:
  1.  source admin user/tenant credentials for devstack environment
    > openrc admin admin
  2.  run script: run_rally_scenarios.sh (will run in verbose debug)
    > run_rally_scenarios.sh

Change-Id: I4e0015b69d9235d46fc785aa016c6d6f0e0caeb2
2015-05-05 13:31:24 -07:00
dagnello e46deb0918 Adding helpful scripts in Vagrant VM
Change-Id: I1cabeaec28ab2c7fd9c7a1b4588681f669a8b781
2015-04-29 11:56:09 -07:00
Min Pae 314e04c7b7 cue-manage broker fix for devstack plugin
devstack plugin for cue was not updated when some cue-manage was updated
to make some commandline options mandatory

Change-Id: I279ccc981c2781f69324e8ecaecac047767bbdbf
2015-04-18 23:51:29 -07:00
Abitha Palaniappan b31a8cadd5 Broker image selection
- Adding revised alembic version with broker and broker metadata tables
- Adding Broker and BrokerMetadata classes to objects and models
- Adding crud functionalities for broker image selection
- Modifying devstack script to set default broker and image

Change-Id: I6f76d642d9ea3c201935238086c3008cfb00b2fb
2015-04-17 15:34:38 -07:00
Min Pae 720de322fa adding ifmetric that was accidentally left out
Change-Id: I591e2fe976b35b9fca8ab8ef78f76822b96841bf
2015-04-03 12:28:35 -07:00
Vipul Sabhaya 1f9ab9754c Initial port of RabbitMQ image elements
* Installs rabbitmq-server
* Templatized vesions of rabbitmq.config and erlang.cookie
* Modify devstack scripts to build Cue Image

Change-Id: I57ac73aaff0c936f3b4f1d63de0cf19266df8b1c
2015-04-02 17:44:42 -07:00
dagnello 309109d47f Cue client and Cue dashboard install directories
Cue-dashboard repo and branch were being set to same
location as cue-client.

closes-bug: 1438895
Change-Id: If2bbfb057f21c42d97c4e64c322e1fe7cd02c6c6
2015-03-31 13:10:31 -07:00
dagnello e1338c20d9 Adding management network interface integration to Cue
* 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
2015-03-30 15:03:40 -07:00
Min Pae a4122e3ebd fix for creating security groups in devstack
Upstream neutron interface for creating security groups was
changed to require a description for a security group.  Updating
cue devstack plugin to provide a description for rabbitmq
security group being created while stacking.

Change-Id: I348a5e1ec51954a829e19a3d345ff01992e3a84d
2015-03-30 13:00:22 -07:00
Jenkins 3d9ea5b822 Merge "Cue dash board install error in devstack cript" 2015-03-30 18:37:05 +00:00