Can't create EMI through store or Terminal
Hello,
I have created a cluster and a node. I have tried to download the image from store tab of UEC but I get an error "Error 28: connect() timed out!". I tried solving it but couldn't.
Than I tried following the instructions on https:/
I ran the command
uec-publish-tarball lucid1.tar.gz "${RELEASE}
lucid1 being my tarball and i386 the architecture. I get the output
Wed Jul 21 09:10:19 BST 2010: ====== extracting image ======
Warning: no ramdisk found, assuming '--ramdisk none'
kernel : lucid-server-
ramdisk: none
image : lucid-server-
Wed Jul 21 09:11:39 BST 2010: ====== bundle/upload kernel ======
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
cert_
AttributeError: Euca2ool instance has no attribute 'get_environ'
failed to bundle kernel lucid-server-
failed: euca-bundle-image --destination /tmp/uec-
I am stuck here for a long time. Please Help
Thanks
Regards
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2010-07-22
- Last reply:
- 2010-07-23
Torsten Spindler (tspindler) said : | #1 |
I suggest you manually upload the image via
1) euca-bundle-image
2) euca-upload-bundle
3) euca-register
Do this for the kernel and image itself. The details are outlined on
https:/
Alternate
Shujaat (shujaathussain) said : | #2 |
Thanks for replying. I tried solving it like you mentioned. i took a karmic tarball and tried to run these commands
BUCKET_
UEC_KERNEL=
euca-bundle-image -i $UEC_KERNEL -r i386 --kernel true
euca-upload-bundle -b $BUCKET_KERNEL -m /tmp/$UEC_
EKI=$(euca-register $BUCKET_
On running the 3rd command
euca-bundle-image -i $UEC_KERNEL -r i386 --kernel true
gave me errors below
Traceback (most recent call last):
File "/usr/local/
main()
File "/usr/local/
cert_
AttributeError: Euca2ool instance has no attribute 'get_environ'
What should be my next step?
Thanks for helping
Scott Moser (smoser) said : | #3 |
I think that you must have a old version of euca2ools in your python path somewhere, or generally must have a mismatch of 'euca-bundle-image' in your /usr/local/bin and libraries possibly in /usr/share/
Scott Moser (smoser) said : | #4 |
I think that you must have a old version of euca2ools in your python path somewhere, or generally must have a mismatch of 'euca-bundle-image' in your /usr/local/bin and libraries possibly in /usr/share/
Shujaat (shujaathussain) said : | #5 |
What should I do then and how? Any ideas
Thanks for replying
Scott Moser (smoser) said : | #6 |
Well, there must be something wrong.
You haven't said what your OS is, if you're running the euca2ools on any ubuntu, you should not have (or be using) euca-* files in /usr/local/bin. You probably want to uninstall those files however you installed them, and possibly reinstall (apt-get install --reinstall euca2ools) the packaged euca2ools.
Can you help with this problem?
Provide an answer of your own, or ask Shujaat for more information if necessary.