Corymbia / eucalyptus

Eucalyptus Cloud-computing Platform
https://eucalyptus.cloud/
Other
117 stars 22 forks source link

Eucalyptus metadata service proxy fails #311

Closed sjones4 closed 3 years ago

sjones4 commented 3 years ago

Eucalyptus metadata service proxy is run by eucanetd to serve meta-data for ec2 instances. The metadata service proxy fails to run with the following error:

Jun 22 14:50:56 host1 systemd[1]: Starting Eucalyptus metadata service proxy...
Jun 22 14:50:57 host1 nginx[20761]: nginx: [emerg] dlopen() "/usr/lib64/nginx/modules/ngx_http_perl_module.so" failed (/usr/lib64/nginx/
Jun 22 14:50:57 host1 nginx[20761]: nginx: configuration file /usr/share/eucalyptus/nginx_md.conf test failed
Jun 22 14:50:57 host1 systemd[1]: eucanetd-nginx.service: control process exited, code=exited status=1
Jun 22 14:50:57 host1 systemd[1]: Failed to start Eucalyptus metadata service proxy.
Jun 22 14:50:57 host1 systemd[1]: Unit eucanetd-nginx.service entered failed state.
Jun 22 14:50:57 host1 systemd[1]: eucanetd-nginx.service failed.

Due to the metadata service failure ec2 instances cannot access ssh credentials (etc) so may not function correctly. Internal services require metadata (imaging, load balancing) so will not work.

sjones4 commented 3 years ago

The workaround is to manually install the nginx-mod-http-perl module and start the metadata service proxy.

# yum install nginx-mod-http-perl
# systemctl start eucanetd-nginx