Comments (10)
Thanks for the report, I'll dig into it ASAP.
from knife-rackspace.
Any insights? Is this something we would need to get changed at the account level?
from knife-rackspace.
@smashwilson any idea? You made the Fog changes referenced above.
from knife-rackspace.
@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:
Selectable boot sources for general-purpose flavors:
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.
@tdooner Looks like your PR was denied by the CLA bot. I'd love to see these changes merged.
from knife-rackspace.
Ping. Any news on this?
from knife-rackspace.
#95 appears to be good now, passing the CLA check. I'd love to see it merged! 👍
from knife-rackspace.
Bump, would love to have this!
from knife-rackspace.
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.
@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)
- Cloud/Rackspace attributes not being set HOT 3
- Exception in post bootstrap summary HOT 1
- Support for Rackconnect version 3 HOT 1
- Fix tests
- undefined method label for Fog::Compute::RackspaceV2::Image
- --retry-ssh-limit command line option isn't used HOT 1
- knife rackspace server create issue with creating compute* and memory* server HOT 5
- knife-cloud
- Release with breaking changes HOT 8
- server list not working - undefined method `label' HOT 1
- knife rackspace server create failing HOT 7
- wimrm conflict during bootstrap HOT 10
- New release ? HOT 1
- errors with chefdk v1.2.20 HOT 1
- Error creating machine after new CHEFDK release. HOT 17
- Added functionality for cloud server Tags to the 'server create' command
- Get rid of my knife-dsl fork
- Unable to create instance with knife. HOT 5
- Set the user agent
- --rackspace-metadata throws exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knife-rackspace.