简体   繁体   English

尝试将项目迁移到新的 Google Cloud 组织,但如何让我的组织可选择作为迁移选项?

[英]Trying to migrate a project to a new Google Cloud organization but how to make my organization selectable as a migration option?

I've created a new Google Cloud Identity for an organization, and I want to migrate a project (which is not currently associated with any organization) to the new organization.我为一个组织创建了一个新的 Google Cloud Identity,我想将一个项目(当前未与任何组织关联)迁移到新组织。

When I go to Google Cloud Platform > IAM & Admin > Settings and choose the Migrate option for my project, there are no organizations to choose from.当我转到 Google Cloud Platform > IAM & Admin > Settings 并为我的项目选择 Migrate 选项时,没有可供选择的组织。

When I go to Google Cloud Platform > IAM & Admin > Identity & Organization it says "Page not viewable for projects. To view this page, select an organization."当我转到 Google Cloud Platform > IAM & Admin > Identity & Organization 时,它显示“项目无法查看页面。要查看此页面,请选择一个组织。” There is a SELECT link, but there are no organizations to select, so clicking on it does nothing.有一个 SELECT 链接,但没有可供选择的组织,因此单击它没有任何作用。

How do I make my new organization available as an option for migration?如何让我的新组织成为迁移选项?

It turns out that a final step in creating an organization and making it possible to migrate an existing project to it is...事实证明,创建组织并使现有项目迁移到该组织成为可能的最后一步是……

to create a new project from that organization, even if you have no need or desire to create a new project with it.从该组织创建一个新项目,即使您不需要或不想用它创建一个新项目。 Something about that action makes the organization migration-worthy, and after I did that I was able to migrate my previously-existing project to it.该行动的某些方面使组织值得迁移,在我这样做之后,我能够将我以前存在的项目迁移到它。

First of all, sorry about the terms, we see the spanish version of GCP console, and pheraps my google menu names and concept translations are not 100% accurates.首先,对这些术语感到抱歉,我们看到了 GCP 控制台的西班牙语版本,并且我的谷歌菜单名称和概念翻译不是 100% 准确的。

Perhaps it's to late, but we are now in the google madness ecosystem and after hours and headaches I think we could resolve the same o similar problem.也许为时已晚,但我们现在处于 google madness 生态系统中,经过数小时和头痛,我认为我们可以解决相同或类似的问题。

Our situation:我们的情况:

We have a google account (let's call it "A"), where we have some google products and the last is GKE cluster, so we use "Google Cloud Platform".我们有一个谷歌账户(我们称之为“A”),我们有一些谷歌产品,最后一个是 GKE 集群,所以我们使用“谷歌云平台”。

The problem begins when we need technical help assistance, because we detect that an empty GKE node (with no pods) has a high load average (about 1 - 1.2) at idle status.当我们需要技术帮助时,问题就开始了,因为我们检测到一个空的 GKE 节点(没有 Pod)在空闲状态下具有高平均负载(大约 1 - 1.2)。

Well, so we need technical help and the only way for this with Google is to pay for bronze help assistance (Important, if you pay for bronze, you could not be gold or silver ... why ?).嗯,所以我们需要技术帮助,谷歌的唯一方法是支付铜牌帮助援助(重要的是,如果你支付铜牌,你就不能成为金牌或银牌......为什么?)。 Here is were the things start getting tight, and begins the google's madness and headache documentation and formularies.这是事情开始变得紧张,并开始谷歌的疯狂和头痛的文档和处方。

1.- To get payed assistance you need activate the "role based assistance". 1.- 要获得付费帮助,您需要激活“基于角色的帮助”。

2.- To get "role based assitance" you need an "organization id". 2.- 要获得“基于角色的协助”,您需要一个“组织 ID”。

3.- To get "organization id", you need Google Cloud Identity (free o premium) or Google Suite, where you can create an organization ... well ... documents said that the organization is created automatically. 3.- 要获得“组织 ID”,您需要 Google Cloud Identity(免费或高级)或 Google Suite,您可以在其中创建组织……嗯……文档说该组织是自动创建的。

4.- When you create "Google Cloud Identity", you are creating a new account ("B") distinct to "A". 4.- 当您创建“Google Cloud Identity”时,您正在创建一个不同于“A”的新帐户(“B”)。

Well, if you from account "A" go to "IAM" > "Identity and organization", chose to register a "Could identity", then start an wizard to create a new account linked to a domain name, and a billing data.好吧,如果您从帐户“A”转到“IAM”>“身份和组织”,选择注册“Could 身份”,然后启动向导以创建与域名相关联的新帐户和帐单数据。

When you finish this process (where you had to change your DNS, or upload a file to check the authenticity of your domain), then you have a new account in Google Cloud (B), that is different from "A" ... so ... is so difficult for people in Google to transform "A" in "B" and not create 2 differents accounts ?当您完成此过程(您必须更改 DNS,或上传文件以检查域的真实性)后,您将在 Google Cloud (B) 中拥有一个与“A”不同的新帐户......所以......谷歌的人很难在“B”中转换“A”而不创建2个不同的帐户?

Now the problem is that your proyect and issues are in "A" account, and you have a new and clean "B" account with "Cloud identity".现在的问题是您的项目和问题都在“A”帐户中,并且您有一个具有“云身份”的新的干净的“B”帐户。

Here, at this moment, you have 3 ways:在这里,此时此刻,您有 3 种方法:

a) To say: "ohhhh my good, this is enough for me, who was the narrow mind that planned this madness method ?. I don't want this hell. I go to other provider. Good bye google." a) 说:“哦,我的好,这对我来说已经足够了,计划这种疯狂方法的狭隘头脑是谁?我不想要这个地狱。我去其他提供商。再见谷歌。”

b) From account "B", select your domain / organization (is the same), go to "IAM" > "Identity and organization", and there appears "Migrate projects and invoice accounts". b) 从账户“B”中,选择您的域/组织(相同),进入“IAM”>“身份和组织”,出现“迁移项目和发票账户”。 Here you can send and invitation to the email of "A" account to move all projects (not selectable one by one) and the invoice method.在这里您可以向“A”帐户的电子邮件发送邀请以移动所有项目(不可一一选择)和发票方式。 User account "A" must accept the migration.用户帐户“A”必须接受迁移。 Warning !!!警告 !!! Once a project is migrated to a domain, this cannot be undone.一旦项目迁移到域,就无法撤消。

c) From account "A", from the main page of your project and choose "add a member" or "add people to this project", then send an invitation to the email of account "B", and choose role as "owner of the project". c) 从账户“A”,从您的项目主页选择“添加成员”或“向该项目添加人员”,然后向账户“B”的电子邮件发送邀请,并选择角色为“所有者”项目”。 User of account B will receive an email for accepting the invitation.帐户 B 的用户将收到一封接受邀请的电子邮件。 Then, "B" can see the proyect in his panel, and inside move the proyect with no organization, to the B's organization.然后,“B”可以在他的面板中看到项目,并在里面将没有组织的项目移动到B的组织中。

Yes this was long, and a hell.是的,这很长,而且是地狱。 But this is how we can move a project in an account "A" with no organization, to an organization to contract an assistance help service to Google.但这就是我们如何将没有组织的帐户“A”中的项目转移到组织,以便与 Google 签订协助服务合同。

The next problem is to get assistance ... when the forms lets you contract the bronze assistance service, then they informs you that this is a request that will lasts 5 days...下一个问题是获得帮助……当表格让您签约青铜援助服务时,他们会通知您这是一个将持续 5 天的请求……

Really and sorry but there were moments where I was thinking to choose option "a".真的很抱歉,但有时我想选择选项“a”。

According to migrating-projects-billing document.根据迁移项目计费文件。 You can try following commands:您可以尝试以下命令:

Find out your organizations list:找出您的组织列表:

gcloud organizations list 

Move project to another organizations将项目移至其他组织

gcloud alpha projects move PROJECT_ID --organization ORGANIZATION_ID

You will want to migrate the project in "A" to the Cloud Identity Organization "B".您需要将“A”中的项目迁移到 Cloud Identity 组织“B”。 This is very simple using this document 1 .使用本文档1非常简单。

You will use either G Suite or Cloud Identity (CI), not both.您将使用 G Suite 或 Cloud Identity (CI),而不是两者。 CI is an Identity as a Service for users that do not have a G Suite subscription. CI 是面向未订阅 G Suite 的用户的身份即服务。 If one has a G Suite subscription then the Organization is automatically created.如果有 G Suite 订阅,则会自动创建组织。 If not using G Suite then one will need to create the CI and Organization 2 .如果不使用 G Suite,则需要创建 CI 和组织2

Google does offer the paid support options mentioned. Google 确实提供提到的付费支持选项。 However, there are also other options such as partners for support on GKE, CI, G Suite, and overall GCP that do not incur a fee 3 .但是,还有其他选项,例如 GKE、CI、G Suite 和整体 GCP 支持合作伙伴,不会产生费用3 What you have described in this post is a common support scenario.您在这篇文章中描述的是一个常见的支持场景。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM