Commit Graph

11 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov bc258b4e19 Deprecate OpenStack-Ansible nspawn repositories
Since nspawn support has been removed with [1] we now
start repositories deprecation process.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/782569

Depends-On: https://review.opendev.org/c/openstack/project-config/+/797723
Change-Id: Ic80477b87a3ddc74ac1712f6bd4c3aba284fa1cb
2021-06-23 20:24:41 +03:00
Jonathan Rosser f7db773a32 Add vars file for debian buster
Depends-On: https://review.opendev.org/711112
Change-Id: I291c0d76029639c40050e3271d1dce1cb4c8d65e
2020-03-03 21:37:36 +00:00
Guilherme Steinmüller 745fa16f25 debian: add support
This patch updates the meta and creates a debian
var file to reflect it's support of Debian accordingly.

Depends-On: I2653aea2aebc95bfc67fe49bc66fb68a4f996170

Change-Id: I310557ba51cb29bfe9061603bb5bbe9912a57a98
2019-04-12 20:29:03 +00:00
Kevin Carter b2df99498c
Add test for host_only networks and ensure network ordering
The `host_only` network option did not have a functional test, this
change adds one so that the mv-extra interface will now run with this
which will ensure its functional when enabled. The "nspawn_combined_networks"
also had an issue where the first network in the container config could
be something other than the nspawn container network. This would shift
the gateway from the mv-nspawn and to whatever was defined first. A
change to the "nspawn_combined_networks" will now ensure
"nspawn_networks" is referenced first.

Depends-On: Ic280db301ce44b98ac35c8911999dec5fa263a29
Change-Id: Id20afab8b705f6528ba5575ee4704c1661e6e65c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-10-08 18:07:51 -05:00
Kevin Carter 465ef2c09f Cleanup mounts in containers
Cleanup mount docs, remove redundant config, and set the default backup
mount. These change bring nspawn inline with our LXC capabilities. To
ensure the LXC and nspawn capabilities are on level footing, the read
only bind mount was removed.

Change-Id: I62e2c4ed2b3c7af879e58fca1b22c7dda93fc518
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-09-14 23:39:04 +00:00
melissaml c93f3ec6ef Add a single variable for combined networks
The combined networks variable will allow deployers to set basic
container networks, default nspawn networks, and any "extra" networks a
deployer may need outside of a standard build.

Change-Id: I0cfed0ad6cce99c420c31920446e0a69a82fa602
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-31 18:11:26 +00:00
Kevin Carter ee28a70aee
Remove option that is covered by defaults
Change-Id: I04032a9e89968708a459021dea8c6893e98b95fd
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-18 00:43:01 -05:00
Jean-Philippe Evrard 573bd04e44
Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I732766c759d72783ff4680733de7ab9f50125e81
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-17 19:18:19 -05:00
Kevin Carter 32f3ffdcbc
Update role to gate using all supported distros
The changes here remove the boiler plate code we had in favor of using
all of our common roles. This also updates the nspawn role using some of
the learnings we've had from our recent LXC changes and ensures we're
not breaking any compatibility we had with our various distros.

Add option to run a full config update if required

> As a deployer I need the ability to make a sweeping change to container
  configs if required. At present the nspawn container create role will
  attempt to preserve the configs and update only what's required, which
  is desirable when maintaining uptime. This change provides the option
  `nspawn_container_preserve_config` which, if set to "false" will
  template the container configs instead of trying to preserve it.

Document everything in config

Change-Id: Ie969c10578e1102767ad8991c9d6171b547aef87
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-05-14 21:33:05 -05:00
Kevin Carter 5f3a3bafda
install dbus and cache update cache where needed
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-09 18:54:23 -06:00
Kevin Carter 627d5107cc
First commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-02-06 22:37:24 -06:00