Actions
Bug #30620
closedAPI Create vmware ComputeResource fails with "Datacenter can't be blank"
Status:
Closed
Priority:
High
Assignee:
Category:
Compute resources - VMware
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Description
When trying to create a new compute-resource via API (e.g. foreman-ansible-modules or hammer), the request fails with Datacenter can't be blank
$ hammer compute-resource create --provider="VMWare" --name "vCenter" --description "Test vCenter" --user "administrator" --server "vsphere.example.com" --password 'secret' --datacenter "DEV" Could not create the compute resource: Datacenter can't be blank
I suspect the change from #30372 to be the reason for this, because it removes the datacenter
-option from the compute-resource create instruction.
Updated by Tomer Brisker over 4 years ago
- Related to Bug #30372: Can't add RHEV with APIv3 through Hammer added
Updated by Tomer Brisker over 4 years ago
- Category set to Compute resources - VMware
- Target version set to 2.1.2
Updated by The Foreman Bot over 4 years ago
- Status changed from New to Ready For Testing
- Assignee set to Shira Maximov
- Pull request https://github.com/theforeman/foreman/pull/7894 added
Updated by Tomer Brisker over 4 years ago
- Fixed in Releases 2.1.2, 2.2.0 added
- Fixed in Releases deleted (
2.3.0)
Updated by Shira Maximov over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|350e98a22a442c73cbbb73a19b361e2a521c3d1a.
Updated by The Foreman Bot over 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/7975 added
Actions