Bug 726381

Summary: 0.3.0 release: Mock broken "out of the box" due to port 3002 assignment conflict
Product: [Retired] CloudForms Cloud Engine Reporter: Justin Clift <jclift>
Component: DistributionAssignee: Richard Su <rwsu>
Status: CLOSED CURRENTRELEASE QA Contact: Aziza Karol <akarol>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 0.3.1CC: deltacloud-maint, kwade, whayutin
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Justin Clift 2011-07-28 12:51:57 UTC
Description of problem:

  In the 0.3.0 release of Aeolus, both /etc/init.d/deltacloud-core and /etc/init.d/deltacloud-mock are set to use port 3002.

  The core one starts first, so the mock one silently fails (!).  Changing the port number to 3005 for mock in the mock startup script, then adjusting the port through the Conductor UI (mock provider account) lets it work.


Version-Release number of selected component (if applicable):

  aeolus-configure-2.0.1-1.el6.20110721154028git42b1e20.noarch
  aeolus-conductor-0.3.0-1.el6.fc14.noarch
  aeolus-conductor-daemons-0.3.0-1.el6.fc14.noarch
  aeolus-conductor-doc-0.3.0-1.el6.fc14.noarch
  aeolus-all-0.3.0-1.el6.fc14.noarch

How reproducible:

  Every time.

Steps to Reproduce:
  1. Install Aeolus 0.3.0 on RHEL 6.1, using the 0.3.0 release rhel-aeolus.repo file.
  2. Run aeolus-configure as super-user.
  3. Try adding a mock provider account through Conductor.

  It fails here, due to mock being unable to start, due to the above mentioned port conflict.


Expected results:

  Mock should work "out of the box" through the Conductor interface.

  Therefore, Mock should be running on a port that doesn't conflict with deltacloud-core (ie 3005).  aeolus-configure will need to set up mock with that port number when it runs.

Additional info:

Comment 1 wes hayutin 2011-07-28 14:48:10 UTC
Lets just make sure we're not overriding rhevm and vsphere

I think rhevm currently uses 3005, vphsere useses 3006 by default in aeolus-configure

Comment 2 Justin Clift 2011-07-28 15:12:16 UTC
Good point.  We'll need to check.

Comment 3 Justin Clift 2011-08-04 23:13:42 UTC
As discussed on IRC and the aeolus-devel mailing list, this is really being caused by deltacloud-core startup script being enabled.

The correct solution is for aeolus-configure to disable /etc/init.d/deltacloud-core as part of it's setup run.

This lets the mock driver start on port 3002, in it's expected location, and everything "just works".

Comment 4 Justin Clift 2011-08-09 05:27:18 UTC
As a workaround for now, the installation instructions on the Aeolus website now has a step included to disable this.

Comment 5 wes hayutin 2011-08-30 20:00:06 UTC
this should be fixed when we get single instance dc

Comment 6 Richard Su 2011-09-14 22:28:19 UTC
Fixed on:
aeolus-configure-2.0.2-4.20110914145605git811b13e.fc15.noarch
aeolus-conductor-0.4.0-0.20110914191507git6354644.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110914191507git6354644.fc15.noarch
aeolus-all-0.4.0-0.20110914191507git6354644.fc15.noarch
aeolus-conductor-doc-0.4.0-0.20110914191507git6354644.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110914191507git6354644.fc15.noarch

Comment 7 wes hayutin 2011-09-20 14:00:42 UTC
Aziza please verify these bugs.. Thank you!

Comment 8 wes hayutin 2011-09-23 20:05:35 UTC
mock seems to be setup correctly in latest builds...
able to add a provider account, realms .etc..

[root@unused ~]# rpm -qa | grep aeolus
aeolus-conductor-doc-0.4.0-0.20110922165939git5b371be.fc15.noarch
aeolus-conductor-0.4.0-0.20110922165939git5b371be.fc15.noarch
aeolus-conductor-daemons-0.4.0-0.20110922165939git5b371be.fc15.noarch
aeolus-all-0.4.0-0.20110922165939git5b371be.fc15.noarch
aeolus-conductor-devel-0.4.0-0.20110922165939git5b371be.fc15.noarch
aeolus-configure-2.0.2-4.20110921102958gitcaa9608.fc15.noarch
rubygem-aeolus-image-0.1.0-3.20110922120732gita0b9a44.fc15.noarch
[root@unused ~]# less /var/log/deltacloud-core/mock.log

Comment 10 wes hayutin 2011-12-08 13:55:05 UTC
closing out old bugs

Comment 11 wes hayutin 2011-12-08 14:08:18 UTC
perm close