Bug 1273001

Summary: errors when starting/stoping ec2 instances
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: Compute ResourcesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Kedar Bidarkar <kbidarka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.2CC: bbuckingham, bkearney, kbidarka
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-12 19:10:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kedar Bidarkar 2015-10-19 11:54:28 UTC
Description of problem:

Errors when starting/stoping ec2 instances.

Version-Release number of selected component (if applicable):
sat6.1.3 with fog-32 versions

How reproducible:


Steps to Reproduce:
1. Add an ec2 compute resource
2. provision an ec2 instance
3. stop and start instance via  the ec2 VM list 

Actual results:
Errors when starting/stoping ec2 instances.


Expected results:
No errors when starting/stoping ec2 instances.

Additional info:

Comment 1 Kedar Bidarkar 2015-10-19 11:55:51 UTC
the log from /var/log/foreman/production.log

2015-10-19 07:48:38 [I] Processing by ComputeResourcesVmsController#power as HTML
2015-10-19 07:48:38 [I]   Parameters: {"authenticity_token"=>"VMngfsccLELkCOu+lZuY3wKfYkouuxstEO4BcfZDue4=", "compute_resource_id"=>"14-aws_fog", "id"=>"i-e43a6155"}
2015-10-19 07:48:38 [I] Successfully decrypted field for Foreman::Model::EC2 aws_fog
2015-10-19 07:48:38 [I] Redirected to https://xxx.redhat.com/compute_resources/14-aws_fog/vms/i-e43a6155
2015-10-19 07:48:38 [I] Completed 302 Found in 746ms (ActiveRecord: 3.9ms)
2015-10-19 07:48:39 [I] Processing by ComputeResourcesVmsController#show as HTML
2015-10-19 07:48:39 [I]   Parameters: {"compute_resource_id"=>"14-aws_fog", "id"=>"i-e43a6155"}
2015-10-19 07:48:39 [I] Successfully decrypted field for Foreman::Model::EC2 aws_fog
2015-10-19 07:48:39 [I]   Rendered compute_resources_vms/show/_ec2.html.erb (24.6ms)
2015-10-19 07:48:39 [I]   Rendered compute_resources_vms/show.html.erb within layouts/application (35.2ms)
2015-10-19 07:48:39 [W] Operation FAILED: uninitialized constant Fog::Compute::OpenStack::Server
2015-10-19 07:48:39 [I]   Rendered common/500.html.erb within layouts/application (12.4ms)
2015-10-19 07:48:39 [I]   Rendered layouts/base.html.erb (3.4ms)
2015-10-19 07:48:39 [I] Completed 500 Internal Server Error in 284ms (Views: 20.6ms | ActiveRecord: 0.0ms)

Comment 3 Brad Buckingham 2015-10-20 17:12:14 UTC
Kedar, is this with the newer version of fog?

Comment 4 Kedar Bidarkar 2015-10-28 10:12:59 UTC
Yes, this is with sat6.1.3 compose4+ fog-32 rpms


ruby193-rubygem-fog-xml-0.1.2-1.el7.noarch
ruby193-rubygem-fog-1.32.0-1.el7.noarch
ruby193-rubygem-fog-softlayer-0.3.9-1.el7.noarch
ruby193-rubygem-fog-sakuracloud-0.1.1-1.el7.noarch
ruby193-rubygem-fog-aws-0.7.2-1.el7.noarch
ruby193-rubygem-fog-json-1.0.0-2.1.el7.noarch
ruby193-rubygem-fog-brightbox-0.0.1-2.el7sat.noarch
ruby193-rubygem-fog-google-0.0.7-1.el7.noarch
ruby193-rubygem-fog-core-1.32.0-1.el7.noarch
ruby193-rubygem-fog-radosgw-0.0.3-1.el7.noarch

Comment 5 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 6 Bryan Kearney 2016-07-26 15:39:31 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 8 Bryan Kearney 2017-01-12 19:10:20 UTC
This is an older bug which I do not envision being addressed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.