Details

    • Type: Bug
    • Status: Closed (View workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.7.0
    • Component/s: sniffle
    • Labels:
      None
    • Environment:

      dev

      Description

      Hi!

      Im following the new-docs, and i think i found something:

      sniffle-admin init-leofs leo.fifo.net
      

      After i execute that, i get the following:

      # sniffle-admin init-leofs s3.ned.cl
      Created user fifo:
      Access Key: d3329cb524356d901739
      Secret Key: xxx
      Created bucket general bucket: fifo
      Created bucket image bucket: fifo-images
      Created bucket snapshot bucket: fifo-backups
      Configuring endpoint as: https://s3.mydomain.com:10020
      RPC to 'sniffle@10.10.0.105' failed: {'EXIT',
                                            {{badmatch,{invalid,key,"general"}},
                                             [{sniffle_console,init_leo,1,
                                               [{file,
                                                 "/opt/local/go-agent/pipelines/Sniffle-Dev/_build/prod/lib/sniffle_console/src/sniffle_console.erl"},
                                                {line,124}]},
                                              {rpc,'-handle_call_call/6-fun-0-',5,
                                               [{file,"rpc.erl"},{line,206}]}]}}
      

      Now the fifo config looks like this:

      ~]# sniffle-admin config show
      Storage
        General Section
                                 Key                                              Value
      ------------------------------ --------------------------------------------------
        S3 Section
                                 Key                                              Value
      ------------------------------ --------------------------------------------------
                     storage.s3.host                                          s3.mydomain.com
                     storage.s3.port                                                443
               storage.s3.access_key                               d3329cb524356d901739
               storage.s3.secret_key           xxx
           storage.s3.general_bucket                                               fifo
             storage.s3.image_bucket                                        fifo-images
          storage.s3.snapshot_bucket                                       fifo-backups
      Network
        HTTP
                                 Key                                              Value
      ------------------------------ --------------------------------------------------
      

      Looks https://github.com/project-fifo/sniffle/blob/dev/apps/sniffle_console/src/sniffle_console.erl#L124 could not set up that config.

      What do you think its the problem?

        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: