Project

General

Profile

Actions

Bug #4

closed

Command "rp-cli images add --help" fails

Added by Emmanuel Jubera [SAFT] over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
03/10/2022
Due date:
% Done:

0%

Estimated time:
Affects Version/s:
Fix Version/s:
armel-1.0
Labels:

Description

On OpenSuse 15.3, command "rp-cli images add --help" fails and returns error:

"Error: unknown command "images" for "rp-cli"

"rp-cli --version" returns:

rp-cli version 3.1.3+20210711+1+g73324ef (2021-08-24_145400)

Actions #1

Updated by Vincent Rubiolo over 2 years ago

Thanks for filing a ticket here!

This version of rp-cli is a bit older than it should be as it does not include the images command.

Version 3.4 for instance has it (this is a development snapshot):

$ rp-cli --version
rp-cli version 3.4.0 (2022-01-21_011721)
$ rp-cli images -h
Images commands group

Usage:
  rp-cli images [command]

Aliases:
  images, img

Available Commands:
  add         Create a new image
  delete      Delete an image
  get         Get the properties of an image
  list        List the images from the redpesk infrastructure
  localbuild  Start building a redpesk image locally
  update      Update an image settings

Flags:
  -h, --help   help for images

Global Flags:
  -c, --config string        Config file containing the user options (default are $HOME/.rp-cli/rp-cli-config.json or /etc/redpesk/rp-cli/rp-cli-config.json)
      --logfilename string   Filename where logs will be redirected (default "stderr")
  -l, --loglevel string      Logging level (supported levels: panic, fatal, error, warn, info, debug) (default "warn")
      --nonblocking          When set, rp-cli never waits for events on the websocket (builds, tests, etc.)
      --rawoutput            When set, rp-cli output only machine readable text (json) that corresponds to the Redpesk backend answers
      --serveralias string   Alias for the connection parameters to use to connect on the Redpesk server (default "default")
  -t, --timestamp            Prefix output with timestamp [NOT IMPLEMENTED YET]

Use "rp-cli images [command] --help" for more information about a command.

We are working to update the repo so that you can pick up the correct, updated version.

Actions #2

Updated by Vincent Rubiolo over 2 years ago

Fixed via the same commit as #1 (https://github.com/redpesk-devtools/redpesk-sdk-tools/commit/650073a4bd6e0e1f50d91149d75c92fa8808cbe7).

The install script changes will make the SDK pick up the arz-1.0-update package stream and thus an updated rp-cli providing the images command:

> rp-cli --version
rp-cli version 3.5.0 (2022-03-10_012338)
> rp-cli images
Images commands group

Usage:
  rp-cli images [command]

Aliases:
  images, img

Available Commands:
  add         Create a new image
  delete      Delete an image
  get         Get the properties of an image
  list        List the images from the redpesk infrastructure
  localbuild  Start building a redpesk image locally
  update      Update an image settings

Flags:
  -h, --help   help for images

Global Flags:
  -c, --config string        Config file containing the user options (default are $HOME/.redpesk/rp-cli/rp-cli-config.json or /etc/redpesk/rp-cli/rp-cli-config.json)
      --logfilename string   Filename where logs will be redirected (default "stderr")
  -l, --loglevel string      Logging level (supported levels: panic, fatal, error, warn, info, debug) (default "warn")
      --nonblocking          When set, rp-cli never waits for events on the websocket (builds, tests, etc.)
      --rawoutput            When set, rp-cli output only machine readable text (json) that corresponds to the Redpesk backend answers
      --serveralias string   Alias for the connection parameters to use to connect on the Redpesk server (default "default")
  -t, --timestamp            Prefix output with timestamp [NOT IMPLEMENTED YET]

Use "rp-cli images [command] --help" for more information about a command.
Actions #3

Updated by Vincent Rubiolo over 2 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Vincent Rubiolo over 2 years ago

  • Assignee changed from Vincent Rubiolo to Emmanuel Jubera [SAFT]

Reassigning for fix confirmation/closure.

Actions #5

Updated by Emmanuel Jubera [SAFT] over 2 years ago

  • Status changed from Resolved to Closed

Fix validated.

Actions #6

Updated by Sebastien Douheret [IoT.bzh] about 2 years ago

  • Fix Version/s armel-1.0 added
Actions

Also available in: Atom PDF