Support #1299
Failed to upload geometry to configuration database
Status:
Closed
Priority:
Normal
Assignee:
Wilson, Antony
Category:
Geometry
Target version:
Start date:
25 June 2013
Due date:
% Done:
100%
Estimated time:
Workflow:
New Issue
Description
We are trying to upload a geometry to the configuration database. As a starting point we decided to upload to either rgma (old test CDB server) or preprod, as it is clear we don't know what we are doing. I should say we tried several permutations on the URI without success. Email trail below:
Hi Chris, So you know and before I forget, this was my last communication with Antony prior to leaving. Also, I have the latest version of the geometry uploaded to ".maus_release/files/geometry/upload". Executing the "upload_geometry" command that we were running will post the files in that directory to the CDB. Probably an unnecessary point but I thought I should tell you that the files are there and that they are legitimate. Cheers, Ryan Sent from my iPhone Begin forwarded message: From: "antony.wilson@stfc.ac.uk<mailto:antony.wilson@stfc.ac.uk>" <antony.wilson@stfc.ac.uk<mailto:antony.wilson@stfc.ac.uk>> Date: 25 June, 2013 11:34:39 AM GMT+01:00 To: Ryan Bayes <Ryan.Bayes@glasgow.ac.uk<mailto:Ryan.Bayes@glasgow.ac.uk>> Cc: "Matthew.Littlefield@brunel.ac.uk<mailto:Matthew.Littlefield@brunel.ac.uk>" <Matthew.Littlefield@brunel.ac.uk<mailto:Matthew.Littlefield@brunel.ac.uk>> Subject: RE: issue with geometry upload from miceonrec01 you can use http://preprodcdb.mice.rl.ac.uk:8080 NB at some point this will switch to port 80 This is a new machine and I'm not sure if it is visible externally yet, the plan is to open port 80 to the outside world Regards Antony ________________________________ From: Ryan Bayes [Ryan.Bayes@glasgow.ac.uk<mailto:Ryan.Bayes@glasgow.ac.uk>] Sent: 25 June 2013 11:25 To: Wilson, Antony (STFC,RAL,SC) Cc: Matthew.Littlefield@brunel.ac.uk<mailto:Matthew.Littlefield@brunel.ac.uk> Subject: Re: issue with geometry upload from miceonrec01 Thank you. That is helpful. Another question: Mat suggested using the test server "rgma19.pp.rl.ac.uk<http://pp.rl.ac.uk>". Do you know if this server is indeed in operation. Thanks again, Ryan On 2013-06-25, at 10:29 AM, <antony.wilson@stfc.ac.uk<mailto:antony.wilson@stfc.ac.uk><mailto:antony.wilson@stfc.ac.uk>> wrote: cdb.mice.ac.uk<http://cdb.mice.ac.uk><http://cdb.mice.ac.uk><http://cdb.mice.ac.uk> is the default server, not the default upload server, by default you get read only access. Matt has a machine in the control room that he uses for upload. It should be configured to use configdb.micenet.rl.ac.uk Regards Antony > From: Ryan Bayes [Ryan.Bayes@glasgow.ac.uk] > Sent: 25 June 2013 10:19 > To: Wilson, Antony (STFC,RAL,SC) > Cc: Matthew.Littlefield@brunel.ac.uk > Subject: Re: issue with geometry upload from miceonrec01 > > But I am now confused. > > I was trying from the mice control room. I was under the impression that would put me behind the firewall. > > Also, cdb.mice.ac.uk<http://cdb.mice.ac.uk> is the default upload server in the CDB software as distributed. I learned from Mat that there is a way to get around this but the correct server name is required, and I am not sure what that is. > > Respectfully, > Ryan > > > > On 2013-06-24, at 8:21 AM, <antony.wilson@stfc.ac.uk<mailto:antony.wilson@stfc.ac.uk>> <antony.wilson@stfc.ac.uk<mailto:antony.wilson@stfc.ac.uk>> wrote: > > Hi Ryan > > cdb.mice.rl.ac.uk provides read only access to the cdb. The cdb super mouse web service is running on a machine in the control room and has restricted access. If you need to upload a geometry to the production system then Mat should be able to help > > Regards > Antony > > > > -----Original Message----- > From: Ryan Bayes [mailto:Ryan.Bayes@glasgow.ac.uk] > Sent: 23 June 2013 17:55 > To: Wilson, Antony (STFC,RAL,SC); Matthew.Littlefield@brunel.ac.uk<mailto:Matthew.Littlefield@brunel.ac.uk> > Subject: issue with geometry upload from miceonrec01 > > Hello Antony, > > I know that you have moved on to bigger and brighter things, but I hoped you could help me with a problem or direct me to somebody else who could. > > I have been trying to upload a geometry to the MICE configuration data base, and I get the following feed back > > > [miceonrec01] utilities > ./upload_geometry.py --configuration_file=Config.py Traceback (most recent call last): > File "./upload_geometry.py", line 72, in <module> > main() > File "./upload_geometry.py", line 59, in main > (ul_dir, str(configuration.geometry_upload_note)) > File "/home/mice/MAUS/.maus_release/src/common_py/geometry/GDMLtoCDB.py", line 72, in __init__ > self.geometry_cdb = cdb.GeometrySuperMouse() > File "/home/mice/MAUS/.maus_release/third_party/install/lib/python2.7/site-packages/cdb/_geometry_supermouse.py", line 40, in __init__ > "/cdb/geometrySuperMouse?wsdl") > File "/home/mice/MAUS/.maus_release/third_party/install/lib/python2.7/site-packages/cdb/_geometry.py", line 44, in __init__ > super(Geometry, self).__init__(url, wsdl_dir) > File "/home/mice/MAUS/.maus_release/third_party/install/lib/python2.7/site-packages/cdb/_base.py", line 39, in __init__ > _cdb_wsdl) > cdb._exceptions.CdbTemporaryError: Unable to contact CDB server at http://cdb.mice.rl.ac.uk/cdb/geometrySuperMouse?wsdl > > > The contents of the configuration file do not matter for the purpose of this problem since it seems to be in the ability of the program > to contact the server (which is defined in the SuperMouse method of CDB). Is there a different machine or user I should be doing this as? > Is there a different problem I should be aware of? > > Thank you, > Ryan Bayes > -- > Scanned by iCritical. > >