Commit Graph

91 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
Andreas Jaeger 85b7cb5f0f Always enable devstack service
When the plugin is enabled, we should always enable the service, there's
no benefit in having an extra invocation - and it can only confuse users
when they forget setting it up.

For more info see:
http://docs.openstack.org/developer/devstack/plugins.html

Change-Id: Ifcabc0955cb54f66388cac0c74b70c70ba65a1f9
2016-10-04 21:21:19 +00:00
Mark McClain 59e25b504d Make Astara Newton compatible
This change makes Astara compatible with Newton. This change adds support
for Neutron agent reporting and service providers to work with new L3
drivers.  Included in this change is a temporary filed called newton_fix.py.
This file will be removed in follow-up change after changes are migrated to
astara-neutron.

Change-Id: I5843e84e36af2e46de5b8420ca5749033c26ee69
2016-10-04 10:49:09 -04:00
Kyle Mestery e82baba8d0 vagrant: Add a Vagrant setup for Astara
Add a Vagrant configuration for Astara. This makes it easy for someone
to pull the openstack/astara repository and get up and running with an
Astara setup quickly.

Change-Id: I600328c2a53a8d4aff5bf39a96aaa5b79ef99464
Signed-off-by: Kyle Mestery <mestery@mestery.com>
2016-05-23 13:38:03 -05:00
Mark McClain 7b1515348e enable VPN support when neutron-vpnaas in devstack
This change enables ipsec VPN support when neutron_vpnass is enabled in
devstack.

Change-Id: Ia6fb1f9b23f0fbaf2531434c2cac1e317370046b
Closes-Bug:1566602
2016-04-05 21:45:58 -04:00
Adam Gandelman 93261b2a1a devstack: Bump alive_timeout
Bump alive timeout to 60s to deal with slow qemu instances.

Also, give astara more time to recover from a degraded cluster. This
can be slow to recover when a slow qemu node is waiting on a long-running
config update.

Change-Id: I491b96c43d898f7a961725e4f5720af7b9547038
2016-03-29 14:54:06 -07:00
Adam Gandelman f4cfb48080 Fix bugs in functional tests
- Dont cache management address of appliances
- Wait for nova instance status==active before asserting router status
- Wait a full config_timeout (600s) for rebuild
- Also look for ha router interfaces when cleaning up

Change-Id: I69341c6abee4e36b10f8e9b676587babe861f0c0
2016-03-28 19:50:25 -07:00
Jenkins d11cc791e6 Merge "Set Horizon customization_module" 2016-03-17 01:24:38 +00:00
xiayu 9f897b229d Set Horizon customization_module
Table in horizon show neutron dhcp agent will cause an error
with astara plugin, override the panel by setting Horizon
customization_module option.

Change-Id: I01a323f44b0c99320d6437aebac1abbdf605974e
2016-03-15 09:22:02 +08:00
Jenkins 19298d8171 Merge "devstack: Move start_astara to after start_astara_hozizon" 2016-03-09 21:46:17 +00:00
Jenkins 060e9178e0 Merge "Remove external network hooks and auto-added resources" 2016-03-08 20:54:16 +00:00
Adam Gandelman 4561f0f5e1 devstack: Move start_astara to after start_astara_hozizon
start_astara_horizon restarts apache to load the horizon plugin.
This also restarts keystone, which causes the initial boot loop
for the first router to fail when astara is started.  This moves
updates it to restart apache before starting astara, eliminating
the race.

Change-Id: Ibec39488024497ed5fab2abd1e32f5d1f9e39a68
2016-03-07 14:18:07 -08:00
Mark McClain f8d7a37abb Remove external network hooks and auto-added resources
Previously the orchestrator could be configured to create access to the
external network.  This combined with auto external gateway additions
would cause problems with automation tools and did not work reliably.
This change removes this functionality since it was often disabled in
production deployments. This change aslo slightly reduces devstack
runtime by removing the Neutron restart.

Change-Id: I556f1fc2729f1d62a60de24b6d5e9ed473749f9a
2016-03-07 13:15:35 -08:00
Jenkins ee8e5abb53 Merge "do not set floating ip" 2016-02-25 21:00:06 +00:00
Jenkins e0246ef0c0 Merge "Revert "Temporarily set astara_boot_command in config"" 2016-02-25 20:20:19 +00:00
Mark McClain c19cef298a do not set floating ip
Astara floating IP hook was removed in another change[1]. We can remove
that support here.

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

Change-Id: I4b99af1e8523da827c892ba67861d40dfb7fe980
2016-02-10 10:02:37 -08:00
Yang Hongyang 4bf0b90553 Revert "Temporarily set astara_boot_command in config"
We are now at mitaka-2, this temporary settings can be removed.

This reverts commit 8339af1aed.

Change-Id: If417a6df1b5b1c2158719caa38afc36721c0e94c
2016-02-06 19:01:43 +08:00
Yang Hongyang 5c7a4550d5 trivial: enable plugin astara instead of astara-rug
The plugin name should be astara in devstack README.

Change-Id: I0e50438ad2ca806a6f3d5f8a4e0bc3cb72376ce0
2016-02-06 12:42:40 +08:00
Mark McClain bfbb7e5d22 clean up Nova policy changes
Only change Nova policy settings with Nova is installed.  Also make sure
to use configured value of NOVA_CONF instead of hardcoded path.

Change-Id: I8534c2631186b8937faaa6b82f67bae3a5a5fe7f
2016-02-03 14:54:18 -05:00
Mark McClain a54077982e make the enabled_drivers configurable in devstack
Change-Id: Ic2dffc32a8eb36411997578c764a7be221eab9e5
2016-01-25 12:40:52 -08:00
Mark McClain 19a244f23f Move settings from plugin.sh to the settings file
This is more consistent with the other OpenStack projects placing all
vars into settings.

Change-Id: Id2dcb7b63f7df1eb5f4baaf1837be90c42628598
2016-01-25 12:40:52 -08: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
Adam Gandelman c598f366ec Drop orchestrator.ini.sample from git
This drops tracking of the generated sample from git, since the output
of generation is non-deterministic, we end up with big changes to this
file anytime someone proposes a change that requires a new sample.

Instead, lets track orchestrator.ini and update it at milestone/release
times.

Also, have the devstack plugin generate and use a sample, that way we
get some gate testing on proposed config changes.

Change-Id: Iaf5127733765e973dbf0e812f267a3304c575fd4
Closes-bug: #1535889
2016-01-19 13:55:14 -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
Jenkins 9e2517a038 Merge "Allow API listening address to be specified in config" 2016-01-15 21:43:41 +00:00
Jenkins 3ff4b5e3a4 Merge "devstack doesn't check ASTARA_APPLIANCE_SSH_PUBLIC_KEY existence" 2016-01-15 00:21:10 +00:00
Adam Gandelman 1d26671b3f Allow API listening address to be specified in config
This allows users to configure a specific API listening address
for the astara administrative API.  This also updates devstack
plugin to publish this into the keystone catalog, for easier
lookup by astara-horizon.

Partially-implements: blueprint astara-horizon-mitaka
Partial-bug: #1516787

Change-Id: I2b96137c05b832a68ad01a11ec0cfb2371111c3c
2016-01-14 11:04:06 -08:00
Jenkins 89900d73be Merge "Astara oslo.rootwrap" 2016-01-14 18:57:36 +00:00
Jenkins b7771a102c Merge "devstack: Use trueorfalse function" 2016-01-14 02:28:09 +00:00
Jenkins 9157a4c129 Merge "gate fixer: Fix devstack auth issue and new PEP8 violation" 2016-01-14 00:34:42 +00:00
Adam Gandelman da8d8cd9fc gate fixer: Fix devstack auth issue and new PEP8 violation
Squashes two commits needed to unblock the gate:

devstack: prevent auth params set in env. polluting client calls

The switch to keystone v3 has introduces issues when other devstack
components set tenant or project name in environment, as it overrides
those set by us in our plugin script.  This ensures that doesnt happen.
It also updates usage of upload_image to avoid issuing a token (no longer
needed) and uses openstack client to create the nova flavor using clouds.yaml.

Fix E402 pep8 violation

Change-Id: Icfd0790e0f23bc9daaef6e006e39e3b94e42417e
2016-01-13 12:56:21 -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
shengzhang 0620ae3d28 devstack: Use trueorfalse function
Use trueorfalse function to deal with user setting [tT]rue or [fF]alse.

Change-Id: Ie2dba826a85c1138fb4cddc7f440410c51a1ea85
Closes-bug: #1532529
2016-01-10 16:41:26 +08:00
zhang sheng 35ffb2cf51 devstack doesn't check ASTARA_APPLIANCE_SSH_PUBLIC_KEY existence
Change plugin from "source" to mode "stack" and phase "pre-install" to generate the default ssh keypair.

Change-Id: Ie52095db3342cfa01114a2fd1c67220b9edf9626
Closes-Bug: #1531723
2016-01-08 07:58:14 +08:00
zhang sheng 7a69eb0f7e Fix devstack hardcode location of astara appliance public key
Use environment variable $HOME to set the default public key path.

Change-Id: I893c14ac4e2bb847487b1b67a8530893627cec7d
Closes-Bug: #1524596
2016-01-07 09:45:06 +08:00
Jenkins 7a70496dd2 Merge "devstack: Unpin DIB" 2016-01-05 17:34:36 +00:00
Adam Gandelman 80a0c18944 devstack: Set correct nova metadata proxy flag
The correct flag is 'service_metadata_proxy' in the [neutron]
section.

Change-Id: I40abbbd841ca85c102cf7144cc8ca2fcbadb238a
2015-12-23 13:54:36 -08:00
Adam Gandelman 81189cb581 devstack: Unpin DIB
Change-Id: Ic27427ebe42a5564f8b6b03c287457bf16bb84d4
2015-12-21 13:02:31 -08:00
Jenkins da11a6d5ed Merge "Deprecate usage of amqp_url in favor of oslo.messaging backend config" 2015-12-17 19:38:46 +00:00
Adam Gandelman e92c2e8da5 Deprecate usage of amqp_url in favor of oslo.messaging backend config
This deprecates usage of the old amqp_url in favor of using backend-specific
oslo.messaging configuration.  Removes the old, pre-Liberty options and silences
a bunch of deprecation warnings to boot.

Change-Id: Ib666901c28f66a7616aa445ecc7120fe9d1e1364
Closes-bug: #1524595
2015-12-11 16:42:14 -08:00
Mark McClain 7b5b8625b7 fix ASTARA_MANAGEMENT_PREFIX and make subnet create dynamic
Change-Id: I0c93b525d008808c9717d508b2af950ed200d278
Closes-Bug: 1525417
2015-12-11 18:25:01 -05:00
Jenkins 005c114bfb Merge "Update sample config rug.ini->orchestrator.ini" 2015-12-08 23:39:54 +00:00
Jenkins d648dd5dc0 Merge "Temporarily set astara_boot_command in config" 2015-12-08 22:57:27 +00:00
Adam Gandelman 8339af1aed Temporarily set astara_boot_command in config
Our published image is currently 1 commit behind trunk, so we need
to point this at the old console script until a newer image shows up
with the rename in place.

This can be reverted after mitaka-1.

Change-Id: Ieae165c98f23a1ff20ec75a09d79e495537cea2b
2015-12-08 12:21:21 -08:00
Adam Gandelman 3acbf84707 Update sample config rug.ini->orchestrator.ini
Change-Id: I14c92dddb86f79f22863b0f7f4f10b80fc582f11
Partially-Implements: blueprint convert-to-astara
2015-12-08 12:04:27 -08:00
Adam Gandelman ba8c49e1ab devstack: Update published qcow2 URL akanda->astara.
Also updates the path of neutron plugin from akanda.neutron
to astara_neutron.

Change-Id: I65d5e80cbb43f011059375e4cb4d86506068e730
2015-12-07 10:18:58 -08: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
Adam Gandelman 71373dcc06 devstack: Fix dib image location
We're building astara.qcow2 but pointing glance to akanda.qcow2.

This fixes it and should fix the dsvm-src jobs.

Change-Id: I2e87e8bdcc3ad17d8689cd74e9697dc371849006
2015-12-02 17:00:28 -08:00
Adam Gandelman e635117743 devstack: Build image using new element name
Change-Id: Ia910fd01ba73741a01bd0d41f22d9a591c05efd0
2015-12-02 15:29:01 -08:00
Andrew McCallum 63420bce5a Change devstack git clone to use https
During devstack stack, Git cloning from Github regularly (not
always) fails using http.
Apparently, Github are moving away from http to https.

MarkMcClain correctly recommends using the devstack variable
GIT_BASE. This is actually a change from http to git protocol.

Track naming change from akanda to astara.

Change-Id: I753fe5edd16f83927993f75ddd29500b01555ea3
2015-11-18 18:05:33 +11:00