On 27/07/2011, at 1:35 AM, Mark McLoughlin wrote:
<snip>
> This tends to trip people up: aeolus-configure sets up a
Deltacloud server
> with the Mock driver on the port 3002.
>
> However, our tests look for the mock dc instance on 3001, which means that to
> run the tests, one must start another Mock Deltacloud server.
Quickly trying out Mock in the 0.3.0 RHEL 6.1 release rpms, and it's broken
"out of the box". :(
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.
So, is the -core startup script wrong, or the -mock startup one? If the -mock
one is wrong, we'll need to move the mock port from 3002 anyway.
Regards and best wishes,
Justin Clift
--
Aeolus Community Manager
http://www.aeolusproject.org