XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhos-17.1.z
    • puppet-tripleo
    • None
    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-ops-platform-services-pidone
    • None
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. Deploy RHOSP17.1
      2. Restart rabbitmq-bundle then it timesout with default 200[s]

      Expected behavior

      • rabbitmq-bundle succeeds to start.

      Bug impact

      • In large deployment, the default timeout is not enough. Support side tells our users to extend the timeout. But the timeout may be overwritten when update or overcloud deploy.

      Known workaround

      • Update puppet-tripleo on controller nodes manually.

      Additional context

      • puppet-tripleo for haproxy has a parameter whose name is op_params which can update the arbitrary values.
      class tripleo::profile::pacemaker::haproxy_bundle (
        $haproxy_docker_image     = hiera('tripleo::profile::pacemaker::haproxy::haproxy_docker_image', undef),
        $bootstrap_node           = hiera('haproxy_short_bootstrap_node_name'),
        $enable_load_balancer     = hiera('enable_load_balancer', true),
        $ca_bundle                = hiera('tripleo::haproxy::ca_bundle', undef),
        $crl_file                 = hiera('tripleo::haproxy::crl_file', undef),
        $enable_internal_tls      = hiera('enable_internal_tls', false),
        $internal_certs_directory = undef,
        $internal_keys_directory  = undef,
        $deployed_ssl_cert_path   = hiera('tripleo::haproxy::service_certificate', undef),
        $meta_params              = '',
        $op_params                = '',
      

      However, rabbitmq_bundle.pp doesn't have the interface.

      class tripleo::profile::pacemaker::rabbitmq_bundle (
        $rabbitmq_docker_image        = undef,
        $rabbitmq_docker_control_port = 3122,
        $erlang_cookie                = hiera('rabbitmq::erlang_cookie'),
        $user_ha_queues               = hiera('rabbitmq::nr_ha_queues', 0),
        $rpc_scheme                   = hiera('oslo_messaging_rpc_scheme'),
        $rpc_bootstrap_node           = hiera('oslo_messaging_rpc_short_bootstrap_node_name'),
        $rpc_nodes                    = hiera('oslo_messaging_rpc_node_names_override',
                                              hiera('oslo_messaging_rpc_node_names', [])),
        $notify_scheme                = hiera('oslo_messaging_notify_scheme'),
        $notify_bootstrap_node        = hiera('oslo_messaging_notify_short_bootstrap_node_name'),
        $notify_nodes                 = hiera('oslo_messaging_notify_node_names_override',
                                              hiera('oslo_messaging_notify_node_names', [])),
        $enable_internal_tls          = hiera('enable_internal_tls', false),
        $rabbitmq_cacert              = hiera('rabbitmq::ssl_cacert', '/etc/ipa/ca.crt'),
        $rabbitmq_extra_policies      = hiera('rabbitmq_extra_policies', {'ha-promote-on-shutdown' => 'always'}),
        $pcs_tries                    = hiera('pcs_tries', 20),
        $step                         = Integer(hiera('step')),
        $container_backend            = 'docker',
        $log_driver                   = undef,
        $log_file                     = '/var/log/containers/stdouts/rabbitmq-bundle.log',
        $tls_priorities               = hiera('tripleo::pacemaker::tls_priorities', undef),
        $bundle_user                  = 'root',
        $force_ocf                    = false,
      ) {
      :
            pacemaker::resource::ocf { 'rabbitmq':
              ocf_agent_name  => 'heartbeat:rabbitmq-cluster',
              resource_params => $ocf_params,
              meta_params     => 'notify=true container-attribute-target=host',
              op_params       => 'start timeout=200s stop timeout=200s',
              tries           => $pcs_tries,
              location_rule   => {
                resource_discovery => 'exclusive',
                score              => 0,
                expression         => ['rabbitmq-role eq true'],
              },
      

              Unassigned Unassigned
              rhn-support-knoha Keigo Noha
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: