Filestorage is unique to each appserver instance
Bug #1069734 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
1.2 |
Fix Released
|
Critical
|
Jeroen T. Vermeulen | ||
maas (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Quantal |
Fix Released
|
Critical
|
Unassigned | ||
Raring |
Fix Released
|
Critical
|
Unassigned |
Bug Description
MAAS uses Django's FileStorage field to store files (only sent from Juju at the moment). The files are actually stored on the file system in each appserver instance. This will cause access via a different appserver to fail to find the file.
Related branches
lp:~jtv/maas/1.2-bug-1069734
- Raphaël Badin (community): Approve
-
Diff: 1207 lines (+691/-306)12 files modifiedetc/cron.d/maas-gc (+2/-6)
setup.py (+0/-2)
src/maasserver/api.py (+2/-2)
src/maasserver/management/commands/gc.py (+0/-24)
src/maasserver/migrations/0039_add_filestorage_content.py (+233/-0)
src/maasserver/migrations/0040_make_filestorage_data_not_null.py (+203/-0)
src/maasserver/migrations/0041_remove_filestorage_data.py (+213/-0)
src/maasserver/models/filestorage.py (+15/-92)
src/maasserver/testing/factory.py (+4/-4)
src/maasserver/tests/test_api.py (+4/-2)
src/maasserver/tests/test_commands.py (+0/-11)
src/maasserver/tests/test_filestorage.py (+15/-163)
lp:~jtv/maas/bug-1069734
- John A Meinel (community): Approve
-
Diff: 1191 lines (+690/-305)12 files modifiedetc/cron.d/maas-gc (+2/-6)
setup.py (+0/-2)
src/maasserver/api.py (+1/-1)
src/maasserver/management/commands/gc.py (+0/-24)
src/maasserver/migrations/0039_add_filestorage_content.py (+233/-0)
src/maasserver/migrations/0040_make_filestorage_data_not_null.py (+203/-0)
src/maasserver/migrations/0041_remove_filestorage_data.py (+213/-0)
src/maasserver/models/filestorage.py (+15/-92)
src/maasserver/testing/factory.py (+4/-4)
src/maasserver/tests/test_api.py (+4/-2)
src/maasserver/tests/test_commands.py (+0/-11)
src/maasserver/tests/test_filestorage.py (+15/-163)
lp:~andreserl/maas/quantal_update_changelog
- Andres Rodriguez (community): Approve
-
Diff: 31 lines (+23/-1)1 file modifieddebian/changelog (+23/-1)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
milestone: | none → 12.10-stabilization |
tags: | added: scaling |
Changed in maas: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 12.10-stabilization → none |
status: | In Progress → Fix Committed |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
Changed in maas (Ubuntu Raring): | |
status: | Confirmed → Triaged |
importance: | Undecided → Critical |
Changed in maas (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package maas - 1.2+bzr1349+ dfsg-0ubuntu1
--------------- dfsg-0ubuntu1) raring; urgency=low
maas (1.2+bzr1349+
* New upstream bugfix release. Fixes: controller doesn't have images for api.py calls request. data.getlist with a 'default'
- The DNS configuration is not created if maas-dns is installed after
the DNS config has been set up (LP: #1085865).
- IPMI detection ends up with power_address of 0.0.0.0 (LP: #1064224)
- Main page slow to load with many nodes (LP: #1066775)
- maas-cluster-
provisioning (LP: #1068843)
- Filestorage is unique to each appserver instance (LP: #1069734)
- import_pxe_files does not include quantal (LP: #1069850)
- maas-cli nodes new incomplete documentation (LP: #1070522)
- DNS forward zone ends up with nonsensical entries (LP: #1070765)
- The hostname of a node can still be changed once the node is in
use. (LP: #1070774)
- The zone name (attached to a cluster controller) can still be changed
when it contains in-use nodes and DNS is managed. (LP: #1070775)
- Duplicated prefix in the url used by the CLI (LP: #1075597)
- Not importing Quantal boot images (LP: #1077180)
- Nodes are deployed with wrong domain name. (LP: #1078744)
- src/maasserver/
parameter. That parameter is not supported by Django 1.3. (LP: #1080673)
- API calls that return a node leak private data (LP: #1034318)
- MAAS hostnames should be 5 easily disambiguated characters (LP: #1058998)
- URI in API description wrong when accessing machine via alternative
interface. (LP: #1059645)
- Oops when renaming nodegroup w/o interface (LP: #1077075)
- Error in log when using 'Start node' button: MAASAPINotFound: No user
data available for this node. (LP: #1069603)
[ Raphaël Badin ] maas-dns. postinst: Call write_dns_config (LP: #1085865). maas-dns. postinst: fix permissions and group ownership of maas/named. conf.rndc. maas. (LP: #1066935)
* debian/
* debian/
file /etc/bind/
[ Julian Edwards ] maas-region- controller. install: Remove installation of maas-gc; it maas-cluster- controller. postinst: Ensure that /etc/maas/ pserv.yaml
* debian/
is no longer required as upstream no longer stores files in the filesystem.
(LP: #1069734)
* debian/
is updated when reconfiguring. (LP: #1081212)
[ Andres Rodriguez ] controller Conflicts with tftpd-hpa (LP: #1076028) controller. controller to cluster- controller. maas-cluster- controller. config: If URL has been detected, add MAAS_URL didn't use /MAAS. pxe-files and related files with cluster- controller, as well as configure tgtd, as region- controller no longer stores images. Thanks to Jeroen
* debian/control:
- maas-cluster-
- maas-dns: Conflicts with dnsmasq
- Drop Dependency on rabbitmq-server for maas-cluster-
(LP: #1072744)
- Add conflicts/replaces for maas-region-
maas-
* debian/
/MAAS if it doesn't contain it. This helps upgrades from versions where
DEFAULT_
* Install maas-import-
maas-
maas-
Vermuelen.
[ Gavin Panella ] extras/ 99-maas: squashfs image download is no longer needed.
* debian/
* debian/maas-clu...