Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-3064

java.lang.RuntimeException: getprotobyname_r failed in recent docker image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: SERVER 7.y
    • Fix Version/s: None
    • Component/s: Puppet Server
    • Labels:
    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hi,

      I'm occasionally using the official puppetserver docker image  puppet/puppetserver for development and testing.

       

      Today I've pulled the latest image with 7.3.0,

      puppet/puppetserver:latest e6724ddcacc3

      which is just a few hours old.

       

      Since then, when starting puppet server (with USE_PUPPETDB=false) I get two (non-lethal) voluminous error messages (see below, important lines pasted), but the puppet server still starts and works.

      I'm not sure whether this is just ugly output causing no real problem or really breaks something.

      Just to let you know. Does not really look reliable.

       

      regards

      Hadmut

       

       

      puppetserver_1 | 2021-08-18 15:33:50,248 WARN [j.n.NativeProtocolsDB] Failed to load native protocols db
      puppetserver_1 | java.lang.RuntimeException: getprotobyname_r failed
      puppetserver_1 | at jnr.netdb.NativeProtocolsDB$LinuxNativeProtocolsDB.getProtocolByName(NativeProtocolsDB.java:180)
      puppetserver_1 | at jnr.netdb.NativeProtocolsDB.load(NativeProtocolsDB.java:80)
      puppetserver_1 | at jnr.netdb.NativeProtocolsDB.access$000(NativeProtocolsDB.java:40)

      ...

      puppetserver_1 | at com.puppetlabs.jruby_utils.jruby.InternalScriptingContainer.callMethodWithArgArray(InternalScriptingContainer.java:43)
      puppetserver_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      puppetserver_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      puppetserver_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      puppetserver_1 | at java.lang.reflect.Method.invoke(Method.java:498)
      puppetserver_1 | at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
      puppetserver_1 | at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
      puppetserver_1 | at puppetlabs.services.jruby.jruby_puppet_core$fn_36407$get_initialize_pool_instance_fn36412$fn36413$fn_36414.invoke(jruby_puppet_core.clj:138)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn_34181$create_pool_instance_BANG_34190$fn_34193.invoke(jruby_internal.clj:256)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn_34181$create_pool_instance_BANG__34190.invoke(jruby_internal.clj:225)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34599$add_instance34604$fn_34608.invoke(jruby_agents.clj:52)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34599$add_instance_34604.invoke(jruby_agents.clj:47)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34626$prime_pool_BANG_34631$fn_34635.invoke(jruby_agents.clj:76)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34626$prime_pool_BANG__34631.invoke(jruby_agents.clj:61)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn_35188$fn_35189.invoke(instance_pool.clj:16)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14976$shutdown_service14981$fn$reify14983$service_fnk5102auto_positional$reify_14988.shutdown_on_error(internal.clj:448)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14906$G14902_14914.invoke(internal.clj:411)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14906$G14901_14923.invoke(internal.clj:411)

       

       

      and

       

      puppetserver_1 | 2021-08-18 15:33:50,335 WARN [j.n.NativeServicesDB] Failed to load native services db
      puppetserver_1 | java.lang.RuntimeException: getservbyname_r failed
      puppetserver_1 | at jnr.netdb.NativeServicesDB$LinuxServicesDB.getServiceByName(NativeServicesDB.java:220)

      ...

      puppetserver_1 | at com.puppetlabs.jruby_utils.jruby.InternalScriptingContainer.callMethodWithArgArray(InternalScriptingContainer.java:43)
      puppetserver_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      puppetserver_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      puppetserver_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      puppetserver_1 | at java.lang.reflect.Method.invoke(Method.java:498)
      puppetserver_1 | at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:167)
      puppetserver_1 | at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:102)
      puppetserver_1 | at puppetlabs.services.jruby.jruby_puppet_core$fn_36407$get_initialize_pool_instance_fn36412$fn36413$fn_36414.invoke(jruby_puppet_core.clj:138)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn_34181$create_pool_instance_BANG_34190$fn_34193.invoke(jruby_internal.clj:256)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_internal$fn_34181$create_pool_instance_BANG__34190.invoke(jruby_internal.clj:225)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34599$add_instance34604$fn_34608.invoke(jruby_agents.clj:52)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34599$add_instance_34604.invoke(jruby_agents.clj:47)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34626$prime_pool_BANG_34631$fn_34635.invoke(jruby_agents.clj:76)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34626$prime_pool_BANG__34631.invoke(jruby_agents.clj:61)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.instance_pool$fn_35188$fn_35189.invoke(instance_pool.clj:16)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:403)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invokeStatic(internal.clj:388)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$shutdown_on_error_STAR_.invoke(internal.clj:378)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14976$shutdown_service14981$fn$reify14983$service_fnk5102auto_positional$reify_14988.shutdown_on_error(internal.clj:448)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14906$G14902_14914.invoke(internal.clj:411)
      puppetserver_1 | at puppetlabs.trapperkeeper.internal$fn_14906$G14901_14923.invoke(internal.clj:411)
      puppetserver_1 | at clojure.core$partial$fn__5839.invoke(core.clj:2625)
      puppetserver_1 | at clojure.core$partial$fn__5839.invoke(core.clj:2624)
      puppetserver_1 | at puppetlabs.services.jruby_pool_manager.impl.jruby_agents$fn_34573$send_agent34578$fn34579$agent_fn_34580.invoke(jruby_agents.clj:41)

       

       

       

       

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hadmut Hadmut Danisch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support