[Planetlab-users] how to add nodes to a slice without using webinterface

Florin Oprea foprea at ece.cmu.edu
Mon Aug 14 18:12:23 EDT 2006


I had the same problem recently, but by following the instructions from:

http://jabber.services.planet-lab.org/php/software/pldeploy/HOWTO.php

everything worked fine in the end. Of course you need to make sure you 
have created a .slices file in your home directory containing:

slice: my_own_slice
account: my_planetlab_web_account
password: my_planetlab_web_account_password

Below is the exact command I used to add a list of nodes to my slice 
(note the use of a "user" role, and since the default is PI, maybe this 
was why you were getting the authentication errors earlier):

foprea at florin:~>./plslice addnode --role user --node @my_hosts_filename

Hope this helps,
Florin


bikas gurung wrote:

> Hi,
> He added thorough slice deploy toolkit (i.e. XML-RPC). I am able to 
> add node thorough web interface though.
>
> By the way, i am trying this same toolkit to add a cog to already 
> assigned nodes in the slice. But i'm getting following error. Has 
> anybody encountered it before?
>
> unicorn at eragon:~/pldeploy-1.12/scripts$ ./pldeploy add --cog smpltest 
> --node planetlab1.uta.edu <http://planetlab1.uta.edu>
> /bin/mv: cannot stat `/home/unicorn/.PlanetLabNodes.xml.tmp': No such 
> file or directory
> Couldn't open /home/unicorn/.PlanetLabNodes.xml:
> No such file or directory at 
> /usr/local/planetlab/lib/PlanetLab/XML/AllSites.pm line 185
>
>
>
> On 8/3/06, * Mario 'BitKoenig' Holbe* <Mario.Holbe at tu-ilmenau.de 
> <mailto:Mario.Holbe at tu-ilmenau.de>> wrote:
>
>     On Thu, Aug 03, 2006 at 09:28:46AM -0500, bikas gurung wrote:
>     > When I add node thorough web interface then there is no problem.
>     the problem
>     > is there only when I try to add node through plslice. However,
>     my PI was
>     > able to add node successfully. Do we need to be PI to add node?
>
>     You shouldn't need to be PI...
>
>     2.2.14. SliceNodesAdd
>     ...
>     Allowed Roles:
>         admin, pi, user
>
>     How did your PI add the node, via Web or via XML-RPC?
>
>
>     Mario
>     --
>     To err is human. To really foul things up requires a computer.
>
>
>     -----BEGIN PGP SIGNATURE-----
>     Version: GnuPG v1.4.3 (GNU/Linux)
>
>     iQEVAwUBRNITPBS+e2HeSPbpAQLXIgf/arBpG7U1sISKf9o9CDbcPLVZPKZSPQZP
>     KZHxUDUwqQFh30iXVDWy4A+V0dC2kZuVd1kBxG422E99kXE6DdWp5zWatkF7gpDN
>     ZmHdmWHAbGJ9hgLhGTHsVkHwCwaPF+3OtOEaU1s36O6+/1DtHsTYKGW8z/x+2H3Q
>     l8Nx0ECs8fRBOnHBsWyRFdp4wnrHUrF6B0nrPdEb6iinRu5NbPirCw/ipGcUDkqc
>     UWUHZTRnvpiQjRUI4Esje8gIUGEIHde9141LIPRGD/xbmbAovErWcu4XGZKJrtuN
>     S1+vblOkM9/2A9v82IeJ7tEv1qkDVQ4cke7V7phXR6ZU8CyhDdF7yg==
>     =hRVc
>     -----END PGP SIGNATURE-----
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list: Users at lists.planet-lab.org
>https://lists.planet-lab.org/mailman/listinfo/users
>




More information about the Users mailing list