Actions
Bug #27343
closedRemove inconsistency for GCE provider on hammer side to fix compute-profile
Difficulty:
Triaged:
No
Team Backlog:
Updated by Kavita Gaikwad over 5 years ago
- Related to Tracker #27163: Implement CLI endpoints for GCE Compute Resource added
Updated by Kavita Gaikwad over 5 years ago
Facing error for compute-profile commands:
pry(#<HammerCLIForeman::ComputeAttribute::Create>)> compute_resource_name
=> "google"
[2] pry(#<HammerCLIForeman::ComputeAttribute::Create>)> ::HammerCLIForeman.compute_resources
=> {"ec2"=>#<HammerCLIForeman::ComputeResources::EC2:0x0000000002f34218>,
"gce"=>#<HammerCLIForeman::ComputeResources::GCE:0x0000000002f546a8>,
"libvirt"=>#<HammerCLIForeman::ComputeResources::Libvirt:0x0000000002f2d918>,
"openstack"=>#<HammerCLIForeman::ComputeResources::OpenStack:0x0000000002f16470>,
"ovirt"=>#<HammerCLIForeman::ComputeResources::Ovirt:0x0000000002efd380>,
"rackspace"=>#<HammerCLIForeman::ComputeResources::Rackspace:0x0000000002eeabe0>,
"vmware"=>#<HammerCLIForeman::ComputeResources::VMware:0x0000000002c86a48>}
[3] pry(#<HammerCLIForeman::ComputeAttribute::Create>)>
[DEBUG 2019-07-18T13:51:49 Exception] Using exception handler HammerCLIForeman::ExceptionHandler#handle_general_exception
[ERROR 2019-07-18T13:51:49 Exception] Error: undefined method `interfaces_attrs_name' for nil:NilClass
Could not set the compute profile attributes:
Error: undefined method `interfaces_attrs_name' for nil:NilClass
[ERROR 2019-07-18T13:51:49 Exception]
NoMethodError (undefined method `interfaces_attrs_name' for nil:NilClass):
If you see above output, you will find some inconsistency while using GCE compute resource. Need to fix this asap.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Kavita Gaikwad
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/432 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases hammer-cli-foreman-0.18.0 added
Updated by Kavita Gaikwad over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|b4a216c9d582b2dd539f99a27da0d51f53bddc70.
Actions