Web API: special_filesystems inexplicably missing from rendered Machine

Bug #1555022 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Gavin Panella

Bug Description

In a soon-to-be-landed branch lp:~allenap/maas/storage-ramfs-tmpfs-api, the Machine rendered in response to a call to AnonMachinesHandler.create() is missing fields that do appear in response to a call to MachinesHandler.create(), most notably (to me) the special_filesystems list. However, neither Lee nor I could figure out why this was happening.

Tags: api tech-debt

Related branches

Changed in maas:
milestone: none → 2.0.0
Revision history for this message
Gavin Panella (allenap) wrote :

It appears that special_filesystems needed to appear on the model as well as on the API class. Work in the linked branch exposed special_filesystems as a related-name (to Filesystem) and suddenly this started working.

Changed in maas:
assignee: nobody → Gavin Panella (allenap)
status: Triaged → In Progress
Gavin Panella (allenap)
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.