{"action":"created","issue":{"url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/6","labels_url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/6/comments","events_url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/6/events","html_url":"https://github.com/mturilli/aimes.emanager/issues/6","id":57974931,"number":6,"title":"sc14demo: still show auth error for removed hopper","user":{"login":"Francis-Liu","id":4589649,"avatar_url":"https://avatars.githubusercontent.com/u/4589649?v=3","gravatar_id":"","url":"https://api.github.com/users/Francis-Liu","html_url":"https://github.com/Francis-Liu","followers_url":"https://api.github.com/users/Francis-Liu/followers","following_url":"https://api.github.com/users/Francis-Liu/following{/other_user}","gists_url":"https://api.github.com/users/Francis-Liu/gists{/gist_id}","starred_url":"https://api.github.com/users/Francis-Liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Francis-Liu/subscriptions","organizations_url":"https://api.github.com/users/Francis-Liu/orgs","repos_url":"https://api.github.com/users/Francis-Liu/repos","events_url":"https://api.github.com/users/Francis-Liu/events{/privacy}","received_events_url":"https://api.github.com/users/Francis-Liu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-17T20:09:21Z","updated_at":"2015-02-18T17:28:54Z","closed_at":null,"body":"I have commented out hopper from bundle bundle_demo_SC2014.conf.\r\n\r\nNow hopper is not in resource list:\r\n\r\n```\r\n[mypyenv2.sc2014.demo] fengl@aimes (/home/grad03/fengl) % ~/mypyenv2.sc2014.demo/bin/radical-utils-mongodb.py -m tree -d mongodb://54.221.194.147:24242/AIMES_bundle_fengl/\r\nmodes   : tree\r\ndb url  : mongodb://54.221.194.147:24242/AIMES_bundle_fengl/\r\nAIMES_bundle_fengl\r\n +-- db   AIMES_bundle_fengl\r\n | +-- coll config\r\n | | +-- doc  stampede_tacc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- queue_info\r\n | | | +-- num_nodes\r\n | | +-- doc  blacklight_psc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- queue_info\r\n | | | +-- num_nodes\r\n | | +-- doc  gordon_sdsc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- queue_info\r\n | | | +-- num_nodes\r\n | | +-- doc  trestles_sdsc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- queue_info\r\n | | | +-- num_nodes\r\n | +-- coll workload\r\n | | +-- doc  stampede_tacc_xsede_org\r\n | | | +-- development\r\n | | | +-- normal\r\n | | | +-- timestamp\r\n | | | +-- large\r\n | | | +-- serial\r\n | | | +-- _id\r\n | | | +-- largemem\r\n | | +-- doc  blacklight_psc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- batch\r\n | | +-- doc  gordon_sdsc_xsede_org\r\n | | | +-- timestamp\r\n | | | +-- _id\r\n | | | +-- vsmp\r\n | | | +-- normal\r\n | | +-- doc  trestles_sdsc_xsede_org\r\n | | | +-- shared\r\n | | | +-- _id\r\n | | | +-- normal\r\n | | | +-- timestamp\r\n | +-- coll bandwidth\r\n | | +-- doc  stampede_tacc_xsede_org\r\n | | | +-- 54_196_51_239\r\n | | | +-- _id\r\n | | | +-- timestamp\r\n | | +-- doc  blacklight_psc_xsede_org\r\n | | | +-- 54_196_51_239\r\n | | | +-- _id\r\n | | | +-- timestamp\r\n | | +-- doc  gordon_sdsc_xsede_org\r\n | | | +-- 54_196_51_239\r\n | | | +-- _id\r\n | | | +-- timestamp\r\n | | +-- doc  trestles_sdsc_xsede_org\r\n | | | +-- 54_196_51_239\r\n | | | +-- _id\r\n | | | +-- timestamp\r\n```\r\n\r\nHowever, I still got the authentication failure error on hopper:\r\n\r\n```\r\nPilot submissions\r\nPilot on resource nersc.hopper......... SUBMITTED to PM 54e39c37033bb25f9a70000c\r\nPilot on resource xsede.stampede....... SUBMITTED to PM 54e39c37033bb25f9a70000c\r\nPilot on resource xsede.trestles....... SUBMITTED to PM 54e39c37033bb25f9a70000c\r\nPilot on resource xsede.blacklight..... SUBMITTED to PM 54e39c37033bb25f9a70000c\r\nPilot on resource xsede.gordon......... SUBMITTED to PM 54e39c37033bb25f9a70000c\r\n\r\nCaught exception: prompted for unknown password (\r\n *****************************************************************\r\n *                                                               *\r\n *                      NOTICE TO USERS                          *\r\n *                      ---------------                          *\r\n *                                                               *\r\n *  Lawrence Berkeley National Laboratory operates this          *\r\n *  computer system under contract to the U.S. Department of     *\r\n *  Energy.  This computer system is the property of the United  *\r\n *  States Government and is for authorized use only.  *Users    *\r\n *  (authorized or unauthorized) have no explicit or implicit    *\r\n *  expectation of privacy.*                                     *\r\n *                                                               *\r\n *  Any or all uses of this system and all files on this system  *\r\n *  may be intercepted, monitored, recorded, copied, audited,    *\r\n *  inspected, and disclosed to site, Department of Energy, and  *\r\n *  law enforcement personnel, as well as authorized officials   *\r\n *  of other agencies, both domestic and foreign.  *By using     *\r\n *  this system, the user consents to such interception,         *\r\n *  monitoring, recording, copying, auditing, inspection, and    *\r\n *  disclosure at the discretion of authorized site or           *\r\n *  Department of Energy personnel.*                             *\r\n *                                                               *\r\n *  *Unauthorized or improper use of this system may result in   *\r\n *  administrative disciplinary action and civil and criminal    *\r\n *  penalties.  _By continuing to use this system you indicate   *\r\n *  your awareness of and consent to these terms and conditions  *\r\n *  of use.  LOG OFF IMMEDIATELY if you do not agree to the      *\r\n *  conditions stated in this warning._*                         *\r\n *                                                               *\r\n *****************************************************************\r\n\r\nPassword: ) (/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/saga/utils/pty_shell_factory.py +297 (_initialize_pty)  :  % match))\r\n\r\n\r\nEnd of AIMES SC2014 demo.\r\n================================================================================\r\nTraceback (most recent call last):\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/bin/demo_SC2014_script.py\", line 875, in <module>\r\n    pilots = pmgr.submit_pilots(pdescs)\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/radical/pilot/pilot_manager.py\", line 371, in submit_pilots\r\n    resource_config=resource_cfg)\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/radical/pilot/controller/pilot_manager_controller.py\", line 406, in register_start_pilot_request\r\n    shell = sup.PTYShell (url, self._session, logger, opts={})\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/saga/utils/pty_shell.py\", line 239, in __init__\r\n    posix=self.posix)\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/saga/utils/pty_shell_factory.py\", line 192, in initialize\r\n    self._initialize_pty (info['pty'], info, is_shell=posix)\r\n  File \"/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/saga/utils/pty_shell_factory.py\", line 395, in _initialize_pty\r\n    raise ptye.translate_exception (e)\r\nsaga.exceptions.AuthenticationFailed: prompted for unknown password (\r\n *****************************************************************\r\n *                                                               *\r\n *                      NOTICE TO USERS                          *\r\n *                      ---------------                          *\r\n *                                                               *\r\n *  Lawrence Berkeley National Laboratory operates this          *\r\n *  computer system under contract to the U.S. Department of     *\r\n *  Energy.  This computer system is the property of the United  *\r\n *  States Government and is for authorized use only.  *Users    *\r\n *  (authorized or unauthorized) have no explicit or implicit    *\r\n *  expectation of privacy.*                                     *\r\n *                                                               *\r\n *  Any or all uses of this system and all files on this system  *\r\n *  may be intercepted, monitored, recorded, copied, audited,    *\r\n *  inspected, and disclosed to site, Department of Energy, and  *\r\n *  law enforcement personnel, as well as authorized officials   *\r\n *  of other agencies, both domestic and foreign.  *By using     *\r\n *  this system, the user consents to such interception,         *\r\n *  monitoring, recording, copying, auditing, inspection, and    *\r\n *  disclosure at the discretion of authorized site or           *\r\n *  Department of Energy personnel.*                             *\r\n *                                                               *\r\n *  *Unauthorized or improper use of this system may result in   *\r\n *  administrative disciplinary action and civil and criminal    *\r\n *  penalties.  _By continuing to use this system you indicate   *\r\n *  your awareness of and consent to these terms and conditions  *\r\n *  of use.  LOG OFF IMMEDIATELY if you do not agree to the      *\r\n *  conditions stated in this warning._*                         *\r\n *                                                               *\r\n *****************************************************************\r\n\r\nPassword: ) (/home/grad03/fengl/mypyenv2.sc2014.demo/local/lib/python2.7/site-packages/saga/utils/pty_shell_factory.py +297 (_initialize_pty)  :  % match))\r\nmv: cannot stat ‘54e39c36033bb25f9a70000b.png’: No such file or directory\r\nCan't stat run-21-54e39c36033bb25f9a70000b/54e39c36033bb25f9a70000b.png: No such file or directory\r\nrun-21-54e39c36033bb25f9a70000b/54e39c36033bb25f9a70000b.png: unable to attach file.\r\n```"},"comment":{"url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/comments/74907413","html_url":"https://github.com/mturilli/aimes.emanager/issues/6#issuecomment-74907413","issue_url":"https://api.github.com/repos/mturilli/aimes.emanager/issues/6","id":74907413,"user":{"login":"mturilli","id":2323492,"avatar_url":"https://avatars.githubusercontent.com/u/2323492?v=3","gravatar_id":"","url":"https://api.github.com/users/mturilli","html_url":"https://github.com/mturilli","followers_url":"https://api.github.com/users/mturilli/followers","following_url":"https://api.github.com/users/mturilli/following{/other_user}","gists_url":"https://api.github.com/users/mturilli/gists{/gist_id}","starred_url":"https://api.github.com/users/mturilli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mturilli/subscriptions","organizations_url":"https://api.github.com/users/mturilli/orgs","repos_url":"https://api.github.com/users/mturilli/repos","events_url":"https://api.github.com/users/mturilli/events{/privacy}","received_events_url":"https://api.github.com/users/mturilli/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T17:28:54Z","updated_at":"2015-02-18T17:28:54Z","body":"Thank you Francis. \r\n\r\nHere the code used to setup the user id:\r\n```\r\nUSER_ID = os.environ.get('AIMES_USER_ID', None)\r\n\r\n[...]\r\n\r\nif USER_ID:\r\n        context.user_id = USER_ID\r\n```\r\nWhen USER_ID is not exported, it is set to None. I do not see any mturilli in the python code. I see some in `bin/demo_SC2014_env_setup.sh` but they are guarded. Feel free to remove them from the configuration script, just in case but they should be completely irrelevant.\r\n\r\nOne thing I noticed. The first line of the error trace reports:\r\n```\r\nFile \"/home/grad03/fengl/mypyenv2.sc2014.demo/bin/demo_SC2014_script.py\", line 875, in \r\npilots = pmgr.submit_pilots(pdescs)\r\n```\r\nThat code is indeed at line 885 in the current source code. An indication that you are not running the code from the current master branch?"}}