Bug #27343
closed
- Related to Tracker #27163: Implement CLI endpoints for GCE Compute Resource added
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.
- 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
- Fixed in Releases hammer-cli-foreman-0.18.0 added
- Status changed from Ready For Testing to Closed
Also available in: Atom
PDF