Uploaded image for project: 'SOTA '
  1. SOTA
  2. SOTA-24

aktualizr enters failed state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Low
    • Raspberry pi 3

    Description

      Using the latest GDP from 'master' and following these instructions (https://github.com/advancedtelematic/gdp-ota-setup/tree/master/doc) I get this failure with aktualizr;

      Apr 26 02:33:37 raspberrypi3 systemd[1]: aktualizr.service: Service hold-off time over, scheduling restart.
      Apr 26 02:33:37 raspberrypi3 systemd[1]: Stopped Aktualizr, SOTA client written in C++.
      Apr 26 02:33:37 raspberrypi3 systemd[1]: Starting Aktualizr, SOTA client written in C++...
      Apr 26 02:33:37 raspberrypi3 echo[1734]: Loading, please wait...
      Apr 26 02:34:05 raspberrypi3 connmand[314]: ntp: time slew -0.093467 s
      Apr 26 02:34:10 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:10.160 [info] <0.174.0>@dlink_tcp_rpc:connect_remote:220 dlink_tcp:connect_remote(): Failed "38.101.164.230":8807: etimedout
      Apr 26 02:34:10 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:10.161 [notice] <0.174.0>@dlink_tcp_rpc:connect_and_retry_remote:238 dlink_tcp:connect_and_retry_remote("38.101.164.230":"8807"): Failed: not_available
      Apr 26 02:34:10 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:10.161 [notice] <0.174.0>@dlink_tcp_rpc:connect_and_retry_remote:241 dlink_tcp:connect_and_retry_remote("38.101.164.230":"8807"): Will try again in 5000 sec
      Apr 26 02:34:10 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:10.163 [info] <0.114.0>@rvi_log:store_event:350 RVI_LOG: <<"conn:31-9RJC">>/0/<<"dlink_tcp">>/<<"connect FAILED: etimedout">>
      Apr 26 02:34:10 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:10.163 [info] <0.114.0>@rvi_log:store_event:350 RVI_LOG: <<"conn:31-9RJC">>/0/<<"dlink_tcp">>/<<"start reconnect timer">>
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.165 [info] <0.174.0>@dlink_tcp_rpc:handle_info:588 rvi_setup_persistent_connection, "38.101.164.230", "8807"
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.165 [info] <0.174.0>@dlink_tcp_rpc:connect_and_retry_remote:228 dlink_tcp:connect_and_retry_remote(): "38.101.164.230":"8807"
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.166 [info] <0.174.0>@dlink_tcp_rpc:connect_remote:194 connect_remote("38.101.164.230", 8807)
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.167 [info] <0.174.0>@dlink_tcp_rpc:connect_remote:202 dlink_tcp:connect_remote(): Connecting "38.101.164.230":8807
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.168 [info] <0.114.0>@rvi_log:store_event:350 RVI_LOG: <<"conn:32-9RJC">>/0/<<"dlink_tcp">>/<<"connect 38.101.164.230:8807">>
      Apr 26 02:34:15 raspberrypi3 sh[266]: (rvi@raspberrypi3)1> 2017-04-26 02:34:15.170 [info] <0.114.0>@rvi_log:store_event:350 RVI_LOG: <<"conn:32-9RJC">>/0/<<"dlink_tcp">>/<<"new connection">>
      Apr 26 02:34:22 raspberrypi3 systemd[1]: Started Aktualizr, SOTA client written in C++.
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Error reading config file
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.601805]: auth.server not in config file. Using default:http://127.0.0.1:9001
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.602707]: auth.client_id not in config file. Using default:client-id
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.602777]: auth.client_secret not in config file. Using default:client-secret
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603081]: network.socket_commands_path not in config file. Using default:/tmp/sota-commands.socket
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603151]: network.socket_events_path not in config file. Using default:/tmp/sota-events.socket
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603215]: network.socket_events not in config file. Using default
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603300]: rvi.node_port not in config file. Using default:8810
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603360]: rvi.device_key not in config file. Using default:device.key
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603419]: rvi.device_cert not in config file. Using default:device.crt
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603479]: rvi.ca_cert not in config file. Using default:ca.pem
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603537]: rvi.cert_dir not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603598]: rvi.cred_dir not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603656]: tls.server not in config file. Using default:localhost
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603717]: tls.ca_file not in config file. Using default:ca.pem
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603777]: tls.client_certificate not in config file. Using default:client.pem
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603837]: provision.p12_path not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603897]: provision.p12_password not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.603956]: uptane.director_server not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604015]: uptane.primary_ecu_serial not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604075]: uptane.repo_server not in config file. Using default:
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604134]: uptane.metadata_path not in config file. Using default:""
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604194]: uptane.private_key_path not in config file. Using default:ecukey.pem
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604252]: uptane.public_key_path not in config file. Using default:ecukey.pub
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.604362]: config read from /etc/sota.toml :
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Authentication Server: http://127.0.0.1:9001
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Sota Server: https://localhost
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Pooling enabled : 0
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Pooling interval : 10
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Client: client-id
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: Device UUID: 9d9a7b99-14f4-44e6-bede-f9e5077e6052
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.605077]: Dbus Connection Error: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.605179]: D-Bus Connection Error: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
      Apr 26 02:34:22 raspberrypi3 aktualizr[1742]: [2017-04-26 02:34:22.618193]: Missing RVI configurations: cannot initialize rvi with config {"ca":

      {"cert":"ca.pem","dir":""}

      ,"creddir":"","dev":{"cert":"device.crt","id":"genivi.org/device/9d9a7b99-14f4-44e6-bede-f9e5077e6052","key":"device.key"}}
      Apr 26 02:34:22 raspberrypi3 systemd[1]: aktualizr.service: Main process exited, code=exited, status=1/FAILURE
      Apr 26 02:34:22 raspberrypi3 systemd[1]: aktualizr.service: Unit entered failed state.
      Apr 26 02:34:22 raspberrypi3 systemd[1]: aktualizr.service: Failed with result 'exit-code'.

      Attachments

        Activity

          People

            ats ATS Advanced Telematic Systems GmbH [X] (Inactive)
            jeremiah.foster Jeremiah Foster (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: