You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Reindl Harald <h....@thelounge.net> on 2017/01/14 04:38:19 UTC
ATS 7.0 reload remap.conf with read-only /etc
frankly can you stop all that write access to /etc/trafficserver/ and
just *read* the configs - obviously the realod is stopped because
without touch the file it is not mentioned at all in the logfile and
only the whining about "WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied" was logged
repeated calls of "traffic_ctl config reload" result in always the same
warnings and so pretty sure it does not work while hard restarts after
mapping changes are becoming really boring
[root@proxy:/var/log/trafficserver]$ cat manager.log
[Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
[Rollback::openFile] Open of remap.config failed: Permission denied
[Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of remap.config
: Permission denied
[Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
[Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
File Update Failed: Permission denied'
[Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
remap.config: System Call Error
[Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE: User has changed
config file remap.config
[Jan 14 05:33:47.136] Manager {0x7fc2559ed700} WARNING: open file:
/etc/trafficserver/records.config.tmp to write fail, errno: 13, error
info: Permission denied
[Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
[Rollback::openFile] Open of remap.config failed: Permission denied
[Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
[Rollback::internalUpdate] Unable to create new version of remap.config
: Permission denied
[Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
[Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
File Update Failed: Permission denied'
[Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
[Rollback::checkForUserUpdate] Failed to roll changed user file
remap.config: System Call Error
[Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE: User has changed
config file remap.config
JIRA broken -> Re: ATS 7.0 reload remap.conf with read-only /etc
Posted by Reindl Harald <h....@thelounge.net>.
create issue leads to project "aardvark" and no "Traffic Server" in the
dropdown?!
Am 14.01.2017 um 05:38 schrieb Reindl Harald:
> frankly can you stop all that write access to /etc/trafficserver/ and
> just *read* the configs - obviously the realod is stopped because
> without touch the file it is not mentioned at all in the logfile and
> only the whining about "WARNING: open file:
> /etc/trafficserver/records.config.tmp to write fail, errno: 13, error
> info: Permission denied" was logged
>
> repeated calls of "traffic_ctl config reload" result in always the same
> warnings and so pretty sure it does not work while hard restarts after
> mapping changes are becoming really boring
>
> [root@proxy:/var/log/trafficserver]$ cat manager.log
> [Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
> [Rollback::openFile] Open of remap.config failed: Permission denied
> [Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
> [Rollback::internalUpdate] Unable to create new version of remap.config
> : Permission denied
> [Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
> [Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
> File Update Failed: Permission denied'
> [Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE:
> [Rollback::checkForUserUpdate] Failed to roll changed user file
> remap.config: System Call Error
> [Jan 14 05:33:42.140] Manager {0x7fc253dfe700} NOTE: User has changed
> config file remap.config
> [Jan 14 05:33:47.136] Manager {0x7fc2559ed700} WARNING: open file:
> /etc/trafficserver/records.config.tmp to write fail, errno: 13, error
> info: Permission denied
> [Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
> [Rollback::openFile] Open of remap.config failed: Permission denied
> [Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
> [Rollback::internalUpdate] Unable to create new version of remap.config
> : Permission denied
> [Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
> [Alarms::signalAlarm] Skipping Alarm: '[TrafficManager] Configuration
> File Update Failed: Permission denied'
> [Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE:
> [Rollback::checkForUserUpdate] Failed to roll changed user file
> remap.config: System Call Error
> [Jan 14 05:34:17.187] Manager {0x7fc253dfe700} NOTE: User has changed
> config file remap.config