LINUX.ORG.RU
ФорумAdmin

puppet-in-docker Error: The environment must be purely alphanumeric, not "

 ,


0

1

Добрый вечер!

Пытаюсь поднять puppet в docker.

В принципе запускается, но появляется ошибка (trace ошибки ниже)

Хотя environment везде указан.

Что это может быть?

Репозиторий где можно скачать и протестировать ошибку

https://github.com/patsevanton/puppet-in-docker

Debug: Routes Registered:
Debug: Route /^\/v2\.0/
Debug: Route /.*/
Debug: Evaluating match for Route /^\/v2\.0/
Debug: Did not match path ("/")
Debug: Evaluating match for Route /.*/
Error: The environment must be purely alphanumeric, not ''
/usr/share/ruby/vendor_ruby/puppet/network/http/api/v1.rb:61:in `uri2indirection'
/usr/share/ruby/vendor_ruby/puppet/network/http/api/v1.rb:33:in `call'
/usr/share/ruby/vendor_ruby/puppet/network/http/route.rb:82:in `block in process'
/usr/share/ruby/vendor_ruby/puppet/network/http/route.rb:81:in `each'
/usr/share/ruby/vendor_ruby/puppet/network/http/route.rb:81:in `process'
/usr/share/ruby/vendor_ruby/puppet/network/http/handler.rb:63:in `block in process'
/usr/share/ruby/vendor_ruby/puppet/util/profiler/around_profiler.rb:58:in `profile'
/usr/share/ruby/vendor_ruby/puppet/util/profiler.rb:51:in `profile'
/usr/share/ruby/vendor_ruby/puppet/network/http/handler.rb:61:in `process'
/usr/share/ruby/vendor_ruby/puppet/network/http/webrick/rest.rb:37:in `block in service'
/usr/share/ruby/vendor_ruby/puppet/network/http/webrick/rest.rb:36:in `synchronize'
/usr/share/ruby/vendor_ruby/puppet/network/http/webrick/rest.rb:36:in `service'
/usr/share/ruby/webrick/httpserver.rb:138:in `service'
/usr/share/ruby/webrick/httpserver.rb:94:in `run'
/usr/share/ruby/vendor_ruby/puppet/network/http/webrick.rb:33:in `block (2 levels) in listen'
/usr/share/ruby/webrick/server.rb:295:in `call'
/usr/share/ruby/webrick/server.rb:295:in `block in start_thread'

Добавил --profile Получил

Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): PROFILE [70089545256160] 1 Processed request GET /: took 0.0117 seconds
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): AGGREGATE PROFILING RESULTS:
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): ----------------------------
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): http: 0.011689 ms (1 calls)
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): http -> GET: 0.011689 ms (1 calls)
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): http -> GET -> /: 0.011689 ms (1 calls)
Sat Sep 01 08:50:22 +0000 2018 Puppet (debug): ----------------------------
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Routes Registered:
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Route /^\/v2\.0/
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Route /.*/
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Evaluating match for Route /^\/v2\.0/
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Did not match path ("/")
Sat Sep 01 08:50:23 +0000 2018 Puppet (debug): Evaluating match for Route /.*/
Sat Sep 01 08:50:23 +0000 2018 Puppet (err): The environment must be purely alphanumeric, not ''

Почему он пишет 
Did not match path ("/")

и кто делает GET запрос?
chemtech
() автор топика
Ответ на: комментарий от chemtech

Все из-за этой строки

HEALTHCHECK --interval=1s --timeout=1s --retries=10 CMD curl -k https://localhost:8140 || exit 1

chemtech
() автор топика
Последнее исправление: chemtech (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.