The two default Ubuntu repositories should not be deletable by maas cli

Bug #1801491 reported by Jack Chen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Mike Pontillo

Bug Description

MAAS will generate two default ubuntu repositories: Ubuntu archive and Ubuntu extra architectures, these two repositories can't be disabled or removed on MAAS Web UI. But by using maas cli: ```maas ${ADMIN} boot-source delete 0; maas ${ADMIN} boot-source delete 1 ```, they can be deleted. And machine actions will fail with regiond error logs:
```
...
Failed to retrieve curtin config: 'NoneType' object has no attribute 'url'
...
```

It cost me one day to find the root cause and fix it by manually enter maas dbshell to restore these two default package repositories.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.5.0rc1
assignee: nobody → Mike Pontillo (mpontillo)
Revision history for this message
Mike Pontillo (mpontillo) wrote :

Proceeding assuming it's actually package-repository, not boot-source, that is the problem. ;-)

Changed in maas:
status: Triaged → Fix Committed
Revision history for this message
Jack Chen (scsvip) wrote :

@Mike Pontillo
Thanks very much for you quickly fix, it unblock us!

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.