Discussion:
[xcat-user] imgimport on .img files ??!!?
Nora D
2017-04-10 15:51:19 UTC
Permalink
I have a master virtual node (kvm/libvirt) with xCAT installed in it.

I moved an OS image file to the node (myImage.img).

I want xCAT to recognize it so I used the imgimport command:
imgimport myImage.img

I got the error:
Unbundling image...
Error: Failed to extract bundle myImage.img

So I compressed the image file with the following command:
gzip myImage.img

And I got:
myImage.img.gz

So I executed:
imgimport myImage.img.gz

But I'm still getting the same error.


Please help me how can I fix this? How can I use imgimport with .img files?

Please help me I am a total beginner in xCAT and Linux :'(!!!


Sent from my iPhone
Mark Gurevich
2017-04-10 17:36:53 UTC
Permalink
Nora,

I am not sure "imgimport" is the right command to use for this.

I think to purpose of this command is to restore a xCAT osimage object
definition from a single .gz file. But that single .gz file is expected to
be generated by "imgexport" command. To generate this .gz file,
"imgexport" command expects as input, an existing xCAT osimage object
definition.

Perhaps someone on this mailing list knows how to turn .img file into xCAT
image definition ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein





From: Nora D <***@live.com>
To: "xcat-***@lists.sourceforge.net"
<xcat-***@lists.sourceforge.net>
Date: 04/10/2017 11:52 AM
Subject: [xcat-user] imgimport on .img files ??!!?



I have a master virtual node (kvm/libvirt) with xCAT installed in it.

I moved an OS image file to the node (myImage.img).

I want xCAT to recognize it so I used the imgimport command:
imgimport myImage.img

I got the error:
Unbundling image...
Error: Failed to extract bundle myImage.img

So I compressed the image file with the following command:
gzip myImage.img

And I got:
myImage.img.gz

So I executed:
imgimport myImage.img.gz

But I'm still getting the same error.


Please help me how can I fix this? How can I use imgimport with .img
files?

Please help me I am a total beginner in xCAT and Linux :'(!!!


Sent from my iPhone
Nora D
2017-04-10 18:25:33 UTC
Permalink
Yes please help me :''''(



On Apr 10, 2017, at 8:39 PM, Mark Gurevich <***@us.ibm.com<mailto:***@us.ibm.com>> wrote:

Nora,

I am not sure "imgimport" is the right command to use for this.

I think to purpose of this command is to restore a xCAT osimage object definition from a single .gz file. But that single .gz file is expected to be generated by "imgexport" command. To generate this .gz file, "imgexport" command expects as input, an existing xCAT osimage object definition.

Perhaps someone on this mailing list knows how to turn .img file into xCAT image definition ?

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would it?"
--Albert Einstein





From: Nora D <***@live.com<mailto:***@live.com>>
To: "xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>" <xcat-***@lists.sourceforge.net<mailto:xcat-***@lists.sourceforge.net>>
Date: 04/10/2017 11:52 AM
Subject: [xcat-user] imgimport on .img files ??!!?
________________________________



I have a master virtual node (kvm/libvirt) with xCAT installed in it.

I moved an OS image file to the node (myImage.img).

I want xCAT to recognize it so I used the imgimport command:
imgimport myImage.img

I got the error:
Unbundling image...
Error: Failed to extract bundle myImage.img

So I compressed the image file with the following command:
gzip myImage.img

And I got:
myImage.img.gz

So I executed:
imgimport myImage.img.gz

But I'm still getting the same error.


Please help me how can I fix this? How can I use imgimport with .img files?

Please help me I am a total beginner in xCAT and Linux :'(!!!


Sent from my iPhone

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-***@lists.sourceforge.net<mailto:xCAT-***@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user
Loading...