DeepSea icon indicating copy to clipboard operation
DeepSea copied to clipboard

Need to adjust rgw_frontends syntax on upgrade

Open smithfarm opened this issue 6 years ago • 5 comments

From jewel/SES4 to luminous/SES5 there was a change in the rgw_frontends syntax when specifying multiple rgw ports.

In jewel it was

rgw_frontends = "civetweb port=80, civetweb port=443s ssl_certificate=/etc/ceph/rgw.pem"

whereas in luminous it is

rgw_frontends = "civetweb port=80+443s ssl_certificate=/etc/ceph/rgw.pem"

~~Does engulf/upgrade handle this already?~~ It would be nice if engulf/upgrade could rewrite this.

smithfarm avatar Sep 15 '17 12:09 smithfarm

@Martin-Weiss @theanalyst @kmroz @tserong @jschmid1

smithfarm avatar Sep 15 '17 12:09 smithfarm

No, it just pulls in the config file as-is, it doesn't rewrite that.

tserong avatar Sep 15 '17 14:09 tserong

Thanks, @tserong - updated title and description.

smithfarm avatar Sep 15 '17 14:09 smithfarm

Also note that the import saves ceph.conf to /srv/salt/ceph/configuration/files/ceph.conf.import, and sets configuration_init: default-import, which makes DeepSea use the imported configuration file, rather than using DeepSea's default /srv/salt/ceph/configuration/files/ceph.conf.j2 template.

tserong avatar Sep 18 '17 09:09 tserong

I'm not sure whether the behaviour changed between jewel & L, @kmroz the frontends permissions drop went in for jewel itself right?

theanalyst avatar Sep 18 '17 12:09 theanalyst