WorldVistA/popHealth

Question: issue when building docker image for pophealth 6.0

Opened this issue · 0 comments

We ran into some issues during integration based on the documentation Pophealth 6.0 Installation Instruction

With the step: Installing Mongo DB, RabbitMQ, and Js-Ecqm-Engine Using Chef Scripts, when command :

"chef-client -z -j install_ecqmEngine.json"

System is throwing error:

ERROR: ecqmEngine_install_app[js-ecqm-engine] (ecqmEngine::install_ecqmEngine line 3) had an error: Errno::ENOENT: service[disable-transparent-hugepages] (/root/.chef/local-mode-cache/cache/cookbooks/ecqmEngine/providers/install_app.rb line 40) had an error: Errno::ENOENT: No such file or directory - /sbin/status
[2019-11-20T12:57:12-06:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

This error will block docker image build process. Some environment we are using here:

Ruby, version 2.3.7
Bundle, version 1.9.3
Ubuntu, image, version 16.04

We followed the instruction there and assembled Dockerfile for pophealth 5.1, and it worked fine, with the new step introduced by 6.0, it just failed with the error I just provided.

I did some research online it says that docker container does not run systemd on PID1, so that is the reason why it can not pass that phase successfully. Is there a work around on that?
any suggestion would help, thanks!