~cjwatson/turnip:bootstrap-test-path

Last commit made on 2020-08-25
Get this branch:
git clone -b bootstrap-test-path https://git.launchpad.net/~cjwatson/turnip
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Name:
bootstrap-test-path
Repository:
lp:~cjwatson/turnip

Recent commits

c79a693... by Colin Watson

Make sure /usr/sbin is on $PATH for bootstrap-test

rabbitmqctl is in /usr/sbin, which isn't always on $PATH.

92a75ab... by Thiago F. Pappacena

Making sure to have the data mount when `nfs.available` is triggered without mount-info change

Merged from https://code.launchpad.net/~pappacena/turnip/+git/turnip/+merge/389683

18101a3... by Thiago F. Pappacena

Adding some more checks for data storage

1877517... by Thiago F. Pappacena

Ensuring data is mounted in layer:turnip-storage charm lifecyle

85753ca... by Colin Watson

charm: Store RabbitMQ broker URL in unitdata

Merged from https://code.launchpad.net/~cjwatson/turnip/+git/turnip/+merge/389651

ce46281... by Colin Watson

charm: Reload systemd after unmasking srv-turnip-data.mount

Merged from https://code.launchpad.net/~cjwatson/turnip/+git/turnip/+merge/389648

67245f8... by Colin Watson

charm: Store RabbitMQ broker URL in unitdata

It looks as though amqp relation data is only accessible when running
hooks for the amqp relation, so get_rabbitmq_url can fail when called
from an nfs relation hook. Stash the result in unitdata instead so that
we can access it from other hooks.

77edec4... by Colin Watson

charm: Reload systemd after unmasking srv-turnip-data.mount

CI is currently showing suspicious symptoms like this:

  2020-08-20 23:54:36 DEBUG nfs-relation-changed Created symlink /etc/systemd/system/srv-turnip-data.mount → /dev/null.
  2020-08-20 23:54:36 DEBUG juju-log nfs:17: Writing file /lib/systemd/system/srv-turnip-data.mount root:root 644
  2020-08-20 23:54:37 DEBUG nfs-relation-changed Removed /etc/systemd/system/srv-turnip-data.mount.
  ...
  2020-08-20 23:54:56 DEBUG amqp-relation-changed Failed to start turnip-celery.service: Unit srv-turnip-data.mount is masked.

But srv-turnip-data.mount shouldn't be masked at this point, because
/etc/systemd/system/srv-turnip-data.mount (the masking symlink) was
removed. systemctl(1) doesn't explicitly say that unmask has the
additional effect of daemon-reload, so my best theory is that we should
explicitly call daemon-reload after unmask.

145b7ec... by Colin Watson

charm: Fix handling of rabbitmq relations

Merged from https://code.launchpad.net/~cjwatson/turnip/+git/turnip/+merge/389630

6475a1a... by Thiago F. Pappacena

Moving rabbitmq server from system-dependencies.txt to dependencies-devel.txt

Merged from https://code.launchpad.net/~pappacena/turnip/+git/turnip/+merge/389629