From shpatric at vt.edu Wed Dec 5 11:58:14 2012 From: shpatric at vt.edu (Patrick Shinpaugh) Date: Wed, 05 Dec 2012 13:58:14 -0500 Subject: [gold-users] MOAB and Gold Message-ID: <1354733894.4646.2516.camel@pbslinux.pbsdomain.net> Hi, Does anyone know if Moab-7.x is compatible with Gold? Are there fairly simple patches available to get Gold to work with Moab? Or is MAM the only choice? We are currently using MAM-7.1.1 but find we need to limit accounts to specific machines which seems not to be supported. On a test cluster we have Moab-7.1.1 and torque-4.1.3, and MAM-7.1.1 which works as expected. I installed gold-2.2.0.4 on the test cluster, created new database and populated with bank.sql, updated the goldd.conf with correct info, started goldd, created users, machines, accounts, projects, etc. Everything works on the gold side. When I attempt to start a job it fails with InvalidAccount. I checked the goldd.log and found: 2012-12-05 13:03:56.921 ERROR main::__ANON__ Gold server error (740): UsageRecord is not a valid object. In Moab, UsageRecord encloses the message sent to gold/MAM but is not recognized by Gold, by default. Full goldd message for the failed job: 2012-12-05 13:03:56.873 INFO main:: New Connection Received 2012-12-05 13:03:56.879 TRACE Gold::Message::new invoked with arguments: (connection => IO::Socket::INET=GLOB(0x3d 9dc68)) 2012-12-05 13:03:56.879 TRACE Gold::Message::receiveChunk invoked with arguments: () 2012-12-05 13:03:56.880 DEBUG Gold::Message::receiveChunk Read message header (POST /SSSRMAP3 HTTP/1.1 Content-Type: text/xml; charset="utf-8" Transfer-Encoding: chunked; ). 2012-12-05 13:03:56.881 INFO Gold::Message::receiveChunk Read message payload (638, xxxxxxxxx< SignatureValue>xxxxxxxxxxxxxxxxxx< Request action="Reserve" actor="root">UsageRecord85shpatrichbtestprojtorque143200normal_qDEFAULT< /Data>). 2012-12-05 13:03:56.882 TRACE Gold::Message::unmarshallChunk invoked with arguments: (xxxxxxxxxx xxxxxxxxxxxxxxxx UsageRecord85shpatrichbtestprojtorque

143200normal_qDEFAULT ) 2012-12-05 13:03:56.884 TRACE Gold::Chunk::authenticate invoked with arguments: (XML::LibXML::Document=SCALAR(0x3c 9e5b8)) 2012-12-05 13:03:56.885 DEBUG Gold::Chunk::authenticate The security token type is (Symmetric). 2012-12-05 13:03:56.886 DEBUG Gold::Chunk::authenticate The canonicalized body text is (UsageRecord85shpatrichbtestprojtorque 143200normal_qDEFAULT). 2012-12-05 13:03:56.887 DEBUG Gold::Chunk::authenticate The base64-encoded message digest is (5mT0C6ZurGn5fnx+JeiF hFGiJgs=). 2012-12-05 13:03:56.887 DEBUG Gold::Chunk::authenticate The base64-encoded MAC is (JjeOsx80wOJo5TMzhz14qXklA5U=). 2012-12-05 13:03:56.888 TRACE Gold::Request::new invoked with arguments: () 2012-12-05 13:03:56.890 DEBUG Gold::Message::unmarshallChunk Extracted the request ((Reserve, root, [(UsageRecord, , )], [], [], [], [(Replace, True, )], [85shpatrichbtestpr ojtorque143200normal_qDEFAULT], 0, 0, 100000, )). 2012-12-05 13:03:56.891 DEBUG Gold::Message::receiveChunk Read message tail (). 2012-12-05 13:03:56.892 TRACE Gold::Proxy::new invoked with arguments: (request => Gold::Request=HASH(0x3dbbae0)) 2012-12-05 13:03:56.892 TRACE Gold::Database::new invoked with arguments: () 2012-12-05 13:03:56.899 TRACE Gold::Database::nextId invoked with arguments: (Request) 2012-12-05 13:03:56.904 TRACE Gold::Database::nextId generated new id 3177 for Request 2012-12-05 13:03:56.911 TRACE Gold::Proxy::prepare invoked with arguments: (Gold::Request=HASH(0x3dbbae0)) 2012-12-05 13:03:56.912 TRACE Gold::Cache::objectExists invoked with arguments: (UsageRecord) 2012-12-05 13:03:56.918 ERROR Gold::Exception::new UsageRecord is not a valid object at /opt/mam/gold-2.2.0.4/lib/ Gold/Proxy.pm line 331 2012-12-05 13:03:56.921 ERROR main::__ANON__ Gold server error (740): UsageRecord is not a valid object. 2012-12-05 13:03:56.923 TRACE Gold::Response::new invoked with arguments: () 2012-12-05 13:03:56.924 TRACE Gold::Response::failure invoked with arguments: (740, UsageRecord is not a valid obj ect) 2012-12-05 13:03:56.925 TRACE Gold::Reply::new invoked with arguments: (connection => IO::Socket::INET=GLOB(0x3d9d c68)) 2012-12-05 13:03:56.925 TRACE Gold::Reply::sendChunk invoked with arguments: (Gold::Chunk=HASH(0x3dfe328)) 2012-12-05 13:03:56.926 TRACE Gold::Reply::marshallChunk invoked with arguments: (Gold::Chunk=HASH(0x3dfe328)) 2012-12-05 13:03:56.927 DEBUG Gold::Reply::sendChunk Writing reply header (HTTP/1.1 200 OK Content-Type: text/xml; charset="utf-8" Transfer-Encoding: chunked ). 2012-12-05 13:03:56.927 INFO Gold::Reply::sendChunk Writing reply payload (215, Failure740UsageRecord is not a valid object ). From scottmo at adaptivecomputing.com Wed Dec 5 12:47:35 2012 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Wed, 5 Dec 2012 12:47:35 -0700 Subject: [gold-users] MOAB and Gold In-Reply-To: <1354733894.4646.2516.camel@pbslinux.pbsdomain.net> References: <1354733894.4646.2516.camel@pbslinux.pbsdomain.net> Message-ID: It is not. There were significant schema changes in MAM. Moab 7 was brought forward to integrate with the new schema and at present Moab does not have code to interact with the Gold schema. On Wed, Dec 5, 2012 at 11:58 AM, Patrick Shinpaugh wrote: > Hi, > Does anyone know if Moab-7.x is compatible with Gold? Are there fairly > simple patches available to get Gold to work with Moab? Or is MAM the > only choice? > > We are currently using MAM-7.1.1 but find we need to limit accounts to > specific machines which seems not to be supported. On a test cluster we > have Moab-7.1.1 and torque-4.1.3, and MAM-7.1.1 which works as expected. > I installed gold-2.2.0.4 on the test cluster, created new database and > populated with bank.sql, updated the goldd.conf with correct info, > started goldd, created users, machines, accounts, projects, etc. > Everything works on the gold side. > > When I attempt to start a job it fails with InvalidAccount. I checked > the goldd.log and found: > > 2012-12-05 13:03:56.921 ERROR main::__ANON__ Gold server error (740): > UsageRecord is not a valid object. > > In Moab, UsageRecord encloses the message sent to gold/MAM but is not > recognized by Gold, by default. > > Full goldd message for the failed job: > > 2012-12-05 13:03:56.873 INFO main:: New Connection Received > 2012-12-05 13:03:56.879 TRACE Gold::Message::new invoked with > arguments: (connection => IO::Socket::INET=GLOB(0x3d > 9dc68)) > 2012-12-05 13:03:56.879 TRACE Gold::Message::receiveChunk invoked with > arguments: () > 2012-12-05 13:03:56.880 DEBUG Gold::Message::receiveChunk Read message > header (POST /SSSRMAP3 HTTP/1.1 > Content-Type: text/xml; charset="utf-8" > Transfer-Encoding: chunked; > > ). > 2012-12-05 13:03:56.881 INFO Gold::Message::receiveChunk Read message > payload (638, version="7.1.0">xxxxxxxxx< > SignatureValue>xxxxxxxxxxxxxxxxxx actor="root" timestamp="1354730636">< > Request action="Reserve" actor="root">UsageRecord > ecord>85shpatrichbtestprojtorque > ocessors>143200normal_qDEFAULT< > /Data>). > 2012-12-05 13:03:56.882 TRACE Gold::Message::unmarshallChunk invoked > with arguments: ( version="7.1.0">xxxxxxxxxx > xxxxxxxxxxxxxxxx actor="root" timestamp="1354730636"> > UsageRecord > Record>85shpatrichbtestprojtorque

> rocessors>143200normal_qDEFAULT > ) > 2012-12-05 13:03:56.884 TRACE Gold::Chunk::authenticate invoked with > arguments: (XML::LibXML::Document=SCALAR(0x3c > 9e5b8)) > 2012-12-05 13:03:56.885 DEBUG Gold::Chunk::authenticate The security > token type is (Symmetric). > 2012-12-05 13:03:56.886 DEBUG Gold::Chunk::authenticate The > canonicalized body text is ( mp="1354730636">UsageRecord > ect>85shpatrichbtestprojtorque > > 143200normal_qDEFAULT e>). > 2012-12-05 13:03:56.887 DEBUG Gold::Chunk::authenticate The > base64-encoded message digest is (5mT0C6ZurGn5fnx+JeiF > hFGiJgs=). > 2012-12-05 13:03:56.887 DEBUG Gold::Chunk::authenticate The > base64-encoded MAC is (JjeOsx80wOJo5TMzhz14qXklA5U=). > 2012-12-05 13:03:56.888 TRACE Gold::Request::new invoked with > arguments: () > 2012-12-05 13:03:56.890 DEBUG Gold::Message::unmarshallChunk Extracted > the request ((Reserve, root, [(UsageRecord, > , )], [], [], [], [(Replace, True, )], > [85shpatrichbtestpr > > ojtorque143200normal_q lass>DEFAULT], 0, 0, 100000, )). > 2012-12-05 13:03:56.891 DEBUG Gold::Message::receiveChunk Read message > tail (). > 2012-12-05 13:03:56.892 TRACE Gold::Proxy::new invoked with arguments: > (request => Gold::Request=HASH(0x3dbbae0)) > 2012-12-05 13:03:56.892 TRACE Gold::Database::new invoked with > arguments: () > 2012-12-05 13:03:56.899 TRACE Gold::Database::nextId invoked with > arguments: (Request) > 2012-12-05 13:03:56.904 TRACE Gold::Database::nextId generated new id > 3177 for Request > 2012-12-05 13:03:56.911 TRACE Gold::Proxy::prepare invoked with > arguments: (Gold::Request=HASH(0x3dbbae0)) > 2012-12-05 13:03:56.912 TRACE Gold::Cache::objectExists invoked with > arguments: (UsageRecord) > 2012-12-05 13:03:56.918 ERROR Gold::Exception::new UsageRecord is not a > valid object at /opt/mam/gold-2.2.0.4/lib/ > Gold/Proxy.pm line 331 > 2012-12-05 13:03:56.921 ERROR main::__ANON__ Gold server error (740): > UsageRecord is not a valid object. > 2012-12-05 13:03:56.923 TRACE Gold::Response::new invoked with > arguments: () > 2012-12-05 13:03:56.924 TRACE Gold::Response::failure invoked with > arguments: (740, UsageRecord is not a valid obj > ect) > 2012-12-05 13:03:56.925 TRACE Gold::Reply::new invoked with arguments: > (connection => IO::Socket::INET=GLOB(0x3d9d > c68)) > 2012-12-05 13:03:56.925 TRACE Gold::Reply::sendChunk invoked with > arguments: (Gold::Chunk=HASH(0x3dfe328)) > 2012-12-05 13:03:56.926 TRACE Gold::Reply::marshallChunk invoked with > arguments: (Gold::Chunk=HASH(0x3dfe328)) > 2012-12-05 13:03:56.927 DEBUG Gold::Reply::sendChunk Writing reply > header (HTTP/1.1 200 OK > Content-Type: text/xml; charset="utf-8" > Transfer-Encoding: chunked > ). > 2012-12-05 13:03:56.927 INFO Gold::Reply::sendChunk Writing reply > payload (215, > actor="gold">Failure740UsageRecord > is not a valid object > ). > > > _______________________________________________ > gold-users mailing list > gold-users at supercluster.org > http://www.supercluster.org/mailman/listinfo/gold-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20121205/3c8aba1e/attachment-0001.html From liuguiping_monitor at 163.com Wed Dec 26 01:25:42 2012 From: liuguiping_monitor at 163.com (GPL) Date: Wed, 26 Dec 2012 16:25:42 +0800 (CST) Subject: [gold-users] gold problem Message-ID: <2b0b9ea4.1d717.13bd6512dbe.Coremail.liuguiping_monitor@163.com> Hi, My Cluster has installed the LSF 8.3 ,i want to integrated with gold ,the user gold is gold administrator,and run command [test at mgmt ~]$ glsuser Name Active CommonName PhoneNumber EmailAddress DefaultProject Description ----- ------ ---------- ------------ -------------- -------------- ---------------- chess True chess 010-88015015 lgp at seis.ac.cn gold True Gold Admin root True Gold Admin test True test 010-88015015 lgp at seis.ac.cn test for cluster when i try to run command [test at mgmt 1nodetest]$ gquote test is not authorized to perform this function (Job Quote) Can you help me? -- ??? Email?liuguiping_monitor at 163.com ?????010-88015015 ??????????????? ??????? ???????????63?166?? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20121226/15ce045b/attachment.html From scottmo at adaptivecomputing.com Thu Dec 27 15:07:27 2012 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Thu, 27 Dec 2012 15:07:27 -0700 Subject: [gold-users] gold problem In-Reply-To: <2b0b9ea4.1d717.13bd6512dbe.Coremail.liuguiping_monitor@163.com> References: <2b0b9ea4.1d717.13bd6512dbe.Coremail.liuguiping_monitor@163.com> Message-ID: Functions like charge, reserve and quote fall under the scheduler role. This means that your scheduler (LSF) will normally invoke charges and quotes on behalf of other users under a specific user id (like root). You will need to add this user to the scheduler role. goldsh RoleUser Create Role=Scheduler Name=root On Wed, Dec 26, 2012 at 1:25 AM, GPL wrote: > Hi, > > My Cluster has installed the LSF 8.3 ,i want to integrated with gold ,the > user gold is gold administrator,and run command > [test at mgmt ~]$ glsuser > Name Active CommonName PhoneNumber EmailAddress DefaultProject > Description > ----- ------ ---------- ------------ -------------- -------------- > ---------------- > chess True chess 010-88015015 lgp at seis.ac.cn > > gold True Gold > Admin > root True Gold > Admin > test True test 010-88015015 lgp at seis.ac.cn test > for cluster > > when i try to run command > > [test at mgmt 1nodetest]$ gquote > test is not authorized to perform this function (Job Quote) > > > Can you help me? > > > > > > -- > ??? > Email?liuguiping_monitor at 163.com > ?????010-88015015 > ??????????????? ??????? > ???????????63?166?? > > > > > _______________________________________________ > gold-users mailing list > gold-users at supercluster.org > http://www.supercluster.org/mailman/listinfo/gold-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20121227/affce6eb/attachment.html