maas-cluster-controller installation breaks: __main__.py: error: unrecognized arguments: -u maas -g maas

Bug #1373237 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Jeroen T. Vermeulen

Bug Description

When I try to run the CI tests with my fix for bug 1373207 in place (to make the package build at all), maas-cluster-controller fails to install:

«
======================================================================
FAIL: maas-integration.TestMAASIntegration.test_check_initial_services
----------------------------------------------------------------------
_StringException: [2014-09-24 05:20:07.459074] File /var/log/upstart/maas-cluster-celery.log content: {{{
usage: __main__.py [-h] [-c FILENAME]
                   {atomic-write,customize-config,generate-dhcp-config,install-uefi-config,start-cluster-controller,upgrade-cluster}
                   ...
__main__.py: error: unrecognized arguments: -u maas -g maas
}}}

[2014-09-24 05:20:12.491575] File /var/log/upstart/maas-cluster-celery.log content: {{{
usage: __main__.py [-h] [-c FILENAME]
                   {atomic-write,customize-config,generate-dhcp-config,install-uefi-config,start-cluster-controller,upgrade-cluster}
                   ...
__main__.py: error: unrecognized arguments: -u maas -g maas
}}}
»

The error section repeats many times. It seems to come from this line in maas-cluster-controller.maas-cluster-celery.upstart:

    exec /usr/bin/authbind --deep /usr/sbin/maas-provision start-cluster-controller $MAAS_URL -u maas -g maas

The -u and -g options were removed from the start-cluster-controller sometime in the past day, so I guess the packaging should no longer pass them.

Tags: packaging

Related branches

Changed in maas:
milestone: none → 1.7.0
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.