{"action":"closed","issue":{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/7","labels_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/7/comments","events_url":"https://api.github.com/repos/GENI-NSF/geni-tools/issues/7/events","html_url":"https://github.com/GENI-NSF/geni-tools/issues/7","id":77732863,"number":7,"title":"Allocating PLC resources with PG credentials","user":{"login":"ahelsing","id":12136824,"avatar_url":"https://avatars.githubusercontent.com/u/12136824?v=3","gravatar_id":"","url":"https://api.github.com/users/ahelsing","html_url":"https://github.com/ahelsing","followers_url":"https://api.github.com/users/ahelsing/followers","following_url":"https://api.github.com/users/ahelsing/following{/other_user}","gists_url":"https://api.github.com/users/ahelsing/gists{/gist_id}","starred_url":"https://api.github.com/users/ahelsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahelsing/subscriptions","organizations_url":"https://api.github.com/users/ahelsing/orgs","repos_url":"https://api.github.com/users/ahelsing/repos","events_url":"https://api.github.com/users/ahelsing/events{/privacy}","received_events_url":"https://api.github.com/users/ahelsing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/labels/gcf","name":"gcf","color":"5319e7"},{"url":"https://api.github.com/repos/GENI-NSF/geni-tools/labels/task","name":"task","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-18T17:15:14Z","updated_at":"2015-05-18T17:15:19Z","closed_at":"2015-05-18T17:15:19Z","body":"Trying to allocate a PLC resource with a PG credential is not working, it seems like the PLC code used to create a new user on-the-fly is causing problems with the PLC database.  Note, that this same problem occurs if you try to allocate from PLE using PLC so this is not an emulab specific bug, it's a problem with handling foreign users/slices.\r\n\r\n\r\njkarlin@ubu:~/dev/gcf/src$ ./omni.py -f pg createsliver tg res\r\nINFO:omni:Using control framework pg\r\nFor https://www.emulab.net/protogeni/xmlrpc/am allocate = True\r\nFor http://www.planet-lab.org:12346 allocate = True\r\n{u'https://www.emulab.net/protogeni/xmlrpc/am': '<rspec xmlns=\"http://protogeni.net/resources/rspec/0.2\"><node startup_command=\"/bin/ls &gt; /dev/null\" virtual_id=\"geni0\" virtualization_type=\"emulab_vnode\" /></rspec>', u'http://www.planet-lab.org:12346': '<RSpec type=\"SFA\"><network name=\"plc\"><site id=\"s10149\"><name>Technische Universitaet Dresden</name><node id=\"n10516\"><hostname>planet1.inf.tu-dresden.de</hostname><sliver /></node></site></network></RSpec>'}\r\nERROR:omni:Error occurred. Unable to allocate from https://www.emulab.net/protogeni/xmlrpc/am: <Fault 2: 'Could not map to resources'>.  Please run --debug to see stack trace.\r\nERROR:omni:Error occurred. Unable to allocate from http://www.planet-lab.org:12346: <Fault 111: \"Internal API error: <Fault 102: 'person_id 1: AddSite: Invalid argument: Login base must consist only of lowercase ASCII letters or numbers'>\">.  Please run --debug to see stack trace.\r\njkarlin@ubu:~/dev/gcf/src$ \r\n\n\n _Imported from trac ticket [#7](http://trac.gpolab.bbn.com/gcf/ticket/7),  created by jkarlin on 09-27-2010 at 09:36, last modified: 09-27-2010 at 10:31_\n   CCing: tmitchel@..., ahelsing@..."}}