Missing migration

Bug #1794634 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse

Bug Description

When I build Debian packages with master and install them in an LXD container I get the following message

Your models have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

If I run ./bin/maas-region makemigrations the follow migration is generated

# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-09-26 22:33
from __future__ import unicode_literals

from django.db import migrations

class Migration(migrations.Migration):

    dependencies = [
        ('maasserver', '0178_break_apart_linked_bmcs'),
    ]

    operations = [
        migrations.AlterUniqueTogether(
            name='bmc',
            unique_together=set([('power_type', 'power_parameters', 'ip_address')]),
        ),
    ]

As the BMC model itself hasn't changed I beleive this is due to f91442a

Related branches

Lee Trager (ltrager)
Changed in maas:
milestone: none → 2.5.0beta2
Changed in maas:
status: Triaged → In Progress
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.