{"action":"created","issue":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/66","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/66/comments","events_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/66/events","html_url":"https://github.com/ahelsing/tickettest2/issues/66","id":76485410,"number":66,"title":"Helpful Omni error message about Expedient is unhelpful","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/ahelsing/tickettest2/labels/omni","name":"omni","color":"5319e7"},{"url":"https://api.github.com/repos/ahelsing/tickettest2/labels/task","name":"task","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/9","html_url":"https://github.com/ahelsing/tickettest2/milestones/1.5","labels_url":"https://api.github.com/repos/ahelsing/tickettest2/milestones/9/labels","id":1110903,"number":9,"title":"1.5","description":null,"creator":{"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},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-05-14T20:46:05Z","updated_at":"2015-05-14T20:46:11Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-05-14T20:46:11Z","updated_at":"2015-05-14T20:46:57Z","closed_at":null,"body":"If a user uses a URL for an AM that Omni thinks looks like an incorrect Expedient URL, it tries to give the user a correct Expedient URL. If the user was actually trying to enter a FOAM URL (or something else other than Expedient), this can be confusing.\n\n _Imported from trac ticket [#66](http://trac.gpolab.bbn.com/gcf/ticket/66),  created by jbs on 11-07-2011 at 11:24, last modified: 12-08-2011 at 17:06_\n"},"comment":{"url":"https://api.github.com/repos/ahelsing/tickettest2/issues/comments/102164531","html_url":"https://github.com/ahelsing/tickettest2/issues/66#issuecomment-102164531","issue_url":"https://api.github.com/repos/ahelsing/tickettest2/issues/66","id":102164531,"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},"created_at":"2015-05-14T20:46:57Z","updated_at":"2015-05-14T20:46:57Z","body":"It continued (and then failed later, because the URL was actually invalid). Here's the full output that Luisa had sent along:\r\n\r\n```\r\n$ ./src/omni.py -n -a https://mallorea.gpolab.bbn.com:3626/openflow/gapi sliverstatus foamln\r\nINFO:omni:Loading config file omni_config\r\nINFO:omni:Using control framework pgeni\r\nINFO:omni:Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamln expires on 2011-12-12 00:42:41 UTC\r\nWARNING:omni.protogeni:Likely invalid Expedient URL https://mallorea.gpolab.bbn.com:3626/openflow/gapi. Expedient AM runs at /openflow/gapi/ - try url https://mallorea.gpolab.bbn.com:3626/openflow/gapi/\r\nINFO:omni:Status of Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamln:\r\nERROR:omni.protogeni:Call for Sliver status of urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamln at https://mallorea.gpolab.bbn.com:3626/openflow/gapi failed.: ProtocolError: <ProtocolError for mallorea.gpolab.bbn.com:3626/openflow/gapi: 404 NOT FOUND>\r\nERROR:omni.protogeni:    ..... Run with --debug for more information\r\nINFO:omni: ------------------------------------------------------------\r\nINFO:omni: Completed sliverstatus:\r\n\r\n  Options as run:\r\naggregate: https://mallorea.gpolab.bbn.com:3626/openflow/gapi\r\nframework: pgeni\r\nnative: True\r\n\r\n  Args: sliverstatus foamln\r\n\r\n  Result Summary: Slice urn:publicid:IDN+pgeni.gpolab.bbn.com+slice+foamln expires on 2011-12-12 00:42:41 UTC\r\n\r\nFailed to get SliverStatus on foamln at AM https://mallorea.gpolab.bbn.com:3626/openflow/gapi: ProtocolError: <ProtocolError for mallorea.gpolab.bbn.com:3626/openflow/gapi: 404 NOT FOUND>\r\nReturned status of slivers on 0 of 1 possible aggregates. \r\nINFO:omni: ============================================================\r\n```\r\n\r\nIn this case, the correct URL should've been https://mallorea.gpolab.bbn.com:3626/foam/gapi -- she got the path wrong. But if she'd actually been trying to talk to Expedient, and gotten the *port* wrong, the correct URL would've been https://mallorea.gpolab.bbn.com:1443/openflow/gapi/ ... Which is why I'm skeptical that Omni should be trying to guess what URL the user might've meant.\r\n\n\n_Trac comment by jbs on 11-08-2011 at 12:55_\n"}}