Bug #17200
compute resource create should accept option datacenter
Description
- 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 - 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
Associated revisions
Fixes #17200 - Add option datacenter to compute resource
(cherry picked from commit e4c0449fbb71e65723c9daacc2f0d0e8a32989f0)
History
#1
Updated by Daniel Lobato Garcia over 5 years ago
- Project changed from Hammer CLI to Foreman
#2
Updated by Dominic Cleal over 5 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 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e4c0449fbb71e65723c9daacc2f0d0e8a32989f0.
#4
Updated by Dominic Cleal over 5 years ago
- Legacy Backlogs Release (now unused) set to 203
#5
Updated by Tomer Brisker over 2 years ago
- Related to Refactor #28592: drop deprecated compute resource uuid parameter added
Fixes #17200 - Add option datacenter to compute resource