Latest nodejs update breaks ManageIQ

fine

#1

I updated my ManageIQ machine today and got some nodejs updates, after this update ManageIQ not longer starts because of missing dependency. I had to rollback to get ManageIQ backup again.

– Unit evmserverd.service has begun starting up.
May 31 17:05:20 x.x.x sh[9369]: rake aborted!
May 31 17:05:20 x.x.x sh[9369]: ExecJS::RuntimeError: node: error while loading shared libraries: libhttp_parser.so.2: cannot open shared object file: No such file or directory
May 31 17:05:20 x.x.x sh[9369]: (execjs):1
May 31 17:05:20 x.x.x sh[9369]: /var/www/miq/vmdb/config/environments/production.rb:78:in new' May 31 17:05:20 x.x.x sh[9369]: /var/www/miq/vmdb/config/environments/production.rb:78:inblock in <top (required)>‘
May 31 17:05:20 x.x.x sh[9369]: /var/www/miq/vmdb/config/environments/production.rb:1:in <top (required)>' May 31 17:05:20 x.x.x sh[9369]: /var/www/miq/vmdb/config/environment.rb:5:in<top (required)>’

Packages Altered:
Updated nodejs-1:6.10.2-1.el7.x86_64 @epel7-centos7-x86_64
Update 1:6.10.3-1.el7.x86_64 @epel
Dep-Install nodejs010-http-parser-2.0-6.20121128gitcd01361.el7.x86_64 @centos-sclo-rh
Dep-Install nodejs010-runtime-2.1-5.el7.x86_64 @centos-sclo-rh

Updates seems to be incompatible to ManageIQ.


#2

I think this is fixed by installing the http-parser package.

These changes should address the issue in the VM appliance, podified, and monolithic container builds.

Existing installations will need to yum install http-parser

https://github.com/ManageIQ/manageiq-appliance-build/pull/211
https://github.com/ManageIQ/manageiq-pods/pull/150
https://github.com/ManageIQ/manageiq/pull/15266


#3

I confirm installing http-parser fixes the issue.


#4

Installing http-parser solved this issue for me.

Thank you!