reboot a node from a slice using the POA geni_restart does not work

52 views
Skip to first unread message
Assigned to lbst...@gmail.com by niky...@gmail.com

Hussamuddin Nasir

unread,
May 30, 2014, 5:00:48 PM5/30/14
to geni-dev-utah@flux.utah.edu Utah, geni-...@googlegroups.com
Hello folks,
I just tried to use the AM APIv3 POA geni_restart to reboot a node.
The operation went though fine using omni 2.5 , but my node never got
rebooted. The log from the racks says that there are no nodes to reboot.
The command i used and its output are shown below.

(LOGURL =
https://www.instageni.clemson.edu/spewlogfile.php3?logfile=355c88032a3a03c2e75dff61819075c7)

> omni.py -c ~/hussamn-portal-omni_speacksfor.cfg poa
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 geni_restart -a
> clemson-ig
> --sliver-urn=urn:publicid:IDN+instageni.clemson.edu+sliver+7418
> --api-version=3 --debug
> 16:54:34 INFO omni: Loading agg_nick_cache file
> '/root/.gcf/agg_nick_cache'
> 16:54:34 INFO omni: Loading config file
> /root/hussamn-portal-omni_speacksfor.cfg
> 16:54:34 INFO omni: Setting option useSliceMembers based on
> omni_config setting
> 16:54:34 INFO omni: Using control framework portal_chapi
> 16:54:34 DEBUG omni: Using framework type chapi
> 16:54:34 INFO omni: Member Authority is https://ch.geni.net/MA
> (from config)
> 16:54:34 INFO omni: Slice Authority is https://ch.geni.net/SA
> (from config)
> 16:54:34 DEBUG omni: User Cert File: /root/hussamn-portal.pem
> 16:54:34 INFO omni: Python: CPython 2.7.6
> OS: Linux-3.13.0-24-generic-i686-with-Ubuntu-14.04-trusty
> Omni: GENI Omni Command Line Aggregate Manager Tool Version 2.5
> Copyright (c) 2014 Raytheon BBN Technologies
> 16:54:34 DEBUG omni: Found slice name
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2
> 16:54:34 INFO omni: Substituting AM nickname clemson-ig with URL
> https://instageni.clemson.edu:12369/protogeni/xmlrpc/am/2.0, URN
> urn:publicid:IDN+instageni.clemson.edu+authority+cm
> 16:54:34 DEBUG omni: Adding aggregate clemson-ig
> (urn:publicid:IDN+instageni.clemson.edu+authority+cm) to query list
> 16:54:34 DEBUG omni: Read GetVersionCache from
> /root/.gcf/get_version_cache.json
> 16:54:34 DEBUG omni: Checking cache for
> https://instageni.clemson.edu:12369/protogeni/xmlrpc/am/2.0
> 16:54:34 DEBUG omni: Pulling GetVersion from cache
> 16:54:34 DEBUG omni: Config version spoken somewhere by all AMs
> 16:54:34 DEBUG omni: From slice URN extracted project 'UKGENI'
> 16:54:34 DEBUG omni: No filename provided for credential
> 16:54:34 DEBUG omni: add_c_n_spkfor start with self.opts.speaksfor
> = 'None'
> 16:54:34 DEBUG omni: add_c_n_spkfor start with self.opts.cred = None
> 16:54:34 DEBUG omni: add_c_n_spkfor new_creds = []; new_options =
> {'match': {'SLICE_EXPIRED': 'f', 'SLICE_URN':
> 'urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2'}}
> 16:54:35 INFO omni: Slice
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 expires on
> 2014-06-03 20:41:39 UTC
> 16:54:35 DEBUG omni: Doing POA with urns
> ['urn:publicid:IDN+instageni.clemson.edu+sliver+7418'], action
> geni_restart, 1 creds, and options {}
> 16:54:35 INFO omni: PerformOperationalAction geni_restart on 1
> slivers in slice urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 at
> clemson-ig
> 16:54:35 WARNING omni: Requested API version 3, but AM
> https://instageni.clemson.edu:12369/protogeni/xmlrpc/am/2.0 uses
> version 2. Same aggregate talks API v3 at a different URL:
> https://boss.instageni.clemson.edu:12369/protogeni/xmlrpc/am/3.0
> 16:54:35 DEBUG omni: Checking cache for
> https://boss.instageni.clemson.edu:12369/protogeni/xmlrpc/am/3.0
> 16:54:35 DEBUG omni: Pulling GetVersion from cache
> 16:54:35 INFO omni: Switching AM URL to match requested version
> 16:54:35 DEBUG omni: Doing SSL/XMLRPC call to
> https://boss.instageni.clemson.edu:12369/protogeni/xmlrpc/am/3.0
> invoking PerformOperationalAction
> 16:54:37 INFO omni: (PG log url - look here for details on any
> failures:
> https://www.instageni.clemson.edu/spewlogfile.php3?logfile=355c88032a3a03c2e75dff61819075c7)
> 16:54:37 DEBUG omni: Result value empty
> 16:54:37 DEBUG omni: Result value not a list or empty
> 16:54:37 DEBUG omni: Result value empty
> 16:54:37 DEBUG omni: Result value not a list or empty
> 16:54:37 INFO omni: PerformOperationalAction result for
> geni_restart on 1 slivers in slice
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 at AM clemson-ig3
> 16:54:37 INFO omni: 0
> 16:54:37 DEBUG omni: POA geni_restart on 1 slivers in slice
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 result: {
> "https://boss.instageni.clemson.edu:12369/protogeni/xmlrpc/am/3.0": {
> "output": "",
> "code": {
> "protogeni_error_log":
> "urn:publicid:IDN+instageni.clemson.edu+log+355c88032a3a03c2e75dff61819075c7",
>
> "am_type": "protogeni",
> "geni_code": 0,
> "am_code": 0,
> "protogeni_error_url":
> "https://www.instageni.clemson.edu/spewlogfile.php3?logfile=355c88032a3a03c2e75dff61819075c7"
> },
> "value": 0
> }
> }
> 16:54:37 INFO omni:
> ------------------------------------------------------
> 16:54:37 INFO omni: Completed poa:
> Args: poa urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 geni_restart
>
> Result Summary: Slice
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 expires on
> 2014-06-03 20:41:39 UTC
> PerformOperationalAction geni_restart on 1 slivers in slice
> urn:publicid:IDN+ch.geni.net:UKGENI+slice+abcdef2 was successful.
>
> 16:54:37 INFO omni:
> ======================================================



--
cheers,

Hussam
(Hussamuddin Nasir)

Netlab Operations Team

-------------------------------------------------------------------
Laboratory for Adv. Networking Phone : (859)218-0059
James F Hardymon Building Fax : (859)323-3740
301 Rose Street, Rm 237 E-mail : na...@netlab.uky.edu
Lexington, KY 40506-0495 Web : http://www.netlab.uky.edu

University of Kentucky
**********************
-------------------------------------------------------------------

Leigh Stoller

unread,
Jun 2, 2014, 10:47:25 AM6/2/14
to geni-...@googlegroups.com, geni-d...@flux.utah.edu, na...@netlab.uky.edu
   I just tried to use the AM APIv3 POA geni_restart to reboot a node.
The operation went though fine using omni 2.5 , but my node never got
rebooted. The log from the racks says that there are no nodes to reboot.
The command i used  and its output are shown below.

 Hi All. This has been fixed as of this morning.

Hussamuddin Nasir

unread,
Jun 2, 2014, 10:58:44 AM6/2/14
to Leigh Stoller, geni-...@googlegroups.com, geni-d...@flux.utah.edu
Yes i can confirm this is fixed.

cheers,

Hussam
(Hussamuddin Nasir)

Netlab Operations Team 

-------------------------------------------------------------------
Laboratory for Adv. Networking  Phone  : (859)218-0059
James F Hardymon Building       Fax    : (859)323-3740
301 Rose Street, Rm 237         E-mail : na...@netlab.uky.edu
Lexington, KY 40506-0495        Web    : http://www.netlab.uky.edu

                        University of Kentucky
                        **********************
------------------------------------------------------------------- 
Reply all
Reply to author
Forward
0 new messages