Realm_ad on Ubuntu 18 fails to start

Problem: Realm service fails with the following error: "[E] Disabling all modules in the group [‘realm’]: following providers are not available [‘realm_ad’] "

Expected outcome: Realm service to start

Foreman and Proxy versions: Installed packages foreman 1.21.0-1 and foreman-proxy 1.21.0-1

Foreman and Proxy plugin versions: smart_proxy_realm_ad_plugin (0.1)

Other relevant data:
Installation method taken from https://github.com/theforeman/smart_proxy_realm_ad_plugin. Checked it has needed dependencies.

Very new to ruby…

Log excerpt:

2019-03-04T19:18:15  [I] going to shutdown ...
2019-03-04T19:18:15  [I] WEBrick::HTTPServer#start done.
2019-03-04T19:18:16  [E] Disabling all modules in the group ['realm']: following providers are not available ['realm_ad']
2019-03-04T19:18:16  [I] Successfully initialized 'discovery'
2019-03-04T19:18:16  [I] Successfully initialized 'foreman_proxy'
2019-03-04T19:18:16  [I] Successfully initialized 'tftp'
2019-03-04T19:18:16  [I] Successfully initialized 'puppetca_hostname_whitelisting'
2019-03-04T19:18:16  [I] Successfully initialized 'puppetca'
2019-03-04T19:18:16  [I] Started puppet class cache initialization
2019-03-04T19:18:16  [I] Successfully initialized 'puppet_proxy_puppet_api'
2019-03-04T19:18:16  [I] Successfully initialized 'puppet'
2019-03-04T19:18:16  [I] Successfully initialized 'logs'
2019-03-04T19:18:16  [I] Successfully initialized 'httpboot'
2019-03-04T19:18:16  [I] Finished puppet class cache initialization
2019-03-04T19:18:16  [I] WEBrick 1.4.2
2019-03-04T19:18:16  [I] ruby 2.5.1 (2018-03-29) [x86_64-linux-gnu]

Is there an Ubuntu/Debian package for realm_ad on the roadmap?

I don’t think there’s a roadmap, but you can submit a PR to https://github.com/theforeman/foreman-packaging/tree/deb/develop. We can then cherry pick it into releases.