Bug #375
EC: accept brackets in toplogy parameter of "load"
| Status: | Closed | Start date: | 01/09/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Christoph Dwertmann | % Done: | 100% |
|
| Category: | OMF Software | |||
| Target version: | OMF 5.3 |
Description
[thierry@norbit link-monitor]$ omf-5.3 load -i zzaidi_etx_hello5_omf5_3.ndz -t [omf.nicta.node28,omf.nicta.node29]
DEBUG: Executing '/usr/bin/ruby -I/usr/share/omf-expctl-5.3/ -I/usr/share/omf-common-5.3 /usr/share/omf-expctl-5.3/omf-expctl.rb -r -S pxe_slice -s system:exp:imageNode -- --nodes a --image zzaidi_etx_hello5_omf5_3.ndz --timeout 800'
INFO NodeHandler: OMF Experiment Controller 5.3.629
INFO NodeHandler: Slice ID: pxe_slice
INFO NodeHandler: Experiment ID: pxe_slice-2010-09-01t10.40.31+10.00
INFO NodeHandler: Message authentication is disabled
INFO NodeHandler: Web interface available at: http://10.0.0.200:4000
INFO Experiment: load system:exp:stdlib
INFO property.resetDelay: value = 210 (Fixnum)
INFO property.resetTries: value = 1 (Fixnum)
INFO Experiment: load system:exp:eventlib
INFO Experiment: load system:exp:imageNode
INFO property.nodes: value = "a" (String)
INFO property.image: value = "zzaidi_etx_hello5_omf5_3.ndz" (String)
INFO property.domain: value = nil (NilClass)
INFO property.outpath: value = "/tmp" (String)
INFO property.timeout: value = 800 (Fixnum)
INFO Topology: Loading topology 'a'.
FATAL run: ----------
FATAL run: A fatal error was encountered while processing your experiment description.
FATAL run: Exception: OEDLException
FATAL run: Exception: (LoadError) no such file to load -- oml4r
FATAL run: In file: /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
FATAL run: ----------
INFO NodeHandler:
INFO NodeHandler: Shutting down experiment, please wait...
INFO NodeHandler:
INFO NodeHandler: Shutdown flag is set - Turning Off the resources
/usr/share/omf-expctl-5.3/omf-expctl/node/rootGroupNodeSet.rb:55:in `eachGroup': No resources or groups of resources defined in your experiment! (RuntimeError)
from /usr/share/omf-expctl-5.3/omf-expctl/node/rootGroupNodeSet.rb:130:in `initialize'
from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
from /usr/share/omf-expctl-5.3/omf-expctl/handlerCommands.rb:249:in `allGroups'
from /usr/share/omf-expctl-5.3/omf-expctl/nodeHandler.rb:815:in `shutdown'
[thierry@norbit libtrace]$ omf-5.3 load -t [omf.nicta.node30] DEBUG: Executing '/usr/bin/ruby -I/usr/share/omf-expctl-5.3/ -I/usr/share/omf-common-5.3 /usr/share/omf-expctl-5.3/omf-expctl.rb -r -S pxe_slice -s system:exp:imageNode -- --nodes [omf.nicta.node30] --image baseline.ndz --timeout 800' INFO NodeHandler: OMF Experiment Controller 5.3.629 INFO NodeHandler: Slice ID: pxe_slice INFO NodeHandler: Experiment ID: pxe_slice-2010-09-01t14.15.13+10.00 INFO NodeHandler: Message authentication is disabled INFO NodeHandler: Web interface available at: http://10.0.0.200:4000 INFO Experiment: load system:exp:stdlib INFO property.resetDelay: value = 210 (Fixnum) INFO property.resetTries: value = 1 (Fixnum) INFO Experiment: load system:exp:eventlib INFO Experiment: load system:exp:imageNode INFO property.nodes: value = "[omf.nicta.node30]" (String) INFO property.image: value = "baseline.ndz" (String) INFO property.domain: value = nil (NilClass) INFO property.outpath: value = "/tmp" (String) INFO property.timeout: value = 800 (Fixnum) INFO Topology: Loading topology 'omf.nicta.node30'. FATAL service_call: ------------ FATAL service_call: A fatal error was encountered while making a request to an AM Service. FATAL service_call: Request: 'http://norbit.npc.nicta.com.au:5053/pxe/setBootImageNS?domain=norbit&ns=[omf.nicta.node30]' FATAL service_call: Exception: 'ServiceException' FATAL service_call: ------------ FATAL run: ---------- FATAL run: A fatal error was encountered while processing your experiment description. FATAL run: Exception: OEDLException FATAL run: Exception: (ServiceException) ServiceException FATAL run: In file: /usr/share/omf-expctl-5.3/omf-expctl/nodeHandler.rb:273:in `service_call'
Also fix the "all" alias:
root@omf-server:/var/lib/omf-images-5.3# omf load -t all
INFO NodeHandler: OMF Experiment Controller 5.3.629
INFO NodeHandler: Slice ID: pxe_slice
INFO NodeHandler: Experiment ID: pxe_slice-2010-08-31t18.46.00-07.00
INFO NodeHandler: Message authentication is disabled
INFO NodeHandler: Web interface available at: http://10.0.0.200:4000
INFO Experiment: load system:exp:stdlib
INFO property.resetDelay: value = 210 (Fixnum)
INFO property.resetTries: value = 1 (Fixnum)
INFO Experiment: load system:exp:eventlib
INFO Experiment: load system:exp:imageNode
INFO property.nodes: value = "all" (String)
INFO property.image: value = "baseline.ndz" (String)
INFO property.domain: value = nil (NilClass)
INFO property.outpath: value = "/tmp" (String)
INFO property.timeout: value = 800 (Fixnum)
FATAL run: ----------
FATAL run: A fatal error was encountered while processing your experiment
description.
FATAL run: Exception: OEDLException
FATAL run: Exception: (NoMethodError) undefined method `[]' in
'system:exp:imageNode'
FATAL run: In file: system:exp:imageNode:47:in `_binding'
FATAL run: ----------
INFO NodeHandler:
INFO NodeHandler: Shutting down experiment, please wait...
INFO NodeHandler:
INFO NodeHandler: Shutdown flag is set - Turning Off the resources
/usr/share/omf-expctl-5.3/omf-expctl/node/rootGroupNodeSet.rb:55:in
`eachGroup': No resources or groups of resources defined in your experiment!
(RuntimeError)
from
/usr/share/omf-expctl-5.3/omf-expctl/node/rootGroupNodeSet.rb:130:in
`initialize'
from /usr/lib/ruby/1.8/singleton.rb:94:in `new'
from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'
from /usr/share/omf-expctl-5.3/omf-expctl/handle
History
Updated by Christoph Dwertmann over 1 year ago
- Status changed from New to Resolved
- Target version set to OMF 5.3
- % Done changed from 0 to 50
The first 2 problems were solved. The third problem was related to a missing PXE url in the EC's yaml file.
Updated by Christoph Dwertmann over 1 year ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100