Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-2865

invalid service account fails awx rabbitmq

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • Honolulu Release
    • None
    • None
    • Hide

      SUMMARY

      invalid service account in awx statefulset.yaml, causes awx rabbitmq to fail

      OS / ENVIRONMENT

      • Kubernetes version:1.19
      • Helm version: 3.5.0
      • Kubernetes mode of installation: rke
      • CNI Used for Kubernetes: canal
      • type of installation: 1 controller + 8 workers

      OOM VERSION

      master

      CONFIGURATION

      dev.yaml

      contrib:

        enabled: true

      STEPS TO REPRODUCE

      helm deploy onap-contrib local/onap -f dev.yaml --namespace onap

      EXPECTED RESULTS

      awx pod to come up

      ACTUAL RESULTS

      awx pod fails with error in rabbitmq docker saying 403 error trying to access k8s api

      bash-4.4# cat /var/log/rabbitmq/log/*
      2021-10-13 11:37:07 =CRASH REPORT====
      crasher:
      initial call: application_master:init/4
      pid: <0.192.0>
      registered_name: []
      exception exit: bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,"403",[{rabbit_mnesia,init_from_config,0,[

      {file,"src/rabbit_mnesia.erl"},{line,164}]},{rabbit_mnesia,init_with_lock,3,[{file,"src/rabbit_mnesia.erl"}

      ,{line,144}]},{rabbit_mnesia,init,0,[

      {file,"src/rabbit_mnesia.erl"}

      ,{line,111}]},{rabbit_boot_steps,'run_step/2-lc$^1/1-1',1,[

      {file,"src/rabbit_boot_steps.erl"},{line,49}]},{rabbit_boot_steps,run_step,2,[{file,"src/rabbit_boot_steps.erl"}

      ,{line,49}]},{rabbit_boot_steps,'run_boot_steps/1-lc$^0/1-0',1,[

      {file,"src/rabbit_boot_steps.erl"},{line,26}]},{rabbit_boot_steps,run_boot_steps,1,[{file,"src/rabbit_boot_steps.erl"}

      ,{line,26}]},{rabbit,start,2,[

      {file,"src/rabbit.erl"}

      ,{line,793}]}]}}}},[{application_master,init,4,[

      {file,"application_master.erl"}

      ,{line,134}]},{proc_lib,init_p_do_apply,3,[

      {file,"proc_lib.erl"}

      ,{line,247}]}]}
      ancestors: [<0.191.0>]
      message_queue_len: 1
      messages: [\{'EXIT',<0.193.0>,normal}]
      links: [<0.191.0>,<0.33.0>]
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 1598
      stack_size: 27
      reductions: 157
      neighbours:
      bash-4.4#

      Show
      SUMMARY invalid service account in awx statefulset.yaml, causes awx rabbitmq to fail OS / ENVIRONMENT Kubernetes version:1.19 Helm version: 3.5.0 Kubernetes mode of installation: rke CNI Used for Kubernetes: canal type of installation: 1 controller + 8 workers OOM VERSION master CONFIGURATION dev.yaml contrib:   enabled: true STEPS TO REPRODUCE helm deploy onap-contrib local/onap -f dev.yaml --namespace onap EXPECTED RESULTS awx pod to come up ACTUAL RESULTS awx pod fails with error in rabbitmq docker saying 403 error trying to access k8s api bash-4.4# cat /var/log/rabbitmq/log/* 2021-10-13 11:37:07 =CRASH REPORT==== crasher: initial call: application_master:init/4 pid: <0.192.0> registered_name: [] exception exit: bad_return,{{rabbit,start,[normal,[]]},{'EXIT',{{case_clause,{error,"403" ,[{rabbit_mnesia,init_from_config,0,[ {file,"src/rabbit_mnesia.erl"},{line,164}]},{rabbit_mnesia,init_with_lock,3,[{file,"src/rabbit_mnesia.erl"} ,{line,144}]},{rabbit_mnesia,init,0,[ {file,"src/rabbit_mnesia.erl"} ,{line,111}]},{rabbit_boot_steps,' run_step/2-lc$^1/1-1 ',1,[ {file,"src/rabbit_boot_steps.erl"},{line,49}]},{rabbit_boot_steps,run_step,2,[{file,"src/rabbit_boot_steps.erl"} ,{line,49}]},{rabbit_boot_steps,' run_boot_steps/1-lc$^0/1-0 ',1,[ {file,"src/rabbit_boot_steps.erl"},{line,26}]},{rabbit_boot_steps,run_boot_steps,1,[{file,"src/rabbit_boot_steps.erl"} ,{line,26}]},{rabbit,start,2,[ {file,"src/rabbit.erl"} ,{line,793}]}]}}}},[{application_master,init,4,[ {file,"application_master.erl"} ,{line,134}]},{proc_lib,init_p_do_apply,3,[ {file,"proc_lib.erl"} ,{line,247}]}]} ancestors: [<0.191.0>] message_queue_len: 1 messages: [\{'EXIT',<0.193.0>,normal}] links: [<0.191.0>,<0.33.0>] dictionary: [] trap_exit: true status: running heap_size: 1598 stack_size: 27 reductions: 157 neighbours: bash-4.4#

          sdesbure sdesbure
          abdelseaudi abdelseaudi
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: