1 step forward 2 steps back? openstack and img creation issues

February 20, 2013

dealing with image creation in all clouds is completely full of suck. I’d more or less come to terms on it with euca but now I’m trying to do the same thing with openstack and encountering some super-duper happy fun times.

I have a rhel6 img which works and boots – it is qcow2 based so it handles kernel updates, etc properly, yay. However it handles resizing  the / filesystem exactly not at all.

If I make the rhel6 img an ami and upload kernel/ramdisk – it’ll resize (well dump it out) into a large filesystem – no problem – but it handles kernel updates not at all.

I would like to have both, I think I deserve to have both, i’ll be damned if any of my testing comes up with both. I’ve done a fair amount of googling and LOTS of things I’ve found say that the qcow2 or raw img should just work in either openstack essex or folsom but I am not having that experience.

Anyone have a suggestion?

36 Responses to “1 step forward 2 steps back? openstack and img creation issues”

  1. rich Says:

    Seth, I’m not totally sure what the problem is, but have you looked at virt-resize?

    • skvidal Says:

      This is IN the instance – not before. Remember – these instances are inside qemu/kvm – but they are being spawned by openstack. The resize of the image it is making for the instance has already happened before the instance boots.

      The problem is the instance is booted. We need to grow the mounted/running / to fill out the rest of the space.

      I can do this if I reboot the instance but that’s kinda an odd requrement all things considered.

  2. apevec Says:

    You might want to look at cloud-utils recently announced on Fedora Cloud SIG list, it contains growpart script.

    • skvidal Says:

      apevec: we have looked at it – the issue is still – we need to do the repartitioning in the initramdisk otherwise we have to reboot.

      See my next post on the subject.

  3. OpenStack could use virt-resize –expand on the image before it’s booted. One caveat with that is that a partition needs to be specified. It would benefit from some introspection to select the root or largest file system and expand everything under that.

    Anyway these are on the TODO list:

  4. Darwin Says:

    <. nike free run shoes are the perfect gift for a runner. While it may seem like the distinction is obvious, the fact is it's not always as clear as a name.

  5. But, Maria is described as pleasant and happy, always
    smiling as she talks to her mother and caregivers. Retrieved on July
    26, 2009 from Website:. They will show you how to change the batteries, clean the hearing aid properly and how to distinguish the right ear piece from
    the left ear piece.

  6. hghxl.org.uk Says:

    In fact no matter if someone doesn’t know after that its up to other people tat they wilol assist, so here it happens.

  7. Asking questions are truly pleasant thing if you are not unerstanding something entirely,
    except this piece of writing offers pleasant understanding yet.

  8. Great post. I was checking constantly this weblog and I amm inspired!

    Very useful info particularly the closing section :) I care
    for such info a lot. I used to be seeking thhis partihular info for a lon time.

    Thankks and best of luck.

  9. Tahlia Says:

    I simply couldn’t go away your website prior to suggesting that I actually loved
    the usual information a person provide in your guests? Is
    gonna be back frequently in order to check uup on new posts

  10. Resvibrant Says:

    Hi there terrific blog! Does running a blog like
    this take a massive amount work? I’ve very little expertise in computer programming but
    I had been hoping to start my own blog soon. Anyways, if you have
    anny ideas or tips for new blog owners please share.
    I know this is off subject but I just needed to ask.
    Appreciate it!

  11. You can check out the full interview to the left of this article.
    Kailyn and Jo agreed they needed to continue to get along, which Jo didn’t foresee being a problem.
    These T-shirts are undoubtedly most appropriate option for a boy’s wardrobe.

  12. Valeria Says:

    Hi there! Someone iin my Facebook group shared this site with us so I came
    to look it over. I’m definitely enjoying the information. I’m bookmarking
    and will be tweeting this to my followers!
    Fantastic blog and terrific style and design.

  13. In 1859, the pyramidologist John Taylor claimed that, in the Great Pyramid of Giza , the golden ratio is
    represented by the ratio of the size of the face (the slope
    height), inclined at an angle θ to the ground, to half the length of the side of the square base, equivalent
    to the secant of the angle θ. sixty one The above two lengths had been about 186.four and one hundred fifteen.2 meters respectively.

  14. coupons Says:

    Thank you a lot foor giving everyone such a remarkable possiblity to check tips from this
    web site. It is always so lovely and also packed with a geat time for me personally and my offie peers to visit the blog no less thaqn thrice in one week to leasrn the new secrets
    you have got. And lastly, we are always astounded for the terrific principles you serve.
    Selected 3 facts in thus post are absolutely the very bedst we’ve ever had.

  15. We opted for a non-public tour as we had been too late for the group

  16. Appreciate the recommendation. Will try iit out.

  17. There is no precise help for this idea, however even if it have been true,
    it might have been unlikely to be eventuated.

  18. Sondra Says:

    rapid progress of algae that may threaten an aquatic environment by decreasing the amount of oxygen within the water, blocking
    sunlight, or releasing toxic chemical compounds.

  19. Most of the states have their speciality to supply.
    For example go for silk sarees in case you are visiting
    Benaras; Block prints if you are in Jaipur.

  20. A number of the rebels who had retreated from Delhi had been mentioned to have rallied at
    Muttra close to Agra, and the garrison have been alarmed at what seemed to be an imminent menace.

  21. tour agra Says:

    Namanga Ngongi, AGRA’s president, has underlined that
    technological improvement was not the only factor in improving African agriculture; ‘…it’s also necessary to reduce the prices of transactions, to raised manage coaching and
    commercialization, to mobilize local banks; capital is not lacking, but fairly expertise and strategies
    to lend cash to the small farmer’.

  22. Grown males come and sit subsequent to me, put their arm round me and have their
    wives take a photograph.

  23. An account will assist you to track your edits, get entangled in discussions, and be part of the community.

  24. In addition to the sunshine from the balcony screens,
    mild enters through roof openings covered by chattris on the corners.

  25. Can I just say whbat a comfort to discover an individual who actually knows what they are talking about
    over the internet. You actually understand how to
    bring ann issue to light and make it important.
    More people should read this and understand this side of your story.
    Ican’t believe you are not more popular given thawt you most certainly have the gift.

  26. Paragliding and different activities are available for the tourists,
    but for a lot of, the best solution to spend time in Solang is by doing

  27. Delhi’s Indira Gandhi worldwide and domestic airport terminals are
    the closest to Agra.

  28. In step with the Islamic prohibition in opposition to using anthropomorphic forms,
    the decorative parts could be grouped into either
    calligraphy , summary forms or vegetative motifs.

  29. This time, too, there have been export bans, meals riots, panic shopping for, and emergency worth controls,
    simply as in 2007-2008.

  30. Mahal photograph mahal agra india mahal tour greatest assortment of mahal photographs or photos mahal
    pictures has been taken by skilled express eight days india india holidays india specific is an eight day group
    of india experience the richness and colour of indian culture and soak up delhi each
    old and new the famous mahal and the mahal golden tringle india
    tour operator mahal india tour operator hosting to mahal a symbol of affection with
    delhi through mahal bundle mahal tour packages delhi mahal.

  31. It is a pity that we didn’t go to Jama Masjid.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: