35 Commits

Author SHA1 Message Date
Jenkins
38417fc9e0 Merge "Migrate from using glance image-list to openstackclient" 2014-08-25 14:05:53 +00:00
Dean Troyer
16ef976007 Clean up local variable usage - Account setup
This does the local var cleanup for the account creation in the following projects:
* Ceilometer
* Glance
* Sahara
* Trove

Change-Id: I67631578f79eeaaf2814db84f0f5c19d93aee4f3
2014-08-19 19:31:38 -05:00
Steve Martinelli
5c206c2b7d Migrate from using glance image-list to openstackclient
Modify instance of `glance image-list` to `openstack image list`,
in an effort to migrate all commands to unified CLI.

Change-Id: Ieef661d209606e088fbf6a3a394f9a6577667618
2014-08-04 17:00:18 -04:00
Jenkins
3acde946e6 Merge "Avoid uploading trove guest image twice" 2014-08-02 00:52:13 +00:00
Jenkins
7a3e7d0c39 Merge "Fix trove guest confing to ignore user os_admin" 2014-07-31 00:55:49 +00:00
Greg Lucas
e6aeb5912b Avoid uploading trove guest image twice
When creating the trove datastore, get the guest image id from glance.
The trove guest image gets uploaded along with all the other
images specified in $IMAGE_URLS. It is not necessary to upload
it again in init_trove.

Also: add xenapi case to stackrc for trove guest image

Closes-Bug: 1339818
Change-Id: I2973af27ab93182fcd674f874daba1036d767d52
2014-07-28 15:22:16 -04:00
Gael Chamoulaud
6dd8a8bee4 Users in service group should not have email addresses
Change-Id: Ieed9dffce5cf1e735e482dd3494ac1e103b50955
Closes-Bug: 1185201
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-07-22 17:29:04 +02:00
Nikhil Manchanda
9c4f24afd9 Fix trove guest confing to ignore user os_admin
This value of ignore_users in the guest config needs to be set
correctly to ignore the local os_admin user for the trove functional
tests to pass in a devstack-gate environment.

Change-Id: Ia31dfe8f2eab4b24790b6be0dbc474cf50f39afa
2014-07-15 14:31:04 -07:00
Jenkins
cfcd8cf2f8 Merge "Adds support for multi-region" 2014-07-04 16:53:01 +00:00
Bartosz Górski
0abde393c5 Adds support for multi-region
Change-Id: Ib85fe7cb375692b04aca4c46f61ba7e1fbfa501b
Implements: blueprint multi-region
2014-07-01 14:58:35 +00:00
Sean Dague
fafb62b93e fix trove image addition
the previous addition to trove was done in a way that it was not
possible to discover from nodepool. This fixes our ability to do
that, especially with non-default on services.

Change-Id: I8ca682354e0d4e2eb9cf05f40c6dd783de1c6355
2014-06-30 16:49:30 -04:00
Jenkins
98e3236d44 Merge "Update trove to install guest image and datastores" 2014-06-27 22:06:26 +00:00
Nikhil Manchanda
afefaa7822 Update trove to install guest image and datastores
Update the trove bits to actually upload the trove guest image to
glance, and create the datastore and datastore version objects that
are associated with the guest image ID.

Change-Id: I6c5c56b3fac981e91cdd7ed60079a5649b8dfea8
2014-06-24 23:38:50 -07:00
Jamie Lennox
3561d7f9ed Use identity_uri instead of auth fragments
auth_token middleware now accepts a standard URL string as the parameter
identity_uri instead of specifying protocol etc individually. Change the
services over to use this.

Also changes over some other places in which the auth fragments are used
individually to the new variables and fixes up some misconfigurations of
auth_token.

identity_uri option was release in keystoneclient 0.8.0

Change-Id: Iac13bc3d08c524a6a0f39cdfbc1009e2f5c45c2a
2014-06-16 15:16:48 +10:00
Mat Lowery
ba8635a247 Remove *_url inisets since now come from catalog
Another proposed change fetches endpoints from the Keystone catalog as
long as the *_url opts are not present. This change will make Trove on
DevStack use the catalog.

Note: This must merge after https://review.openstack.org/68015.

Change-Id: I397254e72823ab7c7b28014d4fa18e2cefb79e6d
Closes-Bug: #1222891
2014-05-22 05:35:44 +00:00
Nikhil Manchanda
bc22e918d5 Use public gateway for Trove if neutron is enabled
Fix Trove to use the PUBLIC_NETWORK_GATEWAY if neutron is enabled.
This is needed since in this case the guestagent is able to reach
the devstack host only via the public PUBLIC_NETWORK_GATEWAY and
not via the private NETWORK_GATEWAY.

Change-Id: I61ee707e16d0222e7f479369e769cbe7ef2de7d7
2014-05-08 03:02:44 -07:00
Bob Ball
e500346e40 Trove: Set appropriate service URLs
Without setting these, they default to localhost which
works in the the gate, but may not work in all devstack
setups.

Change-Id: I50eadbf0b4975cf04ec945bcf463c2738e6e7a3c
2014-04-01 22:45:45 +01:00
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Daniel Salinas
b72235611d Fixed missing backslash in lib/trove
This is breaking the installation of trove with devstack

Change-Id: I8b59d96072da47b8be5000eda835258654230b0f
Closes-Bug: 1280915
2014-02-17 11:19:16 -06:00
Steve Martinelli
19685428e3 Change most keystoneclient commands to openstacklient in libs
migrated most keystoneclient commands from the following libs:
 ceilometer
 cinder
 ironic
 keystone
 marconi
 neutron
 nova
 savanna
 swift
 trove

Also need to set and unset openstackclient specific environment
variables from stack.sh

Change-Id: I725f30bc08e1df5a4c5770576c19ad1ddaeb843a
2014-02-14 21:30:57 -06:00
Denis Makogon
b408dd2072 Remove unneeded guest conf values
Reasons:
 - guest service doesn't depend on "sql_connection" value any more;
 - "exchange_control" already set in trove-guestagent.conf.sample to "trove";

Change-Id: Ifbdb21ac4639d86cf7775634f5b31cfb9739b49f
Closes-Bug: #1256046
2014-02-04 13:32:00 +02:00
Nikhil Manchanda
1272bc5e93 Pipeline filter is 'authtoken' and not 'tokenauth'
The pipeline fileter in the api-paste.ini for the keystone
middleware was renamed to 'authtoken'. Trove install is not
able to authenticate against keystone unless this is renamed

Change-Id: I6f912d29c143b3acbc43da222cf8b4c3fafb2c8d
2014-01-31 15:07:55 -08:00
Dean Troyer
4237f590b7 Generate Tempest service list rather than hard-code it
The list of services that Tempest used to set its 'service_available'
config values was hard-coded. To be plugin-friendly have each
service (project) add its name to the TEMPEST_SERVICES variable
and use that for setting the 'service_avilable' values.

Change-Id: I208efd7fd0798b18ac2e6353ee70b773e84a2683
2014-01-29 17:25:45 -06:00
Dean Troyer
fc744f9713 Convert trove to plugin
Also adds an is_trove_enabled() function to match
https://review.openstack.org/69497 changes for is_service_enabled().

Change-Id: Ic0408ff6d9816aec8a3506931470470342a5dcd7
2014-01-27 17:16:33 -06:00
Jenkins
3e98388d07 Merge "Robustify service shutdown" 2014-01-13 14:09:44 +00:00
Dean Troyer
9fc8792b0a Robustify service shutdown
* Save PID when using screen in screen_it()
* Add screen_stop()
* Call out service stop_*() in unstack.sh functions so screen_stop()
  can do its thing

Closes-bug: 1183449
Change-Id: Iac84231cfda960c4197de5b6e8ba6eb19225169a
2014-01-11 11:46:19 -06:00
Dirk Mueller
25049cd23d Use --tenant-id, not --tenant_id
Change-Id: I0e3d65d5b69ac82cbf7ee6ffc41ead369af8c126
2014-01-09 13:55:28 +01:00
Michael Basnight
0f9a1b0584 Migrating trove to entry points
partially implements blueprint entrypoints-for-binscripts

Change-Id: Iaafde0ab7f27598d566fc008fba7eddc582139c9
2013-12-30 18:53:03 +00:00
Jenkins
02b57b6026 Merge "Adding optional colorized log output for trove" 2013-12-06 19:28:17 +00:00
Jamie Lennox
bd24a8d0f8 Allow deploying keystone with SSL certificates
Allow providing certificates through environment variables to be used
for keystone, and provide the basis for doing this for other services.
It cannot be used in conjunction with tls-proxy as the service provides
it's own encrypted endpoint.

Impletmenting: blueprint devstack-https
Change-Id: I8cf4c9c8c8a6911ae56ebcd14600a9d24cca99a0
2013-11-25 22:27:51 +00:00
Robert Myers
674ee84ec6 Adding optional colorized log output for trove
Change-Id: Ibdaed9c2d1527b4c38551efbc147597e2a668b1a
2013-11-25 13:19:40 -06:00
Adam Spiers
6a5aa7c6a2 Fix some Markdown formatting issues
Address miscellaneous issues with Markdown formatting in comments which
are consumed by shocco when generating the online documentation.

Change-Id: I953075cdbddbf1f119c6c7e35f039e2e54b79078
2013-10-24 17:38:19 +01:00
Sean Dague
101b424842 fix whitespace in the rest of lib/*
this brings this in line with bash8 checker

Change-Id: Ib34a2292dd5bc259069457461041ec9cd4fd2957
2013-10-22 13:02:23 -04:00
Ed Cranford
1089b3a5f6 Adds trove-conductor service to trove.
Change-Id: Ibf14267c9a2125218c17fb34761548e339c8e784
2013-10-01 14:03:49 -05:00
Nikhil Manchanda
0cccad43aa Added Trove (Database as a Service).
- Added changes to stackrc for the Trove Repos.
- Added support to devstack for "install", "configure",
  "init", and "run"

implements blueprint:trove-devstack-integration

Change-Id: Ib3f6daad33e629f764a174b80762c808ce8588e2
2013-09-11 23:48:07 +00:00