Changes between Version 15 and Version 16 of GENIRacksHome/ExogeniRacks/ConfirmationTestStatus/UNF


Ignore:
Timestamp:
05/01/17 10:45:14 (2 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIRacksHome/ExogeniRacks/ConfirmationTestStatus/UNF

    v15 v16  
    655655show vlan
    656656}}}
     657Verify FOAM and !FlowVisor configuration files ownership and paths:
     658{{{
     659[lnevers@unf-hn ~]$ ls -l /etc/foam.passwd  /etc/flowvisor.passwd /etc/flowvisor/fvpasswd /opt/foam/etc/foampasswd
     660lrwxrwxrwx 1 root      flowvisor 21 Dec 17  2015 /etc/flowvisor/fvpasswd -> /etc/flowvisor.passwd
     661-r--r----- 1 flowvisor unfadmins 25 Dec 11  2015 /etc/flowvisor.passwd
     662-r--r----- 1 root      unfadmins 25 Dec 11  2015 /etc/foam.passwd
     663lrwxrwxrwx 1 root      root      16 Dec 17  2015 /opt/foam/etc/foampasswd -> /etc/foam.passwd
     664[lnevers@unf-hn ~]$
     665}}}
     666
     667Check FOAM version and FOAM configuration for site.admin.email, geni.site-tag, email.from settings on the UNF head node:
     668{{{
     669[lnevers@unf-hn ~]$ sudo foamctl admin:get-version  --passwd-file=/etc/foam.passwd
     670Traceback (most recent call last):
     671  File "/usr/bin/foamctl", line 861, in <module>
     672    do_func(opts)
     673  File "/usr/bin/foamctl", line 276, in do_getVersion
     674    data = connect(url, opts.C_user, passwd)
     675  File "/usr/bin/foamctl", line 746, in connect
     676    ph = opener.open(req)
     677  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     678    response = self._open(req, data)
     679  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     680    '_open', req)
     681  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     682    result = func(*args)
     683  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     684    return self.do_open(httplib.HTTPSConnection, req)
     685  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     686    raise URLError(err)
     687urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     688[lnevers@unf-hn ~]$ sudo foamctl config:get-value --key="site.admin.email"  --passwd-file=/opt/foam/etc/foampasswd
     689Traceback (most recent call last):
     690  File "/usr/bin/foamctl", line 861, in <module>
     691    do_func(opts)
     692  File "/usr/bin/foamctl", line 140, in do_getConfig
     693    data = connect(url, opts.C_user, passwd, obj)
     694  File "/usr/bin/foamctl", line 742, in connect
     695    ph = opener.open(req)
     696  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     697    response = self._open(req, data)
     698  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     699    '_open', req)
     700  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     701    result = func(*args)
     702  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     703    return self.do_open(httplib.HTTPSConnection, req)
     704  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     705    raise URLError(err)
     706urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     707[lnevers@unf-hn ~]$ sudo foamctl config:get-value --key="geni.site-tag"  --passwd-file=/opt/foam/etc/foampasswd
     708Traceback (most recent call last):
     709  File "/usr/bin/foamctl", line 861, in <module>
     710    do_func(opts)
     711  File "/usr/bin/foamctl", line 140, in do_getConfig
     712    data = connect(url, opts.C_user, passwd, obj)
     713  File "/usr/bin/foamctl", line 742, in connect
     714    ph = opener.open(req)
     715  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     716    response = self._open(req, data)
     717  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     718    '_open', req)
     719  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     720    result = func(*args)
     721  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     722    return self.do_open(httplib.HTTPSConnection, req)
     723  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     724    raise URLError(err)
     725urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     726[lnevers@unf-hn ~]$ sudo foamctl config:get-value --key="email.from"  --passwd-file=/opt/foam/etc/foampasswd
     727Traceback (most recent call last):
     728  File "/usr/bin/foamctl", line 861, in <module>
     729    do_func(opts)
     730  File "/usr/bin/foamctl", line 140, in do_getConfig
     731    data = connect(url, opts.C_user, passwd, obj)
     732  File "/usr/bin/foamctl", line 742, in connect
     733    ph = opener.open(req)
     734  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     735    response = self._open(req, data)
     736  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     737    '_open', req)
     738  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     739    result = func(*args)
     740  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     741    return self.do_open(httplib.HTTPSConnection, req)
     742  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     743    raise URLError(err)
     744urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     745[lnevers@unf-hn ~]$ sudo foamctl config:get-value --key="geni.approval.approve-on-creation"  --passwd-file=/opt/foam/etc/foampasswd
     746Traceback (most recent call last):
     747  File "/usr/bin/foamctl", line 861, in <module>
     748    do_func(opts)
     749  File "/usr/bin/foamctl", line 140, in do_getConfig
     750    data = connect(url, opts.C_user, passwd, obj)
     751  File "/usr/bin/foamctl", line 742, in connect
     752    ph = opener.open(req)
     753  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     754    response = self._open(req, data)
     755  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     756    '_open', req)
     757  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     758    result = func(*args)
     759  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     760    return self.do_open(httplib.HTTPSConnection, req)
     761  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     762    raise URLError(err)
     763urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     764[lnevers@unf-hn ~]$
     765}}}
     766
     767Show FOAM slivers details:
     768{{{
     769[lnevers@unf-hn ~]$ sudo foamctl geni:list-slivers --passwd-file=/opt/foam/etc/foampasswd
     770Traceback (most recent call last):
     771  File "/usr/bin/foamctl", line 861, in <module>
     772    do_func(opts)
     773  File "/usr/bin/foamctl", line 68, in do_listSlivers
     774    data = connect(url, opts.C_user, passwd, obj)
     775  File "/usr/bin/foamctl", line 742, in connect
     776    ph = opener.open(req)
     777  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
     778    response = self._open(req, data)
     779  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
     780    '_open', req)
     781  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
     782    result = func(*args)
     783  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
     784    return self.do_open(httplib.HTTPSConnection, req)
     785  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
     786    raise URLError(err)
     787urllib2.URLError: <urlopen error [Errno 111] Connection refused>
     788[lnevers@unf-hn ~]$
     789}}}
     790
     791Check the !FlowVisor version, list of devices, get details for a device, list of active slices, and details for one of the slices on the UNF Head node:
     792{{{
     793[lnevers@unf-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd ping hello
     794
     795Got reply:
     796PONG(fvadmin): FV version=flowvisor-0.8.1::hello
     797[lnevers@unf-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listDevices
     798[lnevers@unf-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getDeviceInfo
     799command 'getDeviceInfo' takes 1 args: only 0 given
     800getDeviceInfo <dpid>
     801[lnevers@unf-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd listSlices
     802Slice 0: bob
     803Slice 1: fvadmin
     804Slice 2: alice
     805[lnevers@unf-hn ~]$ sudo /opt/flowvisor/bin/fvctl --passwd-file=/etc/flowvisor/fvpasswd getSliceInfo fvadmin
     806Got reply:
     807contact_email=fvadmin@localhost
     808controller_hostname=localhost
     809controller_port=27683
     810creator=fvadmin
     811[lnevers@unf-hn ~]$
     812}}}
     813
     814----
     815{{{
     816#!html
     817Email <a href="mailto:help@geni.net"> help@geni.net </a> for GENI support or email <a href="mailto:luisa.nevers@bbn.com">me</a> with feedback on this page!
     818}}}