Project

General

Profile

Bug #17200

compute resource create should accept option datacenter

Added by Ranjan Kumar over 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

  1. hammer compute-resource create --provider="VMWare" --name "vCenter" --description "Test vCenter" --user "Administrator" --url "vmware.example.com" --password ComplexPassword
    Could not create the compute resource:
    Datacenter can't be blank
  2. hammer compute-resource create --provider="VMWare" --name "vCenter" --description "Test vCenter" --user "Administrator" --url "vmware.example.com" --password ComplexPassword --datacenter Datacenter
    Could not create the compute resource:
    Error: Unrecognised option '--datacenter'

Related issues

Related to Foreman - Refactor #28592: drop deprecated compute resource uuid parameterClosed

Associated revisions

Revision e4c0449f (diff)
Added by Ranjan Kumar over 3 years ago

Fixes #17200 - Add option datacenter to compute resource

Revision ce954bb1 (diff)
Added by Ranjan Kumar over 3 years ago

Fixes #17200 - Add option datacenter to compute resource

(cherry picked from commit e4c0449fbb71e65723c9daacc2f0d0e8a32989f0)

History

#1 Updated by Daniel Lobato Garcia over 3 years ago

  • Project changed from Hammer CLI to Foreman

#2 Updated by Dominic Cleal over 3 years ago

  • Category set to API
  • Status changed from New to Ready For Testing
  • Assignee set to Ranjan Kumar

#3 Updated by Ranjan Kumar over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 203

#5 Updated by Tomer Brisker 6 months ago

  • Related to Refactor #28592: drop deprecated compute resource uuid parameter added

Also available in: Atom PDF