Uploaded image for project: 'Project FiFo'
  1. FIFO-526

Chunter fails when calling vmadm update

    Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.6.0
    • Component/s: chunter
    • Labels:
      None
    • Environment:

      latest rel.

      Description

      When trying to update data that goes to vmadm, chunter fails.

      For example on the UI, a vm, changing the alias.

      When doing that, chunter logs looks like this:

      2014-09-04 01:51:45.967 [debug] <0.27975.4>@chunter_spec:create_update:275 Generated update: {"add_nics":[],"alias":"bosh-bm-bff55-new-alias","hostname":"hi-ho-lets-go","resolvers":["127.0.0.1"]}.
      2014-09-04 01:51:45.967 [warning] <0.27975.4>@chunter_vm_fsm:terminate:871 [terminate:0756244c-5812-4dc5-aa90-442cea0b4fa9] Terminating from stopped with reason {{badmatch,undefined},[{chunter_spec,create_update,3,[{file,"src/chunter_spec.erl"},{line,280}]},{chunter_vm_fsm,handle_event,3,[{file,"src/chunter_vm_fsm.erl"},{line,583}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}.
      2014-09-04 01:51:45.967 [warning] <0.27975.4>@chunter_vm_fsm:terminate:873 [terminate:0756244c-5812-4dc5-aa90-442cea0b4fa9] The state: {state,<<"ab9f8f8c-4623-4a4b-b768-15e4df3cc62a">>,unknown,<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>,undefined,undefined,undefined,[],[],false,<<"stopped">>} .
      2014-09-04 01:51:45.967 [debug] <0.27975.4>@chunter_vm_fsm:terminate:876 [terminate:0756244c-5812-4dc5-aa90-442cea0b4fa9] console not running.
      2014-09-04 01:51:45.968 [error] <0.27975.4> gen_fsm {vm,<<48,55,53,54,50,52,52,99,45,53,56,49,50,45,52,100,99,53,45,97,97,57,48,45,52,52,50,99,101,97,48,98,52,102,97,57>>} in state stopped terminated with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280
      
      ==> /var/log/chunter/crash.log <==
      2014-09-04 01:51:45 =ERROR REPORT====
      ** State machine {vm,<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>} terminating
      ** Last event in was {update,undefined,[{<<"alias">>,<<"bosh-bm-bff55-new-alias">>},{<<"hostname">>,<<"hi-ho-lets-go">>},{<<"resolvers">>,[<<"127.0.0.1">>]}]} (for all states)
      ** When State == stopped
      **      Data  == {state,<<"ab9f8f8c-4623-4a4b-b768-15e4df3cc62a">>,unknown,<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>,undefined,undefined,undefined,[],[],false,<<"stopped">>}
      ** Reason for termination =
      ** {{badmatch,undefined},[{chunter_spec,create_update,3,[{file,"src/chunter_spec.erl"},{line,280}]},{chunter_vm_fsm,handle_event,3,[{file,"src/chunter_vm_fsm.erl"},{line,583}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
      
      ==> /var/log/chunter/error.log <==
      2014-09-04 01:51:45.968 [error] <0.27975.4> gen_fsm {vm,<<48,55,53,54,50,52,52,99,45,53,56,49,50,45,52,100,99,53,45,97,97,57,48,45,52,52,50,99,101,97,48,98,52,102,97,57>>} in state stopped terminated with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280
      
      ==> /var/log/chunter/crash.log <==
      2014-09-04 01:51:45 =CRASH REPORT====
        crasher:
          initial call: chunter_vm_fsm:init/1
          pid: <0.27975.4>
          registered_name: []
          exception exit: {{{badmatch,undefined},[{chunter_spec,create_update,3,[{file,"src/chunter_spec.erl"},{line,280}]},{chunter_vm_fsm,handle_event,3,[{file,"src/chunter_vm_fsm.erl"},{line,583}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]},[{gen_fsm,terminate,7,[{file,"gen_fsm.erl"},{line,622}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
          ancestors: [chunter_vm_sup,chunter_sup,<0.207.0>]
          messages: []
          links: [<0.215.0>,<0.98.0>]
          dictionary: []
          trap_exit: true
          status: running
          heap_size: 1598
          stack_size: 27
          reductions: 31798
        neighbours:
      2014-09-04 01:51:45 =SUPERVISOR REPORT====
           Supervisor: {local,chunter_vm_sup}
           Context:    child_terminated
           Reason:     {{badmatch,undefined},[{chunter_spec,create_update,3,[{file,"src/chunter_spec.erl"},{line,280}]},{chunter_vm_fsm,handle_event,3,[{file,"src/chunter_vm_fsm.erl"},{line,583}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
           Offender:   [{pid,<0.27975.4>},{name,chunter_vm_fsm},{mfargs,{chunter_vm_fsm,start_link,[<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>]}},{restart_type,transient},{shutdown,infinity},{child_type,worker}]
      
      
      ==> /var/log/chunter/console.log <==
      2014-09-04 01:51:45.967 [warning] <0.27975.4>@chunter_vm_fsm:terminate:871 [terminate:0756244c-5812-4dc5-aa90-442cea0b4fa9] Terminating from stopped with reason {{badmatch,undefined},[{chunter_spec,create_update,3,[{file,"src/chunter_spec.erl"},{line,280}]},{chunter_vm_fsm,handle_event,3,[{file,"src/chunter_vm_fsm.erl"},{line,583}]},{gen_fsm,handle_msg,7,[{file,"gen_fsm.erl"},{line,505}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}.
      2014-09-04 01:51:45.967 [warning] <0.27975.4>@chunter_vm_fsm:terminate:873 [terminate:0756244c-5812-4dc5-aa90-442cea0b4fa9] The state: {state,<<"ab9f8f8c-4623-4a4b-b768-15e4df3cc62a">>,unknown,<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>,undefined,undefined,undefined,[],[],false,<<"stopped">>} .
      2014-09-04 01:51:45.968 [error] <0.27975.4> gen_fsm {vm,<<48,55,53,54,50,52,52,99,45,53,56,49,50,45,52,100,99,53,45,97,97,57,48,45,52,52,50,99,101,97,48,98,52,102,97,57>>} in state stopped terminated with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280
      
      ==> /var/log/chunter/debug.log <==
      2014-09-04 01:51:45.968 [error] <0.27975.4> CRASH REPORT Process <0.27975.4> with 0 neighbours exited with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280 in gen_fsm:terminate/7 line 622
      
      ==> /var/log/chunter/error.log <==
      2014-09-04 01:51:45.968 [error] <0.27975.4> CRASH REPORT Process <0.27975.4> with 0 neighbours exited with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280 in gen_fsm:terminate/7 line 622
      
      ==> /var/log/chunter/console.log <==
      2014-09-04 01:51:45.968 [error] <0.27975.4> CRASH REPORT Process <0.27975.4> with 0 neighbours exited with reason: no match of right hand value undefined in chunter_spec:create_update/3 line 280 in gen_fsm:terminate/7 line 622
      
      ==> /var/log/chunter/debug.log <==
      2014-09-04 01:51:45.968 [error] <0.215.0> Supervisor chunter_vm_sup had child chunter_vm_fsm started with chunter_vm_fsm:start_link(<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>) at <0.27975.4> exit with reason no match of right hand value undefined in chunter_spec:create_update/3 line 280 in context child_terminated
      
      ==> /var/log/chunter/error.log <==
      2014-09-04 01:51:45.968 [error] <0.215.0> Supervisor chunter_vm_sup had child chunter_vm_fsm started with chunter_vm_fsm:start_link(<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>) at <0.27975.4> exit with reason no match of right hand value undefined in chunter_spec:create_update/3 line 280 in context child_terminated
      
      ==> /var/log/chunter/console.log <==
      2014-09-04 01:51:45.968 [error] <0.215.0> Supervisor chunter_vm_sup had child chunter_vm_fsm started with chunter_vm_fsm:start_link(<<"0756244c-5812-4dc5-aa90-442cea0b4fa9">>) at <0.27975.4> exit with reason no match of right hand value undefined in chunter_spec:create_update/3 line 280 in context child_terminated
      2014-09-04 01:51:46.214 [info] <0.28076.4>@chunter_vm_fsm:snapshot_sizes:1061 [0756244c-5812-4dc5-aa90-442cea0b4fa9] Updating Snapshots.
      
      
      
      

        Attachments

          Activity

            People

            • Assignee:
              heinz Heinz N. Gies
              Reporter:
              killfill Phillip Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: