Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E2232200CFC for ; Thu, 28 Sep 2017 10:56:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E0B181609CD; Thu, 28 Sep 2017 08:56:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 323081609C2 for ; Thu, 28 Sep 2017 10:56:06 +0200 (CEST) Received: (qmail 41372 invoked by uid 500); 28 Sep 2017 08:56:05 -0000 Mailing-List: contact notifications-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list notifications@libcloud.apache.org Received: (qmail 41363 invoked by uid 99); 28 Sep 2017 08:56:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Sep 2017 08:56:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CF761CBDCF for ; Thu, 28 Sep 2017 08:56:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id pOTjL_MmjjaV for ; Thu, 28 Sep 2017 08:56:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6E03F60D2C for ; Thu, 28 Sep 2017 08:56:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A770AE0057 for ; Thu, 28 Sep 2017 08:56:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 44F57242AF for ; Thu, 28 Sep 2017 08:56:00 +0000 (UTC) Date: Thu, 28 Sep 2017 08:56:00 +0000 (UTC) From: "Pratik Bandarkar (JIRA)" To: notifications@libcloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LIBCLOUD-947) "email" field from "service_account" has no effect while deploying instance. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 28 Sep 2017 08:56:07 -0000 Pratik Bandarkar created LIBCLOUD-947: ----------------------------------------- Summary: "email" field from "service_account" has no effect while deploying instance. Key: LIBCLOUD-947 URL: https://issues.apache.org/jira/browse/LIBCLOUD-947 Project: Libcloud Issue Type: Bug Components: Compute Reporter: Pratik Bandarkar I am trying to deploy instances on GCP using salt-cloud. The "email" field from "service_account"(/etc/salt/cloud.profiles.d/test-profile.conf) has no effect while deploying instance. Always "default" email is assigned to the "service_account". Steps to reproduce the issue: - Install "python2-libcloud" package on salt-master OR install libcloud with `pip install apache-libcloud`. - configure "/etc/salt/cloud.profiles.d/test-profile.conf" as below: {code:java} test123: image: "centos-7-v20170719" size: "f1-micro" location: "us-central1-a" network: "default" subnetwork: "default" tags: '["gateway"]' metadata: '{""}' use_persistent_disk: "False" delete_boot_pd: "True" deploy: "True" make_master: "False" external_ip: "ephemeral" ssh_username: "centos" ssh_keyfile: "/root/.ssh/id_rsa" provider: gcp preemptible: false ex_service_accounts: - scopes: - storage-full - datastore - taskqueue - sql-admin - logging-write - compute-rw email: trinity1@cp100-170315.iam.gserviceaccount.com <=== {code} - deploy instance: salt-cloud -p test123 --out-file pratik1.txt pratik1 - After deployment of the instance, check output of `gcloud compute instances describe pratik1` serviceAccounts: {code:java} [...] - email: 632197330628-compute@developer.gserviceaccount.com <=== scopes: - https://www.googleapis.com/auth/devstorage.full_control - https://www.googleapis.com/auth/datastore - https://www.googleapis.com/auth/taskqueue - https://www.googleapis.com/auth/sqlservice.admin - https://www.googleapis.com/auth/logging.write - https://www.googleapis.com/auth/compute [...] {code} # salt --version salt 2017.7.1 (Nitrogen) python -c "import libcloud ; print libcloud.__version__" 2.2.1 -- This message was sent by Atlassian JIRA (v6.4.14#64029)