Usual WMAgent deploy :

Only detail you should pay attention here is that you should only use IP addresses in the secrets file.

T0 CheckOut

We need to put T0 code into the python path, so what we usually do is checking out T0 with (anywhere):

 cvs co COMP/T0/src/python/T0

now make sure that your checkout is in :



[samir@vocms142] wmagent $ cp -Rf COMP/T0/src/python/T0/ current/apps/wmcore/lib/python2.6/site-packages/

Potential Pitfalls

Remove all the Twitter references

From the file :


Otherwise you will see the error :

started with pid 4262
Starting : PromptSkimScheduler
Traceback (most recent call last):
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/bin/wmcoreD", line 347, in <module>
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/bin/wmcoreD", line 220, in startup
    componentObject = factory.loadObject(classname = namespace, args = config)
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/WMCore/", line 67, in loadObject
    module = __import__(module, globals(), locals(), [classname])
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/WMComponent/PromptSkimScheduler/", line 12, in <module>
    from WMComponent.PromptSkimScheduler.PromptSkimPoller import PromptSkimPoller
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/WMComponent/PromptSkimScheduler/", line 25, in <module>
    from T0.RunConfigCache.Cache import Cache
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/T0/RunConfigCache/", line 27, in <module>
    from T0.State.Database.Writer import InsertRunConfig
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/T0/State/Database/Writer/", line 16, in <module>
    from T0 import Globals
  File "/data/srv/wmagent/v0.8.18/sw/slc5_amd64_gcc461/cms/wmcore/0.8.18/lib/python2.6/site-packages/T0/", line 14, in <module>
    from WMCore.Services.Twitter import twitter
ImportError: No module named Twitter

-- SamirCury - 07-Dec-2011
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-12-07 - SamirCury
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback