linode.disk.createfromdistribution -> RootPass is require

Hi,

Here is my problem with the Linode API (I'm using the Python bindings).

When I do this:

api.linode_disk_createfromdistribution(
  LinodeID=linode_id, 
  DistributionID=62, 
  Label='rootdisk', 
  Size=4096, 
  rootPass='sup0r-sikret')

I get this:

[{u'ERRORCODE': 2, u'ERRORMESSAGE': u'RootPass is required when creating an image from a Distribution'}]

I'm pretty much sure I'm doing it right because this very call worked yesterday.

I guess it's a bug on the Linode's side introduced during a recent update.

4 Replies

I don't use the API, but is it "rootPass" or "RootPass" ? Is case important?

@sweh:

Is case important?

Officially not, but I've tried all sensible combinations anyways :-) The documentation spells it "rootPass" though.

Give it another shot.

-Chris

Fixed, and in less than 20 minutes.

I'm impressed.

Thanks, Chris!

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct