Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

rgon.ssl on host layer not working #32

Open
Munsio opened this issue May 29, 2017 · 3 comments
Open

rgon.ssl on host layer not working #32

Munsio opened this issue May 29, 2017 · 3 comments
Milestone

Comments

@Munsio
Copy link
Member

Munsio commented May 29, 2017

Setting the labels rgon.domain/rgon.port on an host are working like expected but it seems that rgon.ssl have a problem, or at least the check for the rgon.ssl block is broken in some way.

@emcniece
Copy link
Member

Is this something that would be visible via nginx -t?

@Munsio
Copy link
Member Author

Munsio commented May 29, 2017

nope thats something related to rancher-gen, the tool is running the rgon.ssl notify cmd but doesn't really call the acmetool want.

5/29/2017 8:55:32 PMINFO[0000] Starting rancher-gen v0.6.0 (ee2ce5c)
5/29/2017 8:55:32 PMINFO[0000] Initializing Rancher Metadata client (version 2015-12-19)
5/29/2017 8:55:32 PMINFO[0000] Polling Metadata with %d second interval30
5/29/2017 8:55:32 PMDEBU[0000] Checking for metadata change
5/29/2017 8:55:32 PMDEBU[0000] Old version: init, New Version: "8582-5cc6db6887beb3525be1bd696730805e"
5/29/2017 8:55:32 PMDEBU[0000] Fetching Metadata
5/29/2017 8:55:32 PMDEBU[0000] No template - processing commands
5/29/2017 8:55:32 PMDEBU[0000] Notifying label 'rgon.ssl'
5/29/2017 8:55:32 PMDEBU[0000] Fetching Metadata
5/29/2017 8:55:32 PMDEBU[0000] Processing template /etc/rancher-gen/default/nginx.tmpl for destination /etc/nginx/conf.d/nginx.conf
5/29/2017 8:55:32 PMDEBU[0000] Checking whether content has changed
5/29/2017 8:55:32 PMDEBU[0000] Checksum content: 2ee61c3cbe72c088f255b10663541cf7, checksum file: 2ee61c3cbe72c088f255b10663541cf7
5/29/2017 8:55:32 PMDEBU[0000] Destination /etc/nginx/conf.d/nginx.conf is up to date
5/29/2017 8:55:32 PMINFO[0000] All templates processed. Waiting for changes in Metadata...

@Munsio
Copy link
Member Author

Munsio commented May 29, 2017

after i created the certificate with acmetool via ranchers terminal the template get generated like it should.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants