beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2152) Authentication fails if there is an unauthenticated gcloud tool even if application default credentials are available
Date Wed, 03 May 2017 21:09:04 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15995688#comment-15995688
] 

ASF GitHub Bot commented on BEAM-2152:
--------------------------------------

GitHub user sb2nov opened a pull request:

    https://github.com/apache/beam/pull/2869

    [BEAM-2152] Remove gcloud auth as application default credentials manages it

    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [ ] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [ ] Make sure tests pass via `mvn clean verify`.
     - [ ] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
    
    ---
    
    R: @aaltay PTAL

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sb2nov/beam BEAM-2152-remove-gcloud-auth

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/2869.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2869
    
----
commit 6d0db5f5bf6e1256b2923e56091a028b1251ad37
Author: Sourabh Bajaj <sourabhbajaj@google.com>
Date:   2017-05-03T20:50:46Z

    [BEAM-2152] Remove gcloud auth as application default credentials does it

----


> Authentication fails if there is an unauthenticated gcloud tool even if application default
credentials are available
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-2152
>                 URL: https://issues.apache.org/jira/browse/BEAM-2152
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Ahmet Altay
>            Assignee: Sourabh Bajaj
>             Fix For: First stable release
>
>
> In a machine that has valid application default credentials, if {{gcloud}} tool is not
installed authentication works. If {{gcloud}} tool is recently installed but has not authenticated
yet authentication fails with {{You do not currently have an active account selected.}}
> Authentication code should fallback to default method in this case. (Or the {{gcloud}}
based authentication needs to be fully removed.
> cc: [~lcwik] 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message