hollander-cegeka opened a new issue #407:
URL: https://github.com/apache/pulsar-manager/issues/407


   OpenShift OKD does not support running containers as a root user. Is it 
possible to change the Dockerfile in a way that is it not running as a root 
user? Otherwise these errors will occur:
   
   `
   Starting Pulsar Manager Front end
   nginx: [alert] could not open error log file: open() 
"/var/lib/nginx/logs/error.log" failed (13: Permission denied)
   2021/08/11 11:27:15 [warn] 8#8: the "user" directive makes sense only if the 
master process runs with super-user privileges, ignored in 
/etc/nginx/nginx.conf:3
   2021/08/11 11:27:15 [emerg] 8#8: mkdir() "/var/tmp/nginx/client_body" failed 
(13: Permission denied)
   Starting Pulsar Manager Back end
   touch: /pulsar-manager/supervisor.sock: Permission denied
   chmod: /pulsar-manager/supervisor.sock: No such file or directory
   Start Pulsar Manager by specifying a configuration file.
   Traceback (most recent call last):
     File "/usr/bin/supervisord", line 11, in <module>
       load_entry_point('supervisor==3.3.4', 'console_scripts', 'supervisord')()
     File "/usr/lib/python2.7/site-packages/supervisor/supervisord.py", line 
357, in main
       go(options)
     File "/usr/lib/python2.7/site-packages/supervisor/supervisord.py", line 
367, in go
       d.main()
     File "/usr/lib/python2.7/site-packages/supervisor/supervisord.py", line 
71, in main
       self.options.make_logger()
     File "/usr/lib/python2.7/site-packages/supervisor/options.py", line 1423, 
in make_logger
       stdout = self.nodaemon,
     File "/usr/lib/python2.7/site-packages/supervisor/loggers.py", line 346, 
in getLogger
       handlers.append(RotatingFileHandler(filename,'a',maxbytes,backups))
     File "/usr/lib/python2.7/site-packages/supervisor/loggers.py", line 172, 
in __init__
       FileHandler.__init__(self, filename, mode)
     File "/usr/lib/python2.7/site-packages/supervisor/loggers.py", line 98, in 
__init__
       self.stream = open(filename, mode)
   IOError: [Errno 13] Permission denied: '/pulsar-manager/supervisord.log'
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to