Project

General

Profile

Actions

Bug #29310

closed

content-view version promote uses deprecated `environment_id` parameter

Added by James Jeffers about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

[ INFO 2020-03-09T15:55:59 API] POST /katello/api/content_view_versions/2/promote
[DEBUG 2020-03-09T15:55:59 API] Params: {
    "environment_id" => "3",
             "force" => nil
}
[DEBUG 2020-03-09T15:55:59 API] Headers: {}
[DEBUG 2020-03-09T15:55:59 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth
[ERROR 2020-03-09T15:55:59 API] 400 Bad Request
[DEBUG 2020-03-09T15:55:59 API] {
    "displayMessage" => "Could not find environments for promotion",
            "errors" => [
        [0] "Could not find environments for promotion" 
    ]
}

This should be updated to use the new `environment_ids` array of values.
Actions #1

Updated by James Jeffers about 4 years ago

Note the command used was: hammer -d content-view version promote --organization-id 1 --to-lifecycle-environment-id 3 --id 2

Actions #2

Updated by Jonathon Turel about 4 years ago

  • Target version set to Katello 3.16.0
  • Triaged changed from No to Yes
Actions #3

Updated by Ewoud Kohl van Wijngaarden about 4 years ago

  • Description updated (diff)
Actions #4

Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/727 added
Actions #5

Updated by Justin Sherrill about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF