Copyright 2015 OpenStack Foundation This work is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/legalcode
Host refstack.org and api.refstack.org on infra¶
The RefStack UI and API servers have matured to a point where the DefCore committee and Foundation staff feel it can be an OpenStack hosted project to collect and report voluntarily collected test results.
RefStack was conceived as a semi-anonymous test reporting tool to support the efforts of the DefCore committee. Vendors and users can use the refstack-client to anonymously upload results from test runs against cloud apis for reporting of widely deployed capabilities and verification of testing standards for the DefCore process.
As a board initiated and community supported process, RefStack is best hosted as a community resource.
To begin with refstack can start with a simple deployment and host the front end ui and api on the same vm with a single ip. If traffic demands, refstack is fully capable of being load balanced.
Allocate a virtual machine for website and api hosting with 2gb of ram.
Edit DNS record to point refstack.org VM.
Allocate trusted certificate for refstack.org
Allocate a trove database instance, start with 5gb of disk and base level cpu.
Import existing data from refstack.net. (david lenwell can provide)
Continue to self-host RefStack at http://refstack.net, unsecured and privately held.
- Primary assignee:
Michael Krotcheck (krotcheck)
- Secondary asignees:
David Lenwell (davidlenwell) Chris Hoge (hogepodge)
Use Gerrit topic “refstack” for all patches related to this spec.
git review -t refstack
Allocate TLS certificates for refstack.org.
Edit refstack.org to point to allocated VM.
Write Puppet module to deploy refstack.org and database.
Allocate trove database.
Entry in infra trove database manifest needs to be created.
Import existing database from refstack.net.
Refstack is hosted at stackforge/refstack.
Puppet deployment prototype is hosted at https://github.com/krotscheck/puppet-refstack and will be relocated to infra.
A server to host refstack.org and will need to be created.
refstack.org must point to the newly created server.
RefStack documentation, for both deployment and usage, is located in the stackforge/refstack repository.
The services will run on Ubuntu trusty
Only TLS enabled connections will be allowed to refstack.org. (i.e. forward http traffic to https)
RefStack has continuous testing in place as part of standard OpenStack development processes. Failures and bugs identified in deployed code will be tested for and added to the continuous testing process.
Backup / recovery steps¶
Traditional backups like any other trove hosted infra database.
Invoke management commands¶
$ sudo service apache2 stop
Restore database dump¶
Standard MySQL database dump and restore.
$ sudo service apache2 restart
Dependencies are captured in the RefStack project, and will be managed by the puppet module.