117 Commits

Author SHA1 Message Date
Ryan Beisner
362395dea1
Merge pull request #47 from CanonicalLtd/more-compatible-vm-defaults
Switched to qemu and host-model libvirt settings.
2018-12-13 10:18:51 -06:00
Pete Vander Giessen
c563717f6e Switched to qemu and host-model libvirt settings.
These settings are less performant, but more universally compatible.

A seperate task would be to expose these settings via the snap config,
in some sensible way. For now, this means that microstack will "just
work" in more places.
2018-12-12 22:08:59 +00:00
James Page
6aa38a941a
Merge pull request #46 from CanonicalLtd/fix-network-after-reboot2
Persist external bridge over reboots.
2018-12-06 06:47:33 +00:00
Pete Vander Giessen
597ffc99d8 Perist external bridge over reboots.
This fixes an issue where we weren't creating a netplan config and/or
and entry in /etc/network/interfaces for br-ex, and thus losing
external access to our virtual networks after reboot.

Since we don't actually want to touch the host system's networking
config, we just drop a oneshot daemon into place that sets br-ex up
each time the snap services are started.
2018-12-05 21:25:11 +00:00
Pete Vander Giessen
e769f51a9d
Fixed openvswitch timeout issue. (#43)
It appeared to merely be an issue of ensuring that the daemon started before the server.

Also the version on one of the files that we download for another serivce. (Fragile code is still fragile, but fixing it is a separate TODO.)
2018-12-03 14:16:15 -05:00
Chris Morgan
d47a1602f4 Avoid getting to "(try 4 of 3)" tries to build the instance (#40) 2018-11-28 18:24:43 -05:00
Pete Vander Giessen
454fd38526
Fix instance errors (#34)
* Fix some common errors when starting up.

Added more polls for services that we want to make sure are up and running.

Fixed issue where launch script wouldn't run when /snap/bin wasn't in the PATH.

* Added very basic resiliance to launch.sh script.

Tears down a machine and attempts to rebuild it if the build drops into an error state.
2018-11-14 11:14:30 +01:00
Pete Vander Giessen
d14498cbd9 Fixed iptables issue (explicitely added path in libvirt) 2018-11-13 20:12:43 +00:00
Pete Vander Giessen
e11c22d3ab Grade to stable in preparation for annoucnement and candidate release tomorrow. 2018-11-13 15:43:18 +01:00
James Page
d94e7404ca Revert "Rename snap from microstack to openstack"
This reverts commit a117e9ab24b7651878e8133ef4a9a823ab454ac0.
2018-11-13 14:40:46 +00:00
James Page
36f20aaee3
Merge pull request #33 from javacruft/rename-to-openstack
Rename snap from microstack to openstack
2018-11-13 14:13:54 +00:00
James Page
a117e9ab24 Rename snap from microstack to openstack 2018-11-13 13:57:39 +00:00
James Page
2b0a7b1de4 Fixup prefixing for iptables extension loading (#31) 2018-11-13 12:12:21 +01:00
Pete Vander Giessen
92fc5c1ec5
Modified launch script. (#32)
chmod ~/.ssh/id_microstack so that we don't get errors.

Reordered the way we setup security groups so that everything is overall faster.
2018-11-13 11:59:24 +01:00
Pete Vander Giessen
4d7de679fc
Added microstack.launch command. (#30)
Added microstack.launch command.

Provides a quick way to launch an m1.tiny instance.

Extendable in the future to be a bit more like the multipass launch or lxc launch commands.
2018-11-13 01:32:07 +01:00
James Page
1c3190b89d
Merge pull request #28 from javacruft/doc-updates
Doc updates
2018-11-12 16:51:54 +00:00
James Page
8c3b6b79ae
Merge pull request #29 from javacruft/more-arch-fixes
Make libspice-server1 optional
2018-11-12 16:00:28 +00:00
James Page
dc7bc0afb9 Make libspice-server1 optional 2018-11-12 15:59:01 +00:00
James Page
5f58665e9c
Merge pull request #27 from javacruft/more-arch-trys
Make dmidecode optional for multi-arch support
2018-11-12 14:31:02 +00:00
James Page
bf8885a7d3 Drop 1 doh 2018-11-12 10:09:36 +00:00
James Page
fbb9395801 Add part for accessing Horizon as well 2018-11-12 10:09:24 +00:00
James Page
889805c5d2 Misc updates to readme including a basic boot and access section 2018-11-12 10:07:10 +00:00
James Page
2f5b6c35d1 Make dmidecode optional for multi-arch support 2018-11-12 09:45:11 +00:00
James Page
0c955d6e2c Mysql quick init (#26)
* Preseed mysql data dir with something useful

* Configure fernet keys on first install

* Update overlay

* Ensure image is synced
2018-11-11 16:29:27 -05:00
James Page
1edeff78d8 Add basic README 2018-11-09 11:15:56 +00:00
James Page
3b31375502 Update libnuma-dev to be optional 2018-11-09 08:16:11 +00:00
James Page
c2a664f8c5 Make spice dependencies optional 2018-11-09 08:01:17 +00:00
James Page
f6f61749f5
Merge pull request #25 from javacruft/regionone-to-microstack
Switch region name to microstack
2018-11-08 21:05:27 +00:00
James Page
6e422029a2 Switch region name to microstack 2018-11-08 09:41:49 +00:00
Pete Vander Giessen
320a522d73 Revert speedup merge (couldn't launch instances) 2018-11-08 03:14:37 +00:00
Pete Vander Giessen
fb04856e71
Mysql quick init (#24)
* Preseed mysql data dir with something useful

* Configure fernet keys on first install

* Update missing instances directory

* Updated mysql.tar.xz

* Folded configure command into configure hook.
2018-11-07 21:02:56 -05:00
Pete Vander Giessen
8c1d0d3f78 Fixed pathing issue w/ horizon dashboard. 2018-11-07 22:58:37 +00:00
Pete Vander Giessen
c686b13d8f
Fix horizon (#23)
Fixed dashboard errors.

Added a proper uwsgi script with matching .ini templates.

Added django settings files that fix issues with Django attempting to write files to the read only snap filesystem, and generally make things work well in the snap.

Fixed snap-openstack.yaml entries so that our file and directory setup is accurate.
2018-11-07 16:30:20 -05:00
James Page
65b3cc6531 Fixup instances path creation 2018-11-06 18:00:16 +00:00
James Page
f79ede2ad0
Merge pull request #21 from javacruft/configure-refactor
Configure refactor
2018-11-06 14:14:35 +00:00
James Page
5f2d12c306 Add router and external network configuration 2018-11-06 12:03:32 +00:00
James Page
6077a6fe80 Create br-ex for floating IP networking 2018-11-06 11:55:56 +00:00
James Page
dc4cb0533e Wait for mysql 2018-11-06 10:53:40 +00:00
James Page
2129058ec0 Drop plugs for the time being until we have proper confinement - commented out of easier re-introduction 2018-11-06 10:18:27 +00:00
James Page
3529ff2786 Tidy descriptions 2018-11-06 10:09:35 +00:00
James Page
58b4650cf4 Split service configuration from configure hook 2018-11-06 10:01:54 +00:00
James Page
81f612eb24
Merge pull request #20 from javacruft/minimize-libvirt
Drop libvirt wrapper script, no longer needed
2018-11-06 10:00:38 +00:00
James Page
15afd972ab Drop libvirt wrapper script, no longer needed 2018-11-06 09:07:05 +00:00
James Page
6de0f17e18
Merge pull request #19 from javacruft/missing-stage-packages
Missing stage packages
2018-11-06 09:04:51 +00:00
James Page
c478ac8ed3 Fixup libevent name 2018-11-06 08:18:06 +00:00
James Page
07290b0839 Add more stage packages 2018-11-06 07:58:16 +00:00
James Page
2274a07e1f
Merge pull request #18 from javacruft/configure-hook
Configure hook
2018-11-05 18:05:46 +00:00
James Page
2e63e927b1 Drop use of deprecated nova.neutron options 2018-11-05 18:01:11 +00:00
James Page
e1091643c8 Configure for metadata proxy access 2018-11-05 18:00:10 +00:00
James Page
7fc58e9837 Fix location for snap build qemu data components 2018-11-05 17:06:37 +00:00