Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 13 2019 12:11

    kanghyojun on master

    additional comment for storage … Merge pull request #34 from tou… (compare)

  • Mar 13 2019 12:11
    kanghyojun closed #34
  • Mar 13 2019 12:07
    AiOO review_requested #34
  • Mar 13 2019 12:07
    AiOO commented #34
  • Mar 13 2019 12:06
    AiOO commented #34
  • Mar 12 2019 15:32
    toughrogrammer commented #17
  • Mar 12 2019 15:30
    toughrogrammer commented #17
  • Mar 12 2019 12:49
    dahlia commented #34
  • Mar 12 2019 12:41
    toughrogrammer opened #34
  • May 31 2018 13:28
    dahlia commented #33
  • May 31 2018 13:28
    dahlia commented #33
  • May 30 2018 22:14
    cesarhernandezgt opened #33
  • Apr 05 2018 14:59
    Juddling commented #17
  • Feb 21 2018 18:32

    dahlia on master

    Implement SSH proxy over WebSoc… Backport gitignore from the doc… Update changelog and remove "--… and 10 more (compare)

  • Feb 21 2018 18:32
    dahlia closed #21
  • Feb 21 2018 09:26
    dahlia commented #28
  • Feb 21 2018 08:45
    achimnol commented #31
  • Feb 21 2018 08:43
    achimnol commented #31
  • Feb 21 2018 08:41
    achimnol commented #28
  • Feb 20 2018 03:15
    dahlia labeled #31
Brian Hong
@serialx
Hello, I have a question
I'm having this kind of error. Is this a configuration error? Or a code bug?
ERROR:geofront.server:Exception on /tokens/xxx/ [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.5/dist-packages/geofront/util.py", line 52, in wrapped
    return function(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/geofront/server.py", line 506, in token
    identifier=identity.identifier,
  File "/usr/local/lib/python3.5/dist-packages/flask/json.py", line 259, in jsonify
    raise TypeError('jsonify() behavior undefined when passed both args and kwargs')
TypeError: jsonify() behavior undefined when passed both args and kwargs
I think this it has to do with the flask 0.11: pallets/flask@daceb3e
Kang Hyojun
@admire93
but geofront gives only keyword arguments to flask.jsonify in https://github.com/spoqa/geofront/blob/master/geofront/server.py#L504
Brian Hong
@serialx
Kang Hyojun
@admire93
yeap
it fixed, after 0.3.2
Brian Hong
@serialx
I guess I'll stick to using master then.
Any plans on a new release?
Kang Hyojun
@admire93
Maybe minor release can be done as soon as possible, since API of flask.jsonify changes after 0.11 released.
Brian Hong
@serialx
Okay. Thank you. :)
BTW, geofront seems awesome!
Hong Minhee (洪 民憙)
@dahlia
Thanks!
Brian Hong
@serialx
How do you automatically colonize autoscaled instances?
I initially thought using the masterkey API endpoint to get the public key, and adding it to the authorized_keys
But it seems the masterkey API require authentication
Brian Hong
@serialx
Never mind, there is a public one :)
Hong Minhee (洪 民憙)
@dahlia
@serialx Actually we faced the exactly same problem, so I recently added public one!
Brian Hong
@serialx
I wish geofront-cli supports command geofront-cli ssh with arbitrary ssh arguments
For example, our server setup causes many server names to be same (because of the auto scaling)
So a natural way to identify a server is it's ip address. I can address this with custom CloudRemoteSet
But we also use a tool called eclair: https://github.com/devsisters/eclair
And it connects to many servers at once with special ssh command parameters
I'm not sure how these tools will work together
Brian Hong
@serialx
I wish I can alias ssh="geofront-cli ssh" and expect all to automatically work.
Current implementation of geofront-cli ssh only supports remote alias names to be given as a parameter
So for example, if I geofront-cli ssh -o StrictHostKeyChecking=no ubuntu@host
First, I'll get errors that no remotes such as ubuntu@host exist
And If I somehow fix that, I'll get geofront-cli: error: unrecognized arguments: StrictHostKeyChecking=no
Hong Minhee (洪 民憙)
@dahlia
Indeed
We have also similar problems
Hong Minhee (洪 民憙)
@dahlia
I files an issue: spoqa/geofront-cli#9
Brian Hong
@serialx
Thank you!
loup
@YukSeungChan
Hello, I have a question.
I want I can use fabric with geofront.
I couldn't use oauth authenitcation in fabric. so I want to know any other ways.
Do you have any ideas ?
Hong Minhee (洪 民憙)
@dahlia
Though am not sure what “using oauth in fabric” does mean, Fabric integration is one of to-dos: https://github.com/spoqa/geofront#missing-features
loup
@YukSeungChan
음, geofront authenticate 수단으로 oauth2 방식을 이용하고 있습니다.
일반적인 ssh접근은 문제가 없지만 fabric을 이용하여 배포시 서버에 접속하여 작업하는 것들이 있는데요.
CI에서 fab명령어를 이용하여 배포하는 것들이 있어서 fabric 배포시 oauth 인증방식을 사용하기 어려운 상태입니다. 현재 fabric integration이 없어서 일단 사용가능하도록 만들어 보고 싶은데 fabric에서 geofront 인증을 통해서 서버에 접속할 수 있는 좋은 방법이 떠오르지 않습니다. 현재 missing feature인 fabric integration 구현 아이디어가 있으신가요?
Hong Minhee (洪 民憙)
@dahlia
근데 CI 환경이라면 fabric integration이 붙더라도 쓸 수 없을 것 같아요
Geofront가 해결하려는 게 액세스 권한을 마스터 키 저장소를 제외한 모든 곳에서 한시적으로만 허용하거나 아예 허용치 않는 것인데...
CI에서는 예외적으로 항시 허용하겠다고 하면 Geofront가 해결하려는 문제를 다시 되돌리는 거라서요
loup
@YukSeungChan
음 그렇죠.. 배포시에도 한시적으로 허용된 키를 이용하고 싶은데 ㅠ_ㅠ 고민을 좀더 해봐야겠네요..
loup
@YukSeungChan
제2의 인증방식을 두는 것 밖에 떠오르지 않네요 ㅠㅠ
db나
loup
@YukSeungChan
redis같은 것을 이용해서 해봐야겠네요..