maas installs python modules with out any namespacing

Bug #1053507 reported by Scott Moser
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

maas has essentially claimed the names 'provisioningsever', 'metadataserver' 'maasserver' and now 'apiclient' in python modules namespace.

Of those, only 'maasserver' makes even a bit of sense.

These should get namespaced into 'maas.apiclient', 'maas.provisioningserver' ...

Scott Moser (smoser)
description: updated
Revision history for this message
Gavin Panella (allenap) wrote :

We've wanted to address this for a long time, but there are some hurdles to overcome, and it's more work than it appears at first (we know this first hand). South completely lost its mind when we moved modules around, and Django wouldn't initialise for reasons we were never able to understand. However, renaming apiclient and provisioningserver will work okay.

Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

Gavin,
 If you think provisioningserver and apiclient can be renamed, could you do that?
 'apiclient' is *really* bad as a name. I'd rather get over the pain of that now than have to deal with people outside of maas source using that later.

Revision history for this message
Gavin Panella (allenap) wrote :

Okay, let's limit this to those two for now. I suggest:

  apiclient --> maasclient
  provisioningserver --> maascluster

Revision history for this message
Julian Edwards (julian-edwards) wrote :

+1

Although my tab-completion fingers will thank you if s/maasclient/maasapi/

Changed in maas:
importance: Medium → Critical
Revision history for this message
Gavin Panella (allenap) wrote :

> Although my tab-completion fingers will thank you if s/maasclient/maasapi/

I think that could be confusing with the server-side of the API, so perhaps we'll have to think up something else that's tab-finger-friendly.

Changed in maas:
importance: Critical → High
milestone: none → 12.10
Changed in maas:
milestone: 12.10 → 12.10-stabilization
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is not something that's SRU-able, so removing the milestone.

Changed in maas:
milestone: 12.10-stabilization → none
Changed in maas:
milestone: none → 13.10
Changed in maas:
milestone: 13.10 → 14.04
Changed in maas:
milestone: 14.04 → 14.10
Changed in maas:
milestone: 1.6.0 → none
Changed in maas:
milestone: none → next
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
Changed in maas:
milestone: next → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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