Jason Kenny created TS-4687:
-------------------------------
Summary: ATS fails to start in a useful way with no config files (
or miniumn set so it starts)
Key: TS-4687
URL: https://issues.apache.org/jira/browse/TS-4687
Project: Traffic Server
Issue Type: Bug
Reporter: Jason Kenny
While making the new testing system for ATS it was found that even with a empty
remap.conf and a storage.conf file, ATS does not start in a useful way. This
issue is to help track the goal of getting ATS to a useful running state.
Current testing shows this in diags.log(below). The result is that ATS starts
and is a brick not accepting anything form what I can tell. This setup is done
via using TS_ROOT to redirect ATS to a "clean" space to run in as we would want
when running in a test environment
[Jul 18 16:40:41.946] {0x7fd969a10780} STATUS: opened
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/log/diags.log
[Jul 18 16:40:41.946] {0x7fd969a10780} NOTE: <DiagsConfig.cc:141
(reconfigure_diags)> updated diags config
[Jul 18 16:40:41.947] Server {0x7fd969a10780} WARNING: <Machine.cc:95
(Machine)> Unable to determine local host 'DESKTOP-9TV9KQF' address information
- Invalid argument
[Jul 18 16:40:41.950] Server {0x7fd969a10780} NOTE: <Main.cc:1706 (main)> cache
clustering disabled
[Jul 18 16:40:41.973] Server {0x7fd969a10780} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> [CacheControl] Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/cache.config
file : No such file or directory
[Jul 18 16:40:41.973] Server {0x7fd969a10780} NOTE: <IPAllow.cc:72
(reconfigure)> ip_allow.config updated, reloading
[Jul 18 16:40:41.973] Server {0x7fd969a10780} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> IpAllow Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/ip_allow.config
file : No such file or directory
[Jul 18 16:40:41.973] Server {0x7fd969a10780} WARNING: <IPAllow.cc:178
(BuildTable)> IpAllow Failed to read
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/ip_allow.config.
All IP Addresses will be blocked
[Jul 18 16:40:41.974] Server {0x7fd969a10780} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> [ParentSelection] Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/parent.config
file : No such file or directory
[Jul 18 16:40:41.979] Server {0x7fd969a10780} WARNING: <RecCore.cc:1231
(RecSignalWarning)> configuration changed: [hostdb.config] : reinitializing
database
[Jul 18 16:40:41.979] Server {0x7fd969a10780} NOTE: <HostDB.cc:452 (start)>
reconfiguring host database
[Jul 18 16:40:42.025] Server {0x7fd969a10780} WARNING: <ClusterMachine.cc:111
(ClusterMachine)> unable to DNS DESKTOP-9TV9KQF: 1
[Jul 18 16:40:42.027] Server {0x7fd969a10780} NOTE: <ClusterProcessor.cc:650
(init)> cache clustering disabled
[Jul 18 16:40:42.029] Server {0x7fd969a10780} NOTE: <Log.cc:940
(init_when_enabled)> logging initialized[3], logging_mode = 3
[Jul 18 16:40:42.049] Server {0x7fd969a10780} NOTE: <LogConfig.cc:959
(read_xml_log_config)> Error parsing log config file
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/logs_xml.config;
ensure that it is XML-based
[Jul 18 16:40:42.049] Server {0x7fd969a10780} WARNING: <Plugin.cc:229
(plugin_init)> unable to open plugin config file
'/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/plugin.config':
2, No such file or directory
[Jul 18 16:40:42.051] Server {0x7fd969a10780} NOTE: <SSLUtils.cc:1918
(SSLParseCertificateConfiguration)> loading SSL certificate configuration from
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/ssl_multicert.config
[Jul 18 16:40:42.051] Server {0x7fd969a10780} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> SSLParseCertificateConfiguration Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/ssl_multicert.config
file : No such file or directory
[Jul 18 16:40:42.051] Server {0x7fd969a10780} ERROR: <SSLUtils.cc:1925
(SSLParseCertificateConfiguration)> failed to read SSL certificate
configuration from
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/ssl_multicert.config
[Jul 18 16:40:42.052] Server {0x7fd969a10780} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> [CacheVolition] Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/volume.config
file : No such file or directory
[Jul 18 16:40:42.053] Server {0x7fd969a10780} WARNING: <CacheHosting.cc:596
(read_config_file)> Cannot read the config file:
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/volume.config
[Jul 18 16:40:42.060] Server {0x7fd965900700} WARNING: <CacheDisk.cc:159
(openStart)> disk header different for disk
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/var/trafficserver/cache.db:
clearing the disk
[Jul 18 16:40:42.060] Server {0x7fd969a10780} WARNING: <HttpBodyFactory.cc:307
(reconfigure)> Unable to access() directory
'/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/etc/trafficserver/body_factory':
2, No such file or directory
[Jul 18 16:40:42.061] Server {0x7fd969a10780} WARNING: <HttpBodyFactory.cc:308
(reconfigure)> Please set 'proxy.config.body_factory.template_sets_dir'
[Jul 18 16:40:42.061] Server {0x7fd9657f0700} NOTE: <Cache.cc:2809
(cplist_reconfigure)> Clearing Disk:
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/var/trafficserver/cache.db
[Jul 18 16:40:42.061] Server {0x7fd969a10780} WARNING: <HttpBodyFactory.cc:627
(load_sets_from_directory)> can't open response template directory
'/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/etc/trafficserver/body_factory'
(No such file or directory)
[Jul 18 16:40:42.061] Server {0x7fd969a10780} WARNING: <HttpBodyFactory.cc:628
(load_sets_from_directory)> no response templates --- using default error pages
[Jul 18 16:40:42.065] Server {0x7fd9657f0700} NOTE: <Cache.cc:1387 (init)>
clearing cache directory
'/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/var/trafficserver/cache.db
16384:32766'
[Jul 18 16:40:42.066] Server {0x7fd965b20700} ERROR: <MatcherUtils.cc:79
(readIntoBuffer)> [CacheHosting] Can not open
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/hosting.config
file : No such file or directory
[Jul 18 16:40:42.067] Server {0x7fd965b20700} WARNING: <CacheHosting.cc:403
(BuildTable)> Cannot read the config file:
/mnt/c/Users/drago/code/tests/tester/_sandbox/copy_config/ts1/config/hosting.config
[Jul 18 16:40:42.067] Server {0x7fd965b20700} NOTE: <Cache.cc:1064
(cacheInitialized)> cache enabled
[Jul 18 16:40:42.073] Server {0x7fd969a10780} NOTE: <Main.cc:1902 (main)>
traffic server running
[Jul 18 16:40:42.484] Server {0x7fd965900700} WARNING: <HttpSessionAccept.cc:47
(accept)> client '127.0.0.1' prohibited by ip-allow policy
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)