Giter Site home page Giter Site logo

Comments (10)

jjasghar avatar jjasghar commented on August 24, 2024

Thanks for the report, I'll dig into it ASAP.

from knife-rackspace.

vidluther avatar vidluther commented on August 24, 2024

Any insights? Is this something we would need to get changed at the account level?

from knife-rackspace.

maxlinc avatar maxlinc commented on August 24, 2024

@smashwilson any idea? You made the Fog changes referenced above.

from knife-rackspace.

smashwilson avatar smashwilson commented on August 24, 2024

@maxlinc I did indeed add boot-from-volume support to Fog, yes.

The newer flavors only support using a remote cloud block device as the boot volume.

I was surprised to discover this, but it's true. If you use any of the compute or memory flavors, the only available boot source is boot-from-volume. This is also reflected in the Rackspace control panel:

Only boot-from-volume available:
screen shot 2014-12-19 at 7 54 33 am

Selectable boot sources for general-purpose flavors:
screen shot 2014-12-19 at 7 54 53 am

This isn't a Fog bug - it's a consequence of the way that the compute and I/O flavors are configured on Rackspace's end. To support these flavors, we'll need the ability to specify boot-from-volume from knife-rackspace.

As a result, knife rackspace can't create these, since it seems the API call to create the server now requires the UUID of a cloud block storage volume prepared with an image.

That's one way to do it, although there is an easier route: if you give Fog an image ID as :boot_image_id, the API will automatically create a volume bootstrapped from the chosen image and use it to launch the server in a single call. :image_id must still be provided, but left blank:

s = compute.servers.create name: 'non-bfv', image_id: '', boot_image_id: ubuntu_1404, flavor_id: 'compute1-4'

(The :image_id bit there is confusing and could be improved, though; ideally we should set :image_id automatically if one of the boot-from-volume parameters are provided.)

I think the answer here is to give knife-rackspace the ability to pass :boot_volume_id or :boot_image_id to the server creation call. I could have a look into making a PR if you'd like me to, although this codebase would be new to me.

from knife-rackspace.

jpunzel avatar jpunzel commented on August 24, 2024

@tdooner Looks like your PR was denied by the CLA bot. I'd love to see these changes merged.

from knife-rackspace.

vmihailenco avatar vmihailenco commented on August 24, 2024

Ping. Any news on this?

from knife-rackspace.

martinb3 avatar martinb3 commented on August 24, 2024

#95 appears to be good now, passing the CLA check. I'd love to see it merged! 👍

from knife-rackspace.

mattsmitton avatar mattsmitton commented on August 24, 2024

Bump, would love to have this!

from knife-rackspace.

Paladin avatar Paladin commented on August 24, 2024

Just a comment, here:

Device Mapping is still invalid and there needs to be an indication that boot-volume-size is now required (or a workable default plugged in).

from knife-rackspace.

martinb3 avatar martinb3 commented on August 24, 2024

@Paladin we should probably open this as a new issue, since this issue is a year old and closed. Could you open an issue and show us the command you're trying to run?

from knife-rackspace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.