Somehow one of my google cloud projects got deleted. I don't know why and how but I got an email which explained that I have one month to reactivate it without a notice who deleted it initially.
Now I want to undelete this project with the gcloud command:
gcloud projects undelete <projectId>
but it fails with the following message:
ERROR: (gcloud.projects.undelete) FAILED_PRECONDITION: Parent
organization is not active
- '#type': type.googleapis.com/google.rpc.PreconditionFailure violations:
- description: Parent organization is not active
If I try to describe the given organization id with the command:
gcloud organizations describe <organizationId>
it fails with something like "This organization does not exist".
I also tried to undelete it with the Google Cloud Console but it also fails (without a real error message).
How can I undelete my project? And if this is a serious issue, how can I contact Google Support without having the Gold Support membership?
The error message you’re getting means that you are trying to undelete a project that is still part of an organization that no longer exists.
As the organization no longer exists it doesn’t allow you to restore the project, since projects belong to an organization, as can be seen in the GCP resource hierarchy tree.
The following documentation 1 and documentation 2 provide information for the support options that you can have.
Related
Profile error :
Getting two kinds of Errors first time while deploying the profile this is the error for Admin profile.
profiles/Admin.profile -- Error: Unknown user permission: ManageConvMiningReports
Next when I tried to deploy this time i am getting different one
profiles/Admin.profile -- Error: Unknown user permission: ShareFilesWithNetworks
I tried going to system admin profile and searched for Share Files with People in Experience Cloud sites
and tried to disable it but that permission is default checked for admin profile i can't disable it. So how i can reslove this issue.
can someone please help me out with solution.
Thanks in Advance.
Solution for the above error.
Remove the part of XML that mentions these 2 permissions, then try deploying. Or figure out how to enable missing features in the target org (experience cloud? Salesforce content? Whatever caused these checkboxes to appear in source org)
I created App Engine custom domains with my own GCP user account.
If I run this command as that user I see a resourceRecords: field with all the A and AAAA records:
gcloud app domain-mappings describe 'mydom.com'
If I run the SAME command as a different user (one that has app engine admin and viewer roles) I see the resourceRecords: field with only a CNAME record. Why is this?
No permissions errors, no other errors. The SAME command run by different users returns different values from the describe API.
This behavior is unexpected. How/why is this happening?
I run Terraform centrally with a GSA. That GSA is getting different data from the API because of whatever this behavior is doing plans return incorrect info.
EDIT:
There is now an official bug report for this (please star it!) https://issuetracker.google.com/issues/207364598
I found the reason for this frustratingly bizarre and unhelpful and poorly documented behavior.
I found the issue through this SO post: How to use Terraform `google_app_engine_domain_mapping` with service account?
If you are not an "owner" for the domain as defined here the API will indeed not return the IP address list and also not bother throwing any kind of helpful warning message.
While my question wasn't terraform specific it looks like you might be able to terraform the whole thing with the help of this custom provider: https://github.com/hectorj/terraform-provider-googlesiteverification.
Also, I tried adding the email of a google group as an owner and that did not seem to work. Individual users must be added.
There is an official bug for this (please star so google fixes it!): https://issuetracker.google.com/issues/207364598
Picked up an existing project built on Composite C1 version 4.3, and I'm trying to install a package. All the information online says to go to System -> Packages -> Install Local Package, but I don't even see a Packages option on the System page at all.
I've tried to see if this option was disabled or not available in this version, but nothing definitive so far.
EDIT:
I do have direct access to code, so if there's a config file I could edit it directly, but haven't found anything that indicates where this might be.
It looks like the account that you are logging in with isn't the main admin account. It's probably a developer account to which the admin has added the ability to make backups and tweak Google Analytics settings. You'll need to contact the admin and ask them to give you full privileges, in order to install packages yourself.
If you have FTP access to the website, there is a way to move an account from one group to another:
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUser.xml
Find the user account for the user you want to change group membership for, and make a note of the Id GUID value.
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUserGroup.xml
Find the group you want that account to have membership of (ie: Administrator or Admin), and make a note of the Id GUID value.
Open: ~/App_Data/Composite/DataStores/Composite.Data.Types.IUserUserGroupRelation.xml
Make a backup copy of this file, just in case it doesn't work!
In the origional, find UserId GUID matching your account Id, then ammend the UserGroupId to the group Id. Save the file.
I've tried this out on my local copy of C1 and it appears to work. You should now have access to everything the admin has access to.
i downloaded the old version of C1 4.3 from github and started a new site, and looks like something is wrong with your site, because this version have package manager.
Something error on Log's Folder? (no Console Log item found in your capture)
I tested on this version (see the image uploaded), so, wich especific version have you?
The two files I needed to change were IUserActivePerspective, and IUserGroupActivePerspective. The perspectives for what I was missing were removed from the admin account, so I just needed to add them back there.
With old GAE console you could invite others to join a project as owner or developer. Recently this option is moved to the new cloud console.
I used to use the old console to get access to client's so I can deploy application and make changes to it. The process involved with login into the project and inviting the new user. Then an email was sent to the new user and after he/she accepts the invite he/she could access this application directly from his/her console at appengine.google.com.
I tried the same process with the new changes couple of days ago, logged in into the new project and from the permission menu added myself to the project. However no email was sent to me and I still don't see this new application in my console!
Interestingly enough if I go to https://console.developers.google.com/project I see this new project there is no logs or data-objects listed. If I go to appengine.google.com I won't see this project and that's where I can go to application's console!
Not sure what's going on, has anyone seen this? Is there something I'm doing wrong?
Amir
I found the issue!
If you add a new project via appengine.google.com (old way) the application won't show up under Compute/App Engnie section of console.developers.google.com as simple as that.
The proper way to get all functionality is to add the new project using the console and then use the permission to add others.
It's strange and I couldn't find any documentation that explains it but I've tested and resolved my own issue this way. Hope this helps others.
Amir
I've created several GAE applications but failed to retrieve "Service Account Name" - there is no gserviceaccount mail on a 'Application Settings' page. My goal is to add service accounts of those applications to a list of members of the main application with edit permissions.I've tried to add account to a list of members of main project just by following pattern <appId>#appspot.gserviceaccount.com but it failed with following error "The email account you invited is not a valid Google account".My second idea was to create service account member on non-main project first following same pattern it didn't lead to an error but it has a following status "Invitation sent. Waiting for response".Have no idea how to fix it. I would greatly appreciate any help.Just for your notice: main application has billing enabled and has generated service account. Non-main applications have default version deployed and marked as "running".
Services account are always created by default when you create a new project in the Google Cloud Platform.
So there's no need for you to add them or re-create them in your project.
You may find them in the Permissions page under the main project section in the Developers' Console.
Or by using the URL https://console.developers.google.com/project/YOUR_PROJECT_NAME/permissions and using your real project name.
Older apps/projects didn't create service accounts.
Add the service account by
Going to https://console.developers.google.com/project/YOUR_PROJECT_NAME/permissions
Press Add Member
Add this email YOUR_PROJECT_NAME#appspot.gserviceaccount.com