Skip to content

Instantly share code, notes, and snippets.

@RohanBali31
Created October 2, 2022 23:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RohanBali31/e16a6c938cdd64ec3805a7b516a29d85 to your computer and use it in GitHub Desktop.
Save RohanBali31/e16a6c938cdd64ec3805a7b516a29d85 to your computer and use it in GitHub Desktop.
COSMOS sb1 baseline_uhd_omf54.ndz working demo
## Load image
rbali@console:~$
rbali@console:~$ omf load -i baseline_uhd_omf54.ndz -t sdr2-md1.sb1.cosmos-lab.org
/usr/share/omf-expctl-5.4/gems/gems/oml4r-2.9.5/lib/oml4r.rb:29: warning: already initialized constant OML4R::DEF_SERVER_PORT
/var/lib/gems/2.3.0/gems/oml4r-2.10.6/lib/oml4r.rb:33: warning: previous definition of DEF_SERVER_PORT was here
/usr/share/omf-expctl-5.4/gems/gems/oml4r-2.9.5/lib/oml4r.rb:30: warning: already initialized constant OML4R::DEF_PROTOCOL
/var/lib/gems/2.3.0/gems/oml4r-2.10.6/lib/oml4r.rb:34: warning: previous definition of DEF_PROTOCOL was here
INFO NodeHandler: OMF Experiment Controller 5.4 (git 861d645)
INFO NodeHandler: Slice ID: pxe_slice
INFO NodeHandler: Experiment ID: pxe_slice-2022-10-02t22.41.02.169+00.00
INFO NodeHandler: Message authentication is disabled
INFO property.resetDelay: resetDelay = 300 (Fixnum)
INFO property.resetTries: resetTries = 1 (Fixnum)
INFO property.nodes: nodes = "sdr2-md1.sb1.cosmos-lab.org" (String)
INFO property.image: image = "baseline_uhd_omf54.ndz" (String)
INFO Experiment: Resetting resources
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [0 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [10 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [20 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [30 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [40 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [50 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [60 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [70 sec.]
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-md1.sb1.cosmos-lab.org) [80 sec.]
INFO BRING_UP: Event triggered. Starting the associated tasks.
INFO Experiment: Bringing up resources
INFO ALL_UP: Event triggered. Starting the associated tasks.
INFO exp: Progress(0/0/1): 0/0/0 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 790 sec.
INFO exp: Progress(0/0/1): 0/0/0 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 780 sec.
INFO exp: Progress(0/0/1): 10/10/10 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 770 sec.
INFO exp: Progress(0/0/1): 20/20/20 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 760 sec.
INFO exp: Progress(0/0/1): 20/20/20 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 750 sec.
INFO exp: Progress(0/0/1): 30/30/30 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 740 sec.
INFO exp: Progress(0/0/1): 40/40/40 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 730 sec.
INFO exp: Progress(0/0/1): 40/40/40 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 720 sec.
INFO exp: Progress(0/0/1): 50/50/50 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 710 sec.
INFO exp: Progress(0/0/1): 60/60/60 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 700 sec.
INFO exp: Progress(0/0/1): 70/70/70 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 690 sec.
INFO exp: Progress(0/0/1): 70/70/70 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 680 sec.
INFO exp: Progress(0/0/1): 80/80/80 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 670 sec.
INFO exp: Progress(0/0/1): 90/90/90 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 660 sec.
INFO exp: Progress(0/0/1): 90/90/90 min(sdr2-md1.sb1.cosmos-lab.org)/avg/max (75) - Timeout: 650 sec.
INFO exp: Progress(1/0/1): 100/100/100 min()/avg/max (75) - Timeout: 640 sec.
INFO exp: -----------------------------
INFO exp: Imaging Process Done
INFO exp: 1 node successfully imaged - Topology saved in '/tmp/pxe_slice-2022-10-02t23.31.05.316+00.00-topo-success.rb'
INFO exp: -----------------------------
INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
INFO NodeHandler:
INFO NodeHandler: Shutting down experiment, please wait...
INFO NodeHandler:
INFO NodeHandler: Shutdown flag is set - Turning Off the resources
INFO run: Experiment pxe_slice-2022-10-02t23.31.05.316+00.00 finished after 4:15
rbali@console:~$
# Turn the node on
rbali@console:~$ omf tell -a on -t sdr2-md1
/usr/share/omf-expctl-5.4/gems/gems/oml4r-2.9.5/lib/oml4r.rb:29: warning: already initialized constant OML4R::DEF_SERVER_PORT
/var/lib/gems/2.3.0/gems/oml4r-2.10.6/lib/oml4r.rb:33: warning: previous definition of DEF_SERVER_PORT was here
/usr/share/omf-expctl-5.4/gems/gems/oml4r-2.9.5/lib/oml4r.rb:30: warning: already initialized constant OML4R::DEF_PROTOCOL
/var/lib/gems/2.3.0/gems/oml4r-2.10.6/lib/oml4r.rb:34: warning: previous definition of DEF_PROTOCOL was here
INFO NodeHandler: OMF Experiment Controller 5.4 (git 861d645)
INFO NodeHandler: Slice ID: default_slice (default)
INFO NodeHandler: Experiment ID: default_slice-2022-10-02t23.36.24.825+00.00
INFO NodeHandler: Message authentication is disabled
INFO property.resetDelay: resetDelay = 300 (Fixnum)
INFO property.resetTries: resetTries = 1 (Fixnum)
INFO property.nodes: nodes = "sdr2-md1" (String)
INFO property.command: command = "on" (String)
Talking to the CMC service, please wait
-----------------------------------------------
Node: sdr2-md1.sb1.cosmos-lab.org Reply: OK
-----------------------------------------------
INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
INFO NodeHandler:
INFO NodeHandler: Shutting down experiment, please wait...
INFO NodeHandler:
INFO run: Experiment default_slice-2022-10-02t23.36.24.825+00.00 finished after 0:5
# Test if uhc works
root@sdr2-md1:~# uhd_find_devices
[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.14.1.0-0-unknown
--------------------------------------------------
-- UHD Device 0
--------------------------------------------------
Device Address:
serial: 316E0DF
claimed: False
mgmt_addr: 10.37.10.1
product: e310_sg3
reachable: No
type: e3xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment