Commit Graph

31 Commits

Author SHA1 Message Date
Andreas Jaeger 7759e2fd82 Retire astara repo
Retire repository, following
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

Change-Id: If5f7d284bd107a93edd9272ac0ed8e6d20ba5c51
2018-10-14 12:50:35 +02:00
Adam Gandelman f8f64945ae Update test suite for keystone V3
Switches to using keystone sessions and adds compat between V2.0 and V3
identity APIs.

This additionally folds in a small change to fix doc generation and
unwedge the gate. This was originally proposed in another set[1].

[1] https://review.openstack.org/#/c/273887

Change-Id: Iaa34b620cb45cfb82f9294289a89c19c2b097919
2016-01-30 11:28:45 -05:00
Adam Gandelman 84b0928c4d Enrich functional test suite
This beefs up the functional test suite to do some tests on a
tenant router.  The test can now creates one-off tenants to be used
in the tests.  The new tests act entirely on behalf of the test
router and attempt on only use admin-level things when required.

Partially-Implements: blueprint ci-updates-mitaka

Change-Id: I26fa70f877522f09075dc87583f2359cc0dcaf41
2016-01-21 23:17:15 -08:00
xiayu ca21f3b647 Automatically generate etc/orchestrator.ini file
This switches keystone to use oslo-config-generator, where the contents
of our sample configuration file are configured using a configuration
file in etc/oslo-config-generator.

Also fix some config problems.

blueprint autogen-astara-conf-file

Change-Id: I394805b18eecc4fbc583f9d64d34b8e95b55a845
2016-01-18 13:55:59 +08:00
xiayu 087132fac6 Astara oslo.rootwrap
Use oslo.rootwrap to replace the default root_helper sudo. Add
network filer for ip, ovs-vsctl, ovs-ofctl command.

Change-Id: I13d42b32b6589069a73d33eb67eed117cd519a5b
Implements: blueprint astara-rootwrap
2016-01-13 10:46:57 +00:00
Adam Gandelman dd69608ea9 Remove version from setup.py
To better integrate with new release management infra.

As per http://lists.openstack.org/pipermail/openstack-dev/2015-December/081431.html

Depends-On: I52cd0e7583d224cf99922845f947824179debe7b
Change-Id: I0e834ffe90660ee65a0833638a99de486d3eaff7
2016-01-05 16:50:08 +00:00
Mark McClain 9151fbe2ac Remove python 2.6 classifier since py26 is not supported
Python 2.6 support was dropped pre-Liberty, but we did not update the
project classifier.

Change-Id: I24302efaaa8f7c77aef740171ac6b29bca58e2b3
2015-12-07 23:28:39 -05:00
Mark McClain a5ab32c80f Step 3 of module rename
In this step all of the imports and usage of akanda.rug is updated to
use astara. Addtionally rename all internal references from Akanda to
Astara.

Change-Id: I0cb8596066d949bceaadc4718b210fc373b5f296
Depends-On: I87106ae63747291bb6424839b5155f53136c54f9
Implements: blueprint convert-to-astara
2015-12-04 17:00:52 -05:00
Mark McClain 22304fd0ea Step 2 of renaming the code
Partially-Implements: blueprint convert-to-astara
Change-Id: I416b774557c2233652d62daf1b94cbf5dc83fa8b
2015-12-04 11:09:34 -05:00
Adam Gandelman 28c8985db4 open mitaka development
Change-Id: Ie7cf22727caa4eff67d3c84f3c147e8eaf40acff
2015-10-23 02:41:53 -07:00
Mark McClain 85168133a1 begin process to update to astara
This is the first step in converting the repo for Astara. This includes
changes to console scripts, new default users and packaging hooks.

Change-Id: If8e383e86cf867b8167f22b4411edf167d6cbd9a
Partially-Implements: blueprint convert-to-astara
2015-10-22 14:53:57 -04:00
Adam Gandelman 96c942e125 Introduces the Pez instance provider
This abstracts away how/where akanda.rug.api.nova.boot_instance()
creates a new resource.  It preserves existing behavior of booting
one-off instances for resources in the OnDemandInstanceProvider.

It introduces a PezInstanceProvider which relies on a new service
akanda-pez-service.  This service is responsible for keeping pools
of hot-standby nodes to be ready for use as appliance VMs.  The size
of said pools are configurable and it maintains separate pools for
each enabled driver type.

When configured with the the PezInstanceProvider, the Rug will request
instances via RPC from Pez instead of booting directly from Nova.

To enable, you must run the akanda-pez-service and then set
'instance_provider=pez' in rug.ini.  The default, which preserves existing
behavior, is 'instance_provider=on_demand'

Implements: blueprint nodepool-support

Change-Id: I7680c747d8c351c63d675f5fb377eee5edbf7b31
2015-10-21 10:16:24 -07:00
Adam Gandelman 85d283ffd9 devstack: Update repos stackforge->openstack
Change-Id: I2e550a96527be2f959147ef308101cdfbc5787c8
2015-10-18 15:06:48 -04:00
David Lenwell c8f14d6e9d Add driver framework
This abstracts all router-specific functionality into a router driver,
paving the way for the Rug managing other advanced services.

'rug-ctl router {debug, manage, update, rebuild}' commands have been
deprecated in favor of 'rug-ctl resource' equivalents, to be removed
in M.  The newer 'resource' commands are meant to address any
Rug-managed resource.  These requests are routed to the correct place
on the server-side, instead of a Neutron lookup on the client side.

Co-authored-by: Adam Gandelman <adamg@ubuntu.com>

Partially Implements: blueprint appliance-provisioning-driver
Change-Id: I1d2c68b81d28ebb0ca6ce4dcad237c4803bb96d6
2015-10-08 13:27:03 -07:00
venkatamahesh e11902673d Fix the sphinx build path in setup.cfg
Change-Id: I0bf2c1d6c06d1f0494cc6a6d7e926c7035768af9
2015-09-23 16:28:38 +05:30
Sean Roberts 5992f0fc02 follow semver release versioning servers change
packaging version will start with the accepted neutron version
Partial-Bug: #1470673

Change-Id: I8bfa4b4e1213bb7b6e03739bef13f18b31975041
2015-08-22 12:22:40 -07:00
Adam Gandelman 6a3261958b Adds a DB layer, use it for debug modes
In preparation for scale out RUG, this adds a database layer
(built on oslo.db) that will be used for managing debug modes.
Instead of tracking debug'd/ignored routers and tenants in-memory
or on disk as files, this uses a database. This means that putting
things into debug mode via rug-ctl are now persistent, and the file-based
approach is no longer available.  A sqlite database (the default) can be
used for single node installs, or the RUG can be pointed at mysql/pg to
handle this in larger environments.

This also adds a global debug mode that can be used to ignore all events
during maintanence periods.

A new optional 'reason' argument has been added to the debug modes, allowing
operators to add a note when entering a tenant/router/cluster into debug
mode.

Change-Id: I3f5129e11b11cf5aaed8889da3b204104e5ad203
Closes-bug: #1470619
Partially implements: blueprint rug-scaling
2015-08-12 15:09:33 -07:00
Sean Roberts 86f662cebf Bump version in setup.cfg to 2015.2
Change-Id: Id93cfc547a3e2dbf1c7ff3787875e46be4501e3f
2015-07-30 15:50:31 -07:00
Sean Roberts 37e5f2e65b getting ready for release
setup.cfg added 2015.1 version to metadata section

Partialy Implements: blueprint ci-updates

Change-Id: Iadee59fb4ae43fc9df2647a3c778a1f1ad36b80e
2015-05-09 00:56:06 -07:00
Ryan Petrello 2df6b0afa2 Add a `rug ssh` convenience command for router address lookup. 2015-03-11 12:08:18 -07:00
Ryan Petrello bbba25e029 Send the correct AMQP message, and register a `rug-ctl` command.
(cherry picked from commit e3831286d69fe97d71c9ad2aba086c0484a850f8)
2014-07-08 15:02:04 -07:00
Ryan Petrello 272a42ada8 Add an interactive CLI for browsing and rebuilding appliance VMs
(cherry picked from commit 7d8e569999907209e114a10064f97ad528c0b668)
2014-07-08 15:01:27 -07:00
Jonathan LaCour af7e65df1e Fixing setup.cfg for README file. 2014-05-27 15:27:01 -07:00
Doug Hellmann 0a70643e7a Add rug-ctl router rebuild command
Add a command to forcibly rebuild a router. It works
by destroying the instance and building a new one, which is
brute-force, but easy to understand.

I also changed the worker's lookup for tenant router
managers so the tenant id is normalized cleanly to
avoid confusion since some events use '-' and some
do not (yay, consistent!).

Change-Id: I79a622b0c6cc23041da55ec2f54f79ccf463379e
2014-04-16 13:49:36 -07:00
Doug Hellmann 3d3daedc8f add "poll" command to rug-ctl
Change-Id: I307ae1c7dbd1820ba670e680cd55c8088afcaa1f
2014-04-04 08:38:09 -07:00
Ryan Petrello 86f661bcd4 Merge pull request #113 from dhellmann/force-update-command
add force update command to rug-ctl
2014-03-17 15:47:25 -04:00
Doug Hellmann 7d09ec1fb6 Add rug-ctl command to reload config
Add a command to have the worker reload the configuration file(s). This
will be useful when we automatically deploy new router images, since
we can change the running RUG without restarting it and losing any work
that is happening at the time.

Change-Id: I08628b1292e0e5a26dc3382c790dd41a806716bb
2014-03-17 12:40:17 -07:00
Doug Hellmann 4fb0004796 add force update command to rug-ctl
Change-Id: I140fe1fde6c7afd4747fa128d6d91069ef3845ef
2014-03-13 14:19:46 -07:00
Doug Hellmann 51e5a082bf convert packaging to pbr
Change-Id: Idc85f3ae84de79b6f2303e3b76368a16ce9867be
2014-03-10 11:56:17 -07:00
Doug Hellmann 3d67d1518d Move test package under the main source tree
Change-Id: I0b5027d70e184d8954295502bd1e8768e1c667b2
2013-07-22 17:15:21 -04:00
Mark McClain 251eba295e setup basic repository structure 2012-09-25 22:51:27 -04:00