Errors importing custom image


#1

I found some old guide online with instruction like this:

maas hk-69 boot-sources create -d name=custom/ubuntu-14.04-5 architecture=amd64/generic filetype=tgz content@=/tmp/ubuntu-14.04-server-cloudimg-amd64.tar.gz

but I here is what I got:

400 Bad Request

Content-Length: 111
Content-Type: application/json; charset=utf-8
Date: Tue, 04 Dec 2018 08:48:18 GMT
Server: TwistedWeb/17.9.0
Status: 400
Vary: Cookie
X-Frame-Options: SAMEORIGIN

{“url”: [“This field is required.”], “all”: [“One of keyring_data or keyring_filename must be specified.”]}

Seems like import custom image is no longer support?
Can’t find any doc, How could we solve issue like missing driver?


#2

You are using the wrong endpoint. You need boot-resources, but you are using boot-sources


#3

#4

#5

#6

#7

:sweat_smile:my bad

however after I fix the endpoint, I still get Too much data recieved. error


#8

Do you have output of the command, logs from MAAS for us to see? Also, how large is your image?