Commit Graph

53 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
OpenStack Proposal Bot 99f9e84dc7 Updated from global requirements
Change-Id: Iff3d5ebd5df376d6556b50aa663ffee80db33415
2016-10-04 21:21:44 +00:00
OpenStack Proposal Bot 6cb543ac99 Updated from global requirements
Change-Id: Ia7282d5395e259802f6b0781aff503d2d08f2867
2016-07-18 18:07:17 +00:00
OpenStack Proposal Bot f8e161f05d Updated from global requirements
Change-Id: Ica936648b84d49f8946392d484ad07d0abec3ed2
2016-07-09 19:18:41 +00:00
OpenStack Proposal Bot d0967e9e34 Updated from global requirements
Change-Id: Ia7e95763c918a4067463c80c3bcebf178db4da11
2016-07-09 03:09:09 +00:00
OpenStack Proposal Bot aaa6f0682e Updated from global requirements
Change-Id: Iaebf447b2f95fff3c8afe44f24a4489c999cf731
2016-06-08 21:56:24 +00:00
OpenStack Proposal Bot c2225c042a Updated from global requirements
Change-Id: Iabcc20d44ac350038d498375d77b3fc31db573ce
2016-06-03 18:11:01 +00:00
OpenStack Proposal Bot e3150609c0 Updated from global requirements
Change-Id: I03c8f375b885c56656635e1ee2df658e5f08cc68
2016-06-01 13:46:36 +00:00
OpenStack Proposal Bot c3146e35f0 Updated from global requirements
Change-Id: I4332f0bfa6418836d11b83dc9658499d483432d7
2016-05-31 02:58:58 +00:00
OpenStack Proposal Bot ea5d367225 Updated from global requirements
Change-Id: Ia67d0d97fb09db94832cd3909f906598807232f6
2016-05-23 20:42:06 +00:00
Adam Gandelman 6a934060f0 Fix messaging layer for newer oslo.messaging changes
Instead of spawning our own threads and relying on the oslo.messaging
executor blocking, lets just use oslo.messaging's internal threading
capabilities.  This converts rpc.Connection to rpc.MessagingService,
which is an oslo.service-based service and sets up messaging to managed
there instead.

Closes-bug: #1583330

Change-Id: I9f5a15f1c5dff7e90761887c519a15888096636b
2016-05-21 21:07:46 -07:00
OpenStack Proposal Bot cea4c6713a Updated from global requirements
Change-Id: I0145029242106e2c1af8149a169ce2881ae8644d
2016-04-15 01:51:54 +00:00
OpenStack Proposal Bot 2b0451b0a1 Updated from global requirements
Change-Id: I68b26ab14839e714322764d4d48838e0b4492134
2016-04-08 00:25:14 +00:00
OpenStack Proposal Bot 0b823a9d13 Updated from global requirements
Change-Id: If8ac891788b5ee98fb7f30514b931f8bdab8ef7e
2016-04-05 13:35:27 +00:00
OpenStack Proposal Bot 2ade40cd9b Updated from global requirements
Change-Id: I6d19949fdfc45f3210eb808c6d4e3d710468f23f
2016-03-05 15:30:36 +00:00
OpenStack Proposal Bot 5d2be5062c Updated from global requirements
Change-Id: Icaa3f1704c235db8eb2fc54117e1ed3749bc9688
2016-03-03 17:59:38 +00:00
OpenStack Proposal Bot 8a2d1ba82d Updated from global requirements
Change-Id: I8589ff0d9f461b56f5871546e337c61a643ccc65
2016-03-01 16:49:17 +00:00
OpenStack Proposal Bot c435c0e896 Updated from global requirements
Change-Id: I0f8e74b28e1270cd34eb383f7e6b9e169ce0fed8
2016-02-24 08:30:26 +00:00
OpenStack Proposal Bot ee2895b175 Updated from global requirements
Change-Id: If353653d9bbb7e078e0751014d13a69318725ff8
2016-02-20 21:53:46 +00:00
OpenStack Proposal Bot e280e76547 Updated from global requirements
Change-Id: I98898eb4bf79564bf9a0a32d7650ea2ed3018f10
2016-02-10 21:51:37 +00:00
OpenStack Proposal Bot c612ca74e3 Updated from global requirements
Change-Id: If3e0256770cdd7fd6f2d11d7ccb90a215ef8dc46
2016-01-26 23:21:52 +00:00
Adam Gandelman 5fed2a7041 Cleanup deleted resource from the tenant resource cache
When a resource is deleted, its not currently removed from the tenant
resource cache.  This causes a cache hit if the tenant attempts to re-create
the same type of resource, but the resource is then later ignored because
it has been deleted.  This adds a callback used by the TRM to remove it
from the resource cache when its state machine is deleted.

Change-Id: I5dcbeda7de240a693fc7a4944dd34a37b10d174b
Closes-bug: #1531597
2016-01-25 10:31:54 -08:00
OpenStack Proposal Bot 3219e39c4d Updated from global requirements
Change-Id: Iabd2042e6d88f21562edee9d5843b3e0ed725a20
2016-01-24 20:47:28 +00:00
OpenStack Proposal Bot 7b032ae565 Updated from global requirements
Change-Id: Ia2634ad28245884c0df6a426aa7ebcf44bf2ec1f
2016-01-23 10:29:16 +00:00
OpenStack Proposal Bot af371f2787 Updated from global requirements
Change-Id: I66f637e868af3e96d1aebdc8787aca737a90138c
2016-01-21 17:40:43 +00:00
OpenStack Proposal Bot 33247487c2 Updated from global requirements
Change-Id: If8c3d339602b1502490c3f4e2287f6df0f05cfb5
2016-01-19 13:45:49 +00:00
Jenkins 89900d73be Merge "Astara oslo.rootwrap" 2016-01-14 18:57:36 +00: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
OpenStack Proposal Bot 9d49a6d7d7 Updated from global requirements
Change-Id: I15efd25d8ea95508a5abbb5c233cd1e7599faf4f
2016-01-07 04:51:46 +00:00
OpenStack Proposal Bot ac7f974216 Updated from global requirements
Change-Id: I2f2001512872bd064b5473c0173bf00c72f88825
2016-01-01 20:26:52 +00:00
OpenStack Proposal Bot ebb377c5a7 Updated from global requirements
Change-Id: I1ffe1771c70731e1e956785f74976f3fda742e6a
2015-12-15 18:53:45 +00:00
OpenStack Proposal Bot bec3b2d66e Updated from global requirements
Change-Id: I4cda75137001337a222ab270f2707981b07998f7
2015-12-11 22:47:14 +00:00
OpenStack Proposal Bot afab50fe25 Updated from global requirements
Change-Id: I81f31ae028d32edbe5c4f8c292438c8e427173d9
2015-12-11 15:17:45 +00:00
OpenStack Proposal Bot 444488d732 Updated from global requirements
Change-Id: Ic379f2f24f771783cba93d09ba55fee41662e076
2015-12-09 21:54:43 +00:00
OpenStack Proposal Bot 1c9d74d389 Updated from global requirements
Change-Id: I1984c03991b8dabd543f98b15aa55c5243bdb071
2015-12-08 02:05:01 +00:00
OpenStack Proposal Bot afede59047 Updated from global requirements
Change-Id: I6f51f2396f25438b0223042a478617c65f80f370
2015-12-03 15:02:05 +00:00
Adam Gandelman df9ffeb7ab Convert to using Keystone sessions for Keystone V3 support
This converts from using our own auth config to relying on keystoneclient
and keystone authtoken middleware instead.  We construct a keystone session
instead and pass that into clients.

Switching to session-backed novaclient exposes a race in our novaclient
usage where we attempt to access attributes on a server object before
its data is completely lazily loaded.  This adds a small spin before
we attempt to access its server status.

This also cleans up the default config a bit as well as silents some
noisy debug logging from isol8601 and cliff.

Change-Id: Ic41dc48e44f692d768ab0eafc0a65d98255ae260
2015-10-16 13:51:59 +00:00
Adam Gandelman 03738f00ba Add support for hash-based RUG scale out
This adds support for running multiple RUG processes to scale out
and distribute appliance load across them.  It uses a hash ring implementation
lifted from Ironic (with modification).  The gist is:

* Workers now maintain a copy of the hash ring, which is hashed using the
list of members in the cluster.

* A new subprocess connects to an external coordination service via tooz, ie
memcache or zookeeper.  This service's only purpose is to track cluster
membership and report changes to this subprocess.  On membership changes,
the coordination subprocess creates a REBALANCE event and puts it on the
internal notification queue.  There is no leadership election required.

* When a worker gets a REBALANCE event, it rebalances the hash ring based
on the new membership list.

* Prior to processing any events bound for a specified router, the worker
first checks the hash manager to find if the resource is assigned to it.
If not, it ignores it.  If it is, it processes the event. This also applies
to incoming command events.

Partially implements: blueprint rug-scaling

Change-Id: I8d04100ffc0e2f2223ebf4b079551dac99224344
2015-10-09 15:07:03 -07:00
Adam Gandelman 69d82afaf8 Update from global requirements
Change-Id: I772d994b6d1e4ac41821a6201bb5c4b731ff6365
2015-09-08 12:05:32 -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
Adam Gandelman b08e39b4af Cleanup requirements
Moves eventlet + six to where they should be and runs requirements'
update.py through the repo, setting correct liberty constraints.

Change-Id: Ieb24cdf1a2e3d895b33a588012a0153cfe9d93a8
2015-06-29 16:15:02 -07:00
Adam Gandelman dd401f7618 Migrate to oslo.i18n
This replaces use of openstack.common.gettextutils with oslo.i18n.
It switches to using the finer grained message catalogs and classifies
log msgs that are currently translated into their respective catalog.

Change-Id: Ia8abe17e5b88ba7994d8dd29763375f3eeb57ed6
2015-06-24 18:48:23 -07:00
Adam Gandelman 1696da438a Migrate to oslo.log and oslo.messaging
This was originally proposed as two separate patches but a module dependency
issue requires them to be squashed into one patch.

* Migrate to oslo.log

This updates logging to use olso.log. Also updates the default logging format
to be a bit more standard, and sets up devstack to configure colorized logging
in the screen session.

This will likely need to be squashed into the oslo.messaging patch but pushing
seperately for the sake of initial review.

* Rework messaging layer for oslo.messaging

Instead of setting up kombu connections directly this uses oslo.messaging.
oslo.messaging doesn't expose all the kombu/rabbit-isms that let us setup a
single connectino to sniff the notifications and RPC buses.  Instead, we need
to subscribe to each as different connectinos. The child process that listens
for notifications now spawns multiple threads, one for each consumer we setup.

This also updates the Sender class to use an oslo.messaging notifier instead of
setting up notifications for commands directly with kombu. The ceilometer
Publisher uses the same approach when sending its messages.

The old code that created Events from messages is now split between a
notifications endpoint object and another for RPC messages.

Change-Id: Ia7cc26dc20ed57bdf21571e260d006669d6f3310
2015-06-24 18:47:30 -07:00
Jenkins f4bc066994 Merge "Migrate to oslo.utils" 2015-06-11 20:07:41 +00:00
Adam Gandelman 4cd899cbb2 Migrate to oslo.utils
This removes akanda.rug's minimal usage of openstack.common.importutils
in favor of the equivalent oslo_utils.import_utils.

Note the old module is still left in place as its used by other old
oslo-incubator things.

Change-Id: I256c87db84d55fb6957252d2593b9ed15b7f35aa
2015-06-03 15:51:46 -07:00
Adam Gandelman f475c70232 Make blessed an optional dependency
blessed is not in openstack g-r and blocks us from aligning there. This makes
the dependency optional.  If it is not installed, the cli browse command emits
a warning telling the user to install it.  The browse section of the CLI is the
only place its used and doesn't affect any other functionality.

Change-Id: If446c2135936c8ea4083eb9fc712a98031b28ac4
2015-06-03 10:19:59 -07:00
Adam Gandelman bd8d9c177d Migrate to oslo.serialization
This removes akanda.rug's usage of openstack.common.jsonutils
and instead uses the equivalent oslo_serialiation.jsonutils.

Note the old module is still left in place as its used by other old
oslo-incubator things.

Change-Id: I94c3d0433180120fc55328ae9ae6917af518ffc9
2015-05-28 10:52:07 -07:00
Adam Gandelman 8a34d72c60 Migrate to oslo.context
This removes akanda.rug's usage of openstack.common.context
and instead uses the equivalent oslo_context.context.

Note the old module is still left in place as its used by other old
oslo-incubator things.

Change-Id: I3343106d4da59dede7ca32e66c8ec7ed1abb4ebb
2015-05-14 12:12:29 -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
Ryan Petrello 1b46220bd6 Remove filtering of events for the neutron user. 2014-07-02 13:25:18 -07:00