ocket8888 commented on issue #3060: enroller acts as http server and dir watcher URL: https://github.com/apache/trafficcontrol/pull/3060#issuecomment-442867322 Enrollment no longer complains that it can't create objects.... but seemingly only because it doesn't realize it should. TP shows no servers, CDNs (besides ALL) or Delivery Services. I tried `touch`ing the CIAB CDN file at `/shared/enroller/cdns/010-CDN-in-a-Box.json`, and I tried moving that file out of the `/shared` directory and back in, but it never picked up that a change occurred. Here's the logs after I did those two tests - trimmed out everything before the actual `enroller` binary was started: ``` enroller_1 | INFO: proc.go:201: 2018-11-29T14:44:09.48759042Z: Starting TrafficOps session enroller_1 | INFO: proc.go:201: 2018-11-29T14:44:09.615855155Z: TrafficOps session established enroller_1 | INFO: proc.go:201: 2018-11-29T14:44:09.615923996Z: Watching directory /shared/enroller enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616099736Z: watching /shared/enroller/types enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616179421Z: watching /shared/enroller/cdns enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616245319Z: watching /shared/enroller/deliveryservices enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616306557Z: watching /shared/enroller/phys_locations enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.61636532Z: watching /shared/enroller/regions enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616424773Z: watching /shared/enroller/cachegroups enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616480638Z: watching /shared/enroller/profiles enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616538626Z: watching /shared/enroller/parameters enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616599333Z: watching /shared/enroller/servers enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616673721Z: watching /shared/enroller/users enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616741662Z: watching /shared/enroller/asns enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.61680061Z: watching /shared/enroller/deliveryservice_servers enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616863315Z: watching /shared/enroller/divisions enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616931333Z: watching /shared/enroller/origins enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.616997728Z: watching /shared/enroller/statuses enroller_1 | INFO: enroller.go:757: 2018-11-29T14:44:09.617052286Z: watching /shared/enroller/tenants enroller_1 | INFO: proc.go:201: 2018-11-29T14:44:09.617110653Z: Created enroller-started ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
