Commit Graph

27 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
Henry Gessau 12493af8fc Use --subproject instead of deprecated --service option
The --service option to neutron-db-manage is deprecated and will be
removed soon. Use --subproject instead.

Related-Bug: #1501380

Change-Id: I4ab0f7b7c41aeed8aeb14c893f1837db94d23fd3
2016-05-30 15:39:37 +00:00
Justin Shepherd f58a3c0bc8 Cleanup multi-line disk-image-create commands
This commit moves the disk-image-create comand lines into a more
readable multi-line syntax.

Change-Id: Ic8a839a81de5bba1d3e0fd56510f9e5b433728eb
2016-05-26 11:34:51 -05:00
Adam Gandelman 6613031d91 Add clustering capabilities to instance manager
This changes the instance manager to use the InstanceGroupManager
to manage clusters of instances instead of individual instances,
including clusters of 1 node for non-HA resources.

This also adds some missing documenation on enabling clustering
of the astara-orchestartor service.

Change-Id: Ib679453aafe68e6653c8c5f9f412efa72c2b7cb1
2016-03-18 14:25:51 -07:00
Jenkins 9a5cc5ff5f Merge "Fixes broken links" 2016-03-18 01:03:28 +00:00
Justin Lund 8f4017195c Fixes broken links
Corrects a couple rST syntax errors causing broken links in the docs

Change-Id: Ie25276a8c54d65a3c016633f4933c696704f80f5
2016-03-16 18:10:18 -04:00
phil-hopkins-a e110c7eeb6 Documentation how to configure astara to support loadbalancers
Change-Id: I9e09db8f539e3a5f30320a66c5132237d5d851e9
Closes-Bug: #1552271
2016-03-14 13:32:23 -05:00
Adam Gandelman 4b5f414ccb docs: Update diagram PNGs
Removes references to Akanda + the rug and replaces them with references
to the actual Astara components.  Also drops a bunch of static files that
are not used for anything.

Change-Id: I37c965d39ac07818c88867a011faee35f83026ab
2016-02-12 10:35:32 -08:00
Shilla Saebi c174f06287 minor changes to orchestrator astara file
multiprocessed is not a word, added hyphen
added a space between cooldown

Change-Id: I36dedc13382cfa149e59f10095bc1276fab8bb6d
2016-02-03 14:21:30 -05:00
Adam Gandelman 1926a19fdf Move ./docs to ./doc
./doc is the standard location for docs across openstack projects.
Move it there to allow us to integrate better with some of the doc
building infra.

Change-Id: I0547301c34e213c154ddb71dc94c10afd9eb8ce2
2016-01-25 14:54:39 -08:00
Sean Roberts 5759be87ab Update the docs directory
State machine bits removed as
  they are moving to the akanda repo
Aslo fix bad URL in root readme

Partially Implements: blueprint liberty-doc-updates

Change-Id: I35cd688850fdd007bb9f0fb27759f6081e64d160
2015-06-12 16:13:02 -07:00
Ryan Petrello d21c327059 Detect boot failures and re-attempt up to `reboot_error_threshold` times.
If calls to boot a router fail (e.g., Nova or Neutron return an HTTP 500 during
the plug + boot process), the state machine goes into CheckBoot state and polls
the router's management address to check for aliveness.  This causes a needless
polling process (because the VM will never boot).

Instead, the CreateVM step should make sure that a VM was *actually created*
before proceeding to the CheckBoot step.  If not, CreateVM should transition
*back* to CreateVM (up to `reboot_error_threshold` times, until the router is
placed into ERROR state).
2015-03-31 12:34:21 -04:00
Ryan Petrello a505f7e685 Add tests and documentation for state machine changes. 2014-08-18 08:25:13 -07:00
Ryan Petrello b951a98411 If a VM goes to `DOWN` state during CheckBoot, restart the VM. 2014-06-26 14:10:37 -07:00
Doug Hellmann 756986e9e6 Make ClearError bypass second CalcAction
When CalcAction determines that the router has an error status, it
transitions to ClearError, which returns to CalcAction. Each time we
make it back to CalcAction, we yield control of the worker and have to
wait for another turn. Since we know we're going to re-compute the same
action, just pass it to ClearError and allow that state to transition
directly to the next real update, bypassing CalcAction.

Change-Id: I5bd28403d679889158f28e6440eab7e3b50318d7
2014-06-23 12:57:31 -07:00
Doug Hellmann b153ebb51b Add a ClearError state
Add a ClearError state to remove the error flag from the VM before doing
anything else with it. Add the new state transition to CalcAction. We
are still protected from boot loops triggered by poll operations because
those are never processed for a router in an error state, but any update
operations or direct commands will be.

Change-Id: I6bf744a33df8f4055a744b5fe2c7ef3d3043c247
2014-06-19 10:36:25 -07:00
Doug Hellmann 346a29431c Detect reboot loops
Do not try to boot the VM in CreateVM if we have too many previous
failures.

Change-Id: Ie9265319350fa5ca9469353f59c5c4021c502216
2014-06-18 11:08:18 -07:00
Jonathan LaCour 7456983a4f Cleanup 2014-05-27 14:07:14 -07:00
Jonathan LaCour 1563a78941 Adding LICENSE and copyright info, and updating the README slightly. 2014-05-27 12:20:35 -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 3c81804dc6 fix comment syntax 2014-04-07 18:05:36 -04:00
Doug Hellmann e094d45328 Clean up state machine diagram
Change the orientation of the state machine diagram so it renders
large enough to read.

Fix reference to CHECKBOOT that should be CHECK_BOOT.

Fix reference to STOP that should be STOP_VM.

Fix order of edge definitions to make them more "logical".
2014-04-07 17:24:58 -04:00
Doug Hellmann 84973461e9 Update state diagram
Change-Id: I5209d55568d10c9c2237e488412a2cb13a4406a6
2014-04-04 11:54:53 -04:00
Ryan Petrello 27e1a90d93 More state machine changes. 2014-03-28 09:52:22 -04:00
Ryan Petrello 183d469879 Update the state machine docs to reflect async boot (and other changes). 2014-03-28 09:32:16 -04:00
Doug Hellmann 2a9dd047be Add state machine diagram to docs
Use graphviz plugin to sphinx to add a state transition diagram.
2014-03-17 15:30:37 -04:00
Doug Hellmann 89d82dfa7c add Sphinx build skeleton 2014-03-17 15:29:42 -04:00