24 Commits

Author SHA1 Message Date
Obulapathi N Challa
9b2c5796ed Add "daemon" flag to marconi script
This patch adds daemon flag to marconi script. This change was
needed to run the latest build of marconi-server in background.
Since mongodb can not be used with marconi until gate is updated
to Ubuntu 14.04, we are changing our backend to sqlite.

Change-Id: I1a4148bd545818d5e943257be2f6e752ce43f793
2014-04-23 09:34:35 -04:00
Malini Kamalambal
380587bde6 Rollback workaround for Marconi
This patch rollsback the stderr redirection in Marconi.

Change-Id: Iaa2d897295cf2bc2e4a8c370d3e0592def337c78
2014-03-14 12:25:25 -04:00
Jenkins
a35bd8b70f Merge "Enable marconi-server to run when USE_SCREEN=false" 2014-03-10 19:31:46 +00:00
Flavio Percoco
5fc5b7e231 Add support for sqlalchemy to Marconi
This patch adds a way to setup a marconi instance using sqlalchemy.

Change-Id: Ia694b76286835ca2ca935814370aa43544fe84fa
2014-03-05 21:14:46 +01:00
Flavio Percoco
961328fc46 Fix marconi's storage setting for MongoDB
The storage driver should be set to mongodb and the driver's uri to the
mongodb:// uri.

Change-Id: I6193a5d78f6cd7283b4e3b1831978883b9e99b06
2014-03-05 21:13:53 +01:00
Malini Kamalambal
e2aa91b237 Enable marconi-server to run when USE_SCREEN=false
This patch,
1. adds log_file option to marconi.conf
2. redirects the output from marconi-server, in the same precedent
set by another project.

Change-Id: Ib273a03625d5a4edf8bb3ed7d522d2b087975acd
2014-03-04 16:26:20 -05:00
Malini Kamalambal
2e978dd628 Add use_syslog to Marconi config
This patch adds use_syslog option to the marconi config file. This
is needed to allow marconi to run, when USE_SCREEN is set to False
in devstack.

Change-Id: I547697ec2745975e235a4e58cde81132ac37b70d
2014-02-28 14:06:59 -05: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
Jenkins
92558b8f5e Merge "Fix shocco errors" 2014-02-22 05:06:55 +00:00
Malini Kamalambal
67df3b2fc2 Bind Marconi to SERVICE_HOST & add health check
This patch,
1. Binds Marconi to SERVICE_HOST, to be consistent with other services.
2. Adds a health check to verify if marconi started correctly.

Change-Id: I1d48d0e610369cc97d479a5cd47b2bd11656da3f
2014-02-21 11:45:36 -05:00
Malini Kamalambal
2dcc774223 Add retry to connect to mongo db
This patch adds retries to connect to the mongodb, after a restart.

Change-Id: I16e37614736c247fa0b737db2b868c052c2aa33a
2014-02-18 13:45:18 -05:00
Dean Troyer
d8864feae9 Fix shocco errors
Clean up comments to fix errors seen while processing with shocco

Change-Id: I0e97ad27613313f03e47c107051ea93b115d4744
2014-02-17 11:18:12 -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
Jenkins
745f3933b1 Merge "Revert the tempest service name to marconi" 2014-02-15 01:54:29 +00:00
Jenkins
6c42ecd96e Merge "Marconi fixes for precise" 2014-02-15 01:54:26 +00:00
Malini Kamalambal
1e4e3acaad Revert the tempest service name to marconi
This patch is to rollback the change introduced by
https://review.openstack.org/#/c/73100/. 73100 is no longer needed
because of the recent https://review.openstack.org/#/c/69497/.
Using 'marconi' as the service name will keep us aligned with the
naming convention used by other projects.

Change-Id: I5da6d2aaeb5c9dc29a1cbc70c8425449807eb34c
2014-02-14 11:29:26 -05:00
Dean Troyer
41d96d7b48 Marconi fixes for precise
Fix a couple of problems found on Ubuntu:
* $MARCONI_DIR/etc/marconi/policy.json doesn't exist; removed the copy to /etc/marconi
* added a seting of nssize in /etc/mongodb.conf for Ubuntu
* restart the correct serice name on Ubuntu

Change-Id: I9bd2ab1aa4fb94ff96559e069e5b62138c358fb5
2014-02-13 21:08:21 -06:00
Malini Kamalambal
0b3aacc707 Fix MARCONI_USER
This patch fixes the MARCONI_USER in create_marconi_accounts().

Change-Id: I9618530fa20ee84d25646107c7450017ada908df
2014-02-13 18:18:51 -05:00
Malini Kamalambal
1d50d78560 Fix service name for marconi
This patch updates TEMPEST_SERVICES, to have the same name as devstack
marconi service.

Change-Id: Ibc9b4a66fccd3d95ddd1717bf549476bd843204a
Implements: blueprint add-basic-marconi-tests
2014-02-12 18:26:22 -05:00
Malini Kamalambal
9972ec23c4 Add marconi to enabled services
This patch adds marconi to enabled services. This is needed to run
the tempest experimental job for marconi.

Change-Id: I28794c3acacc6daa9f698f8031b58d1ee13c3bad
Implements: blueprint add-basic-marconi-tests
2014-02-10 13:05:04 -05: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
Dirk Mueller
25049cd23d Use --tenant-id, not --tenant_id
Change-Id: I0e3d65d5b69ac82cbf7ee6ffc41ead369af8c126
2014-01-09 13:55:28 +01:00
Malini Kamalambal
0f7ad6bba6 Fix Issues in Marconi integration
This patch fixes a couple of issues, that prevents marconi from running
on devstack.

Change-Id: I47060a0334ad6f90f1402b34c83bb6ad22f723d4
Closes-Bug: #1260820
2013-12-13 12:45:49 -05:00
Flaper Fesp
06b345e509 Add marconi support to devstack
Marconi has an optional dependency on keystone for authentication. This
code was tested with everything enabled and also with the following
localrc:

    STACK_USER=fedora
    SERVICE_TOKEN=secrete
    ADMIN_PASSWORD=secrete
    MYSQL_PASSWORD=secrete
    RABBIT_PASSWORD=secrete
    SERVICE_PASSWORD=secrete

    disable_all_services
    enable_service qpid
    enable_service key
    enable_service mysql
    enable_service marconi-server

Implements blueprint marconi-devstack-integration
Implements blueprint devstack-support

Change-Id: I13495bcc5c5eb66cee641894e9f84a0089460c8b
2013-11-27 11:09:21 +01:00