Problem installing fixture '.../src/maasserver/fixtures/dev_fixture.yaml

Bug #1496339 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

$ make sampledata
...
bin/database --preserve run -- bin/maas-region-admin loaddata \
  src/maasserver/fixtures/dev_fixture.yaml
Traceback (most recent call last):
  File "bin/maas-region-admin", line 45, in <module>
    maasserver.execute_from_command_line()
  File ".../src/maasserver/__init__.py", line 44, in
  execute_from_command_line
    django.core.management.execute_from_command_line()
  File ".../django/core/management/__init__.py", line 399, in
  execute_from_command_line
    utility.execute()
  File ".../django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File ".../django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File ".../django/core/management/base.py", line 285, in execute
    output = self.handle(*args, **options)
  File ".../django/core/management/commands/loaddata.py", line 55, in
  handle
    self.loaddata(fixture_labels)
  File ".../django/core/management/commands/loaddata.py", line 84, in
  loaddata
    self.load_label(fixture_label)
  File ".../django/core/management/commands/loaddata.py", line 134, in
  load_label
    for obj in objects:
  File ".../django/core/serializers/pyyaml.py", line 75, in Deserializer
    six.reraise(DeserializationError, DeserializationError(e),
    sys.exc_info()[2])
  File ".../django/core/serializers/pyyaml.py", line 69, in Deserializer
    for obj in PythonDeserializer(yaml.load(stream, Loader=SafeLoader),
    **options):
  File ".../django/core/serializers/python.py", line 90, in Deserializer
    Model = _get_model(d["model"])
  File ".../django/core/serializers/python.py", line 153, in _get_model
    raise base.DeserializationError("Invalid model identifier: '%s'" %
    model_identifier)
django.core.serializers.base.DeserializationError: Problem installing
fixture '.../src/maasserver/fixtures/dev_fixture.yaml': Invalid model
identifier: 'maasserver.macstaticipaddresslink'

Gavin Panella (allenap)
tags: added: dev-environment
tags: removed: tech-debt
Changed in maas:
status: Triaged → Invalid
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.