Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Dec 16, 2009 8:27 pm 
Offline
Senior Newbie

Joined: Thu Dec 03, 2009 4:22 pm
Posts: 7
Hi,

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

When I do this:
Code:
api.linode_disk_createfromdistribution(
  LinodeID=linode_id,
  DistributionID=62,
  Label='rootdisk',
  Size=4096,
  rootPass='sup0r-sikret')

I get this:
Code:
[{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.


Top
   
 Post subject:
PostPosted: Wed Dec 16, 2009 8:32 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
I don't use the API, but is it "rootPass" or "RootPass" ? Is case important?

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Wed Dec 16, 2009 8:42 pm 
Offline
Senior Newbie

Joined: Thu Dec 03, 2009 4:22 pm
Posts: 7
sweh wrote:
Is case important?


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


Top
   
 Post subject:
PostPosted: Wed Dec 16, 2009 8:43 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Give it another shot.

-Chris


Top
   
 Post subject:
PostPosted: Wed Dec 16, 2009 9:15 pm 
Offline
Senior Newbie

Joined: Thu Dec 03, 2009 4:22 pm
Posts: 7
Fixed, and in less than 20 minutes.
I'm impressed.

Thanks, Chris!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group