11 Commits

Author SHA1 Message Date
Pete Vander Giessen
59551ca2cd Added support for testing in multipass vms back to basic_test
Script now takes a "-m" argument. This helps to test locally in a
fresh environment.

Change-Id: I7848070cfdf809f084a107f23112fcfc71e11bf4
2019-07-24 22:59:15 +00:00
Pete Vander Giessen
8ea5dc8679 Added automated testing via tox and zuul.
Tweaked tests/basic_test.sh functional test so that it no longer
requires multpass, and can run without kvm cpu extensions being
enabled (not all machines in the game have cpu extensions.)

Added tox.ini, wrapper script for building and installation, etc.

Change-Id: I968116dd7bec412a55813c896d60cfc86c7070db
2019-07-24 08:04:38 +01:00
Pete Vander Giessen
f45bfd913d
Refactor snap to work with core18. (#73)
Refactor snap to work with core18.

Giving the snapcraft.yaml a base property helps tremendously with the
efficiency of the build process, and I believe that it puts us in a
better position to reliably support non Ubuntu distros going forward.

This also bases us on long supported bionic libraries, and gives us a
nice place to work from as we add Python 3 and Stein support, as well
as general polish and fixes.
2019-06-25 11:31:42 -04:00
Pete Vander Giessen
6e13cc4112 Moved cirros image to /var/snap/microstack/common/images
This way, it will get cleaned up when we uninstall the snap.

Also added test hooks to test upgrades, to verify that we aren't
breaking existing snaps.
2019-04-19 17:17:29 -04:00
Pete Vander Giessen
c1efa221f8
Fixed test cleanup. (#65) 2019-04-18 09:26:16 -04:00
Pete Vander Giessen
56cd24f5d0 Moved from database dump to hack.
Dropped a command to change the endpoints from localhost to 10.20.20.1
in the configure hook.

This is a temporary solution, pending automation of the database
update. (I was burning too much time getting a manual dump to work for
now.)
2019-04-10 14:12:01 -04:00
Pete Vander Giessen
34f962dd97 Added updated mysql tarball, and updated tests.
Updated the mysql tarball, which has the localhost -> 10.20.20.1
update.

Test for pinging Internet was failing due to not waiting long enough,
so added a proper retry strategy.
2019-04-05 17:10:41 -04:00
Pete Vander Giessen
6eaf44bbfa Udpated microstack api endpoints from localhost to 10.20.20.1
Addresses the issue where services such as a juju controller cannot
access endpoints from within an instance.

Updated all references to localhost to 10.20.20.1, and added the
address to ALLOWED_HOSTS.

Also updated version of qemu lib.
2019-04-04 10:52:18 -04:00
Pete Vander Giessen
a735b0973c
Added a functional test. (#58)
This is a little messy -- it's a bash script with some outside
dependencies, and it makes assumptions about the capabilities of the
environment that it's being run in. But it does basically work, and
provides contributors with some basic reassurance that they have built
a working snap.
2019-03-27 17:00:26 -04:00
James Page
6e422029a2 Switch region name to microstack 2018-11-08 09:41:49 +00:00
Pete Vander Giessen
ab24554e1c
Add neutron agents (#17)
* Added install hooks for keystone.

* Fixed merge conflicts related to mysql reorg.

* Resolved more mysql merge conflicts.

* Resolved merge conflicts related to rabbitmq refactor.

* Added configure-the-things script to tests

* Turned off horizon for now.

* Disabled a bunch of daemons -- can reenable one by one as we verify them to be working.

* Added configure script, but exit 0 before configuring mysql -- there's something broken about the pathing.

* Fixed stray 'sudo' in configure hook, which was causing problems.

* Split uwsgi daemons into service specific directories

Enable all daemons again.

* Add .d configuration for nova, keystone and glance

* Misc updates

* Drop nova-consoleauth as its deprecated at rocky

* Rename neutron-manage -> neutron-db-manage

* Add neutron and nova hypervisor agents and configuration

* Add configuration files for new agents

* Update worker configuration

* Add libvirt support to nova parts

* Add fake sudo command to unconfuse things
2018-10-31 12:45:44 -04:00