Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: I launched ec2 instance and its running. I clicked on restart button. UI displays "ec2-entry1/frontend: reboot action was successfully queued". but, delta-cloud core log displays: New Aws::Ec2 using per_thread-connection mode New Aws::Ec2 using per_thread-connection mode New Aws::Ec2 using per_thread-connection mode Rightscale::HttpConnection : request failure count: 1, exception: #<Errno::EPIPE: Broken pipe> Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443 New Aws::Ec2 using per_thread-connection mode New Aws::Ec2 using per_thread-connection mode Additional info: [root@hp-bl480c-01 ~]# rpm -qa | egrep 'aeolus|imagefactory' rubygem-imagefactory-console-0.4.0-1.el6.noarch imagefactory-jeosconf-ec2-rhel-1.0.0rc1-1.el6.noarch aeolus-conductor-0.7.0-4.el6.noarch imagefactory-jeosconf-ec2-fedora-1.0.0rc1-1.el6.noarch aeolus-configure-2.4.0-3.el6.noarch aeolus-conductor-doc-0.7.0-4.el6.noarch aeolus-all-0.7.0-4.el6.noarch rubygem-aeolus-cli-0.2.0-3.el6.noarch imagefactory-1.0.0rc1-1.el6.noarch rubygem-aeolus-image-0.2.0-1.el6.noarch aeolus-conductor-daemons-0.7.0-4.el6.noarch
make sure your /etc/imagefactory/imagefactory.conf "ec2_ami_type": "s3", set that to "ebs" and retest
*** Bug 797220 has been marked as a duplicate of this bug. ***
Retested the ability to reboot an instance from Conductor. The instance launched was an EBS-backed instance - see the attached screenshot of the Management Console. I tried to A) Roboot the Instance and B) Stop the Instance. Conductor reported that first the Reboot and the then the Stop actions were queued but, the 'DELETE' action is registered in the logs but the 'REBOOT' action is not. /var/log/deltacloud-core/mock.log shows: I, [2012-02-27T17:17:06.514828 #15658] INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443 I, [2012-02-27T17:17:20.774453 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:20.936203 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:20.938839 #15658] INFO -- : Closing HTTPS connection to ec2.ap-southeast-1.amazonaws.com:443 I, [2012-02-27T17:17:20.939281 #15658] INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443 I, [2012-02-27T17:17:21.233744 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:21.397269 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:21.573767 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode W, [2012-02-27T17:17:21.584110 #15658] WARN -- : Rightscale::HttpConnection : request failure count: 1, exception: #<Errno::EPIPE: Broken pipe> I, [2012-02-27T17:17:21.584303 #15658] INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443 I, [2012-02-27T17:17:22.405597 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:22.591893 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:22.598889 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode thin server (localhost:3002) [deltacloud-mock][15658]: 127.0.0.1 - - [27/Feb/2012 17:17:23] "DELETE /api/keys/ec2rhel62L_rhel6_2_64_rhev-agent_1330378981_key_70048308898160 HTTP/1.1" 204 - 0.4594 I, [2012-02-27T17:17:35.206190 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode I, [2012-02-27T17:17:35.216900 #15658] INFO -- : Closing HTTPS connection to ec2.us-east-1.amazonaws.com:443 I, [2012-02-27T17:17:35.234860 #15658] INFO -- : Opening new HTTPS connection to ec2.ap-southeast-1.amazonaws.com:443 I, [2012-02-27T17:17:35.604263 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode W, [2012-02-27T17:17:35.648768 #15658] WARN -- : Rightscale::HttpConnection : request failure count: 1, exception: #<Errno::EPIPE: Broken pipe> I, [2012-02-27T17:17:35.670067 #15658] INFO -- : Opening new HTTPS connection to ec2.us-east-1.amazonaws.com:443 I, [2012-02-27T17:19:10.318968 #15658] INFO -- : New Aws::Ec2 using per_thread-connection mode W, [2012-02-27T17:19:10.359168 #15658] WARN -- : Rightscale::HttpConnection : request failure count: 1, exception: #<Errno::EPIPE: Broken pipe> I, [2012-02-27T17:19:10.367589 #15658] INFO -- : Opening new HTTPS connection to ec2.ap-southeast-1.amazonaws.com:443 I Tested Reboot and Stopping instances from the https://xxx/conductor/instances page as trying to click on the 'Restart' or 'Stop' button on the deployments page results in the following error: undefined method `do_operation' for #<InstancesController:0x7f6ac90dd9b0> ******** rpm -qa |grep aeolus aeolus-all-0.8.0-35.el6.noarch aeolus-conductor-0.8.0-35.el6.noarch aeolus-configure-2.5.0-15.el6.noarch aeolus-conductor-doc-0.8.0-35.el6.noarch rubygem-aeolus-image-0.3.0-9.el6.noarch aeolus-conductor-daemons-0.8.0-35.el6.noarch rubygem-aeolus-cli-0.3.0-10.el6.noarch rpm -qa |grep deltacloud deltacloud-core-vsphere-0.5.0-5.el6.noarch deltacloud-core-ec2-0.5.0-5.el6.noarch deltacloud-core-rhevm-0.5.0-5.el6.noarch deltacloud-core-0.5.0-5.el6.noarch rubygem-deltacloud-client-0.5.0-2.el6.noarch ************* Moving this BZ to 'MODIFIED' for further assessment.
Created attachment 566157 [details] ec2 ebs instance
[whayutin@whayutin Downloads]$ ssh -i ~/Downloads/amiRHEL62wes_amiRHEL062_1330382434_key_70151501922220.pem root.amazonaws.com The authenticity of host 'ec2-23-20-101-133.compute-1.amazonaws.com (23.20.101.133)' can't be established. RSA key fingerprint is 6f:d2:78:5d:8f:ab:10:28:13:9b:7f:5a:49:a8:73:ed. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ec2-23-20-101-133.compute-1.amazonaws.com,23.20.101.133' (RSA) to the list of known hosts. [root@ip-10-242-127-47 ~]# Broadcast message from root@ip-10-242-127-47 (unknown) at 17:50 ... The system is going down for reboot NOW! Control-Alt-Delete pressed Connection to ec2-23-20-101-133.compute-1.amazonaws.com closed by remote host. Connection to ec2-23-20-101-133.compute-1.amazonaws.com closed. [whayutin@whayutin Downloads]$ ssh -i ~/Downloads/amiRHEL62wes_amiRHEL062_1330382434_key_70151501922220.pem root.amazonaws.com Last login: Mon Feb 27 17:50:31 2012 from 66.187.233.202 [root@ip-10-242-127-47 ~]# [root@ip-10-242-127-47 ~]# [root@ip-10-242-127-47 ~]# [root@qeblade30 yum.repos.d]# rpm -qa | grep aeolus rubygem-aeolus-image-0.3.0-10.el6.noarch aeolus-conductor-0.8.0-37.el6.noarch rubygem-aeolus-cli-0.3.0-11.el6.noarch aeolus-conductor-daemons-0.8.0-37.el6.noarch aeolus-all-0.8.0-37.el6.noarch aeolus-conductor-doc-0.8.0-37.el6.noarch aeolus-configure-2.5.0-15.el6.noarch [root@qeblade30 yum.repos.d]#