Open sudeephb opened 8 months ago
(by afreiberger) Actually, this does seem to work properly, but the relation data does not properly change when config changes on the consumer side. udconsumer should re-announce it's hostname to udprovider if config template-hostname is adjusted.
(by afreiberger) Two issues, udconsumer relation needs to relation-set new hostname to udprovider when config changed for template-hostname.
Track this above issue on this bug.
Other issue, udprovider does not copy files pulled from upstream from /var/lib/misc to /var/cache/userdir-ldap/hosts/ for it's udconsumers. To be tracked in lp#1897134.
When using relation between udprovider and udconsumer, if udconsumer side of relation is using a template-hostname, it should be passed to udprovider for udprovider to link that hosts' key(s) with the template rather than the actual hostname provided from the consumer.
Currently, the udconsumer is looking for /var/cache/userdir-ldap/hosts/. instead of /var/cache/userdir-ldap/hosts/.
The udconsumer can still request hostname.domain, but the provider should squash that to template-hostname within the sshdist user's auth-keys config.
Imported from Launchpad using lp2gh.
date created: 2020-09-16T01:01:30Z
owner: afreiberger
assignee: None
the launchpad url