Gcloud create image 'The tar archive is not a valid image'

1,560 views
Skip to first unread message

Robert Yaman

unread,
Jan 12, 2018, 7:16:53 PM1/12/18
to Biocellion Support
Hi all,

I am trying to set up Biocellion via option 2 from this page: http://biocellion.com/wiki_root/index.php/Getting_Started

I downloaded the "Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz" file from Google Drive, then uploaded it to a GCP bucket with id 'biocellion' in project 'biocellion-tutorial'

I then ran 'gcloud compute images create biocellion-tutorial --source-uri https://storage.googleapis.com/biocellion/biocellion_image.tar.gz' and got the following error:

ERROR: (gcloud.compute.images.create) Could not fetch resource:

 - The tar archive is not a valid image.


Has anyone else run into this problem? The error suggests that the tarball is not properly configured for GCP usage.


Thanks in advance for the help!

shin...@uw.edu

unread,
Jan 13, 2018, 4:13:10 AM1/13/18
to Biocellion Support
Hi Robert,

Did your rename your image by any chance? If your downloaded gcloud image has the file name Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz , and you didn't change the name, the source uri should be https://storage.googleapis.com/biocellion/Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz.

Let me know if changing the name works for you. 

Robert Yaman

unread,
Jan 14, 2018, 1:49:17 AM1/14/18
to shin...@uw.edu, Biocellion Support
Hello,

Thanks for the response. I did previously rename the file to biocellion_image.tar.gz . I tried changing the name back to Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz, then ran

gcloud compute images create biocellion-tutorial --source-uri https://storage.googleapis.com/biocellion/Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz


But I got the same error. Any other idea of what it could be?


--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

shin...@uw.edu

unread,
Jan 16, 2018, 4:03:10 AM1/16/18
to Biocellion Support
Hi Robert,

I think your source-uri is still wrong. Since your bucket name is 'biocellion-tutorial', the source-uri should be the path to bucket, followed by image: https://storage.googleapis.com/biocellion-tutorial/Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz

I think you can also just do this straight on cloud console. Create an Image (under Compute Engine), and boot the .tar.gz file in the bucket. See this: https://cloud.google.com/compute/docs/images/import-existing-image under 


let me know if it still doesn't work!

Robert Yaman

unread,
Jan 16, 2018, 4:06:49 PM1/16/18
to shin...@uw.edu, Biocellion Support
Hi Shinwook,
I believe the path is correct. When I pass a nonsense URI to the command I get the error "The resource <URI> of type 'Google Cloud Storage object' was not found", which is a different error message. Additionally, I get the same error when I try to create the image through the GCP console:
Inline image 1

Has anyone else done this successfully? Later I will try to re-package the raw image according to this page, to see if that helps.

To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

shin...@uw.edu

unread,
Jan 17, 2018, 1:36:51 AM1/17/18
to Biocellion Support
Hi Robert,

You're right. I got the same error. I noticed that the Biocellion1.2_GoogleCloudImage.3.30.17.tar.gz has the wrong file type (it should be x-tar not gzip). I think when renaming it, the property must've been changed. 


This is the same image, but only .tar 'ed. 

Let me know how it goes.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Yaman

unread,
Jan 18, 2018, 3:14:02 PM1/18/18
to shin...@uw.edu, Biocellion Support
I'm not following - In the instruction doc, one of the requirements is:
"The compressed file must be a .tar.gz file that uses gzip compression and the GNU tar format."

I can't seem to access that bucket. If there is an update file to use, maybe you can update the google drive that was provided when I downloaded biocellion.

Thanks for all of your help!


To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

shin...@uw.edu

unread,
Jan 18, 2018, 3:21:14 PM1/18/18
to Biocellion Support
Hi Robert,

I'm working on repackaging it. The link should work now. Please feel free to try it again (I temporarily disabled billing, and didn't realize it wasn't public anymore). 
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Robert Yaman

unread,
Jan 18, 2018, 6:50:28 PM1/18/18
to shin...@uw.edu, Biocellion Support
Hello,
I could be missing something, but the link is still not working. This is what I see:
Inline image 1


Hi Robert,

To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

shin...@uw.edu

unread,
Jan 18, 2018, 6:55:42 PM1/18/18
to Biocellion Support
Hi Robert,

Can you do Google Hangout? Feel free to e-mail me. This should work. https://storage.googleapis.com/biocellion12-gcloud/biocellion12.tar.gz
Hi Robert,

Robert Yaman

unread,
Jan 18, 2018, 7:48:35 PM1/18/18
to shin...@uw.edu, Biocellion Support
That new file worked - thanks so much for your help! Looking forward to getting started with the tutorial :).

Hi Robert,

To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Biocellion Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/biocellion-support/y50korJBTcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to biocellion-support+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

naveen kumar

unread,
Jul 5, 2019, 1:09:41 AM7/5/19
to Biocellion Support
Hi Robert,

We also face the same issue. Is there any luck how to get out of this error? Any help would be highly appreciated.

Thanks & Regards,
Naveen

Simon Kahan

unread,
Aug 7, 2019, 4:20:06 PM8/7/19
to Biocellion Support
Hi Naveen, were you able to resolve this using the same solution offered to Robert?
Reply all
Reply to author
Forward
0 new messages