Bug 841405
Summary: | Cloud9 integration: getting "Permission denied" errors on Cloud9 console when trying to add remote OpenShift git repo | ||
---|---|---|---|
Product: | OKD | Reporter: | Nam Duong <nduong> |
Component: | Website | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jofernan, mcepl, mpatel, ramr, ukredfox |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-14 18:22:17 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nam Duong
2012-07-18 21:58:44 UTC
This is hitting people. Take a look at some of the comments on that blog. Added workaround to the github issue: Got a workaround for this -- looks to be some parsing issue on the command interpreter -- since running a git command gives a permission denied error but putting it into a script worked. Here's what I did: In the cloud9 ide created a file called addrepo.py and added these commands into the file: import os os.system("git remote add openshift ssh://e318b598bee247698df28a49315e0fee.com:~/git/pytest.git") os.system("git remote -v") And then just ran `python addrepo.py` And it worked just dandy (you could use an equivalent ruby/js(with node)/php script as well). Lowering severity since we have a workaround. The fix will have to come from c9. Closing since issue has been closed upstream - https://github.com/ajaxorg/cloud9/issues/1763#issuecomment-10264312 |