Can't add a boot source on the local filesystem

Bug #1391254 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
High
Unassigned

Bug Description

I have a simplestreams mirror I created using sstream-mirror on my MAAS server at /home/ubuntu/images/ephemeral-v2/daily. I want MAAS to use this as its boot source to import images from, so I try to point MAAS at it but get URL validation errors instead:

ubuntu@trusty-maas7:~$ maas local boot-sources create url=/home/ubuntu/images/ephemeral-v2/daily keyring_filename=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
{"url": ["Enter a valid URL."]}
ubuntu@trusty-maas7:~$ maas local boot-sources create url=file://home/ubuntu/images/ephemeral-v2/daily keyring_filename=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg
{"url": ["Enter a valid URL."]}

To get this to work I need to host the mirror through a webserver like apache, but I shouldn't have to do that. sstream-mirror works fine with '/path/to/mirror' as its source for a mirror, and MAAS should be able to support that too.

ii maas 1.7.0~rc1+bzr3295-0ubuntu1~trusty1

description: updated
Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.7.1
Changed in maas:
milestone: 1.7.1 → 1.7.2
Changed in maas:
milestone: 1.7.2 → 1.7.3
Changed in maas:
milestone: 1.7.3 → 1.9.0
Revision history for this message
Andres Rodriguez (andreserl) wrote :

I believe this issue is now resolved on the latest version of MAAS.

Changed in maas:
status: Triaged → Won't Fix
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.