New charm: OpenStack Astara

Bug #1528390 reported by Adam Gandelman
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charms Collection
Expired
Undecided
Unassigned

Bug Description

Astara is a new OpenStack project used to virtualize and orchestrate Neutron network services (routers, loadbalancers, etc)

More info about the upstream project can be found at wiki.openstack.org/wiki/Astara and http://astara.readthedocs.org/en/latest/

Astara is made up of a few core pieces:

- astara-orchestrator - A python service that runs in the OpenStack control plane, listening for Neutron events and orchestrating resources on Nova in response.
- astara-appliance - A VM appliance image that serves as the virtual appliance
- astara-neutron - Neutron API and ML2 plugin code.

These pieces are spread across two juju charms:

- astara-neutron-api:
  * Runs as a subordinate to neutron-api
  * Installs plugin and API extensions into neutron's python namespace and configures it to be loaded
  * Waits for Neutron API to be functional and creates a management network and subnet (used by astara-orchestrator to reach appliance VMs for configuration)
  * Waits for glance API to be functional and publishes the astara-appliance image
  * Advertises (via relation) information about the created network and image to the astara-orchestrator service (deployed via the astara-orchestrator charm)

- astara-orchestrator:
 * Runs as a subordinate to nova-compute, replaces the need for the neutron-gateway service
 * Installs the astara-orchestrator service on compute nodes. This service is designed to scale out and can be replicated on across nova-compute units

This requires two supporting changes to neutron-api and glance, to advertise its API readiness via relations:

https://code.launchpad.net/~astara-drivers/charms/trusty/glance/api-ready
https://code.launchpad.net/~astara-drivers/charms/trusty/neutron-api/api-ready

TODO:
 - unit tests
 - functional tests (there are some func tests in the astara repositories that we can leverage for this)
 - debian packaging based installation (currently uses git)
 - Clustering across nova-compute units not working as expected, fixing bug upstream @ https://bugs.launchpad.net/astara/+bug/1524068

This currently supports deploying stable/liberty + trunk/mitaka. A bundle is available at https://github.com/akanda/astara-juju/blob/master/bundle.yaml

Revision history for this message
Review Queue (review-queue) wrote : LXC Test Results: New charm: OpenStack Astara

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-lxc/1918/

Revision history for this message
Review Queue (review-queue) wrote : AWS Test Results: New charm: OpenStack Astara

This item has failed automated testing! Results available here http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/1898/

Revision history for this message
Liam Young (gnuoy) wrote :

These charms and charm modifications are of a very high quality and my comments below are fairly minor. Thank you for proposing this valuable
addition to the charm store.

astara-neutron-api:
The config changed hook only rerenders config files. This makes the options exposed in config.yaml immutable, is that by design? if so
it would be worth being explicit about that in option description.

astara-orchestrator:
The code to ensure only the lead unit runs and db syncs appears to be missing. Immutable config comment from above is also applicable here.

Tests:
As noted in the bug comment there are currently no unit or functional tests included in the charms. These are a prerequisite for
including the charms in the curated charm store.

Changes to other charms:
The two branches mentioned in the bug description...

https://code.launchpad.net/~astara-drivers/charms/trusty/glance/api-ready
https://code.launchpad.net/~astara-drivers/charms/trusty/neutron-api/api-ready

...look good to me once unit tests have been updated.

I'm assuming that there should also be a keystone update as the keystone charm maintains a list of known services and astara
is not on that list so registration will fail.

Revision history for this message
Adam Gandelman (gandelman-a) wrote :
Revision history for this message
Adam Gandelman (gandelman-a) wrote :
Revision history for this message
James Page (james-page) wrote :

Hi Adam

I need to review the status of the changes that you proposed; will look next week and at your two new charms as well.

Thanks!

Revision history for this message
James Page (james-page) wrote :

All proposed merges apart from the glance one landed prior to the migration to git/gerrit; I've raised a review with your proposed changes against the glance charm.

Revision history for this message
James Page (james-page) wrote :
Revision history for this message
Antonio Rosales (arosales) wrote :

For the OpenStack specific change, Per james-page comment, the fixes have landed, and the outstanding Glance merge is being addressed at https://review.openstack.org/#/c/330680/

Per comment 4 the astara-orchestrator charm still needs testing development:
http://bazaar.launchpad.net/~astara-drivers/charms/trusty/astara-orchestrator/v1/files/head:/tests/

Thus, marking this bug as "Incomplete." When the testing is complete please put the status of this bug into "Fix Committed."

Changed in charms:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Juju Charms Collection because there has been no activity for 60 days.]

Changed in charms:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.