Comments (5)
It is really confusion to split the image creation into
"heat-jeos tdl" and "heat-jeos image"
I didn't realize that I needed to do the first one until my image didn't work and found that the cfn-tools were all of size 0
How about the following:
$ heat-jeos list
Name Description
-------- ----------------
[lists available tdl, description from within the tdl]
$ heat-jeos create [name of tdl] <- nice and simple
- we make the image name based on the basename of the tdl (no arch, distro, bla bla)
- It does the same as the original "heat jeos create" BUT no glance registration.
- Print out the command needed to register with glance (it is only one command - no point in wrapping it)
- really simple, flexible and not confusing.
$ heat-jeos delete [name of tdl]
from heat-jeos.
I'm in favour of all of these suggestions except for this: I think we should still support a command that does the registration.
Right now when you want to set up heat, you have to do a lot of steps and one of them is:
sudo -E heat-jeos -y create F16 x86_64 cfntools
and it does everything. Now you'd need to have two commands:
sudo -E heat-jeos -y create F16-x86_64-cfntools
glance add name=F16-x86_64-cfntools is_public=true disk_format=qcow2 container_format=ovf < /var/lib/libvirt/images/F16-x86_64-cfntools-jeos.qcow2
It would complicate the getting started guide (the glance
command depends on the output of heat-jeos
which people could miss) and it would probably be less scriptable.
What if we added a --register-with-glance
option to heat-jeos create
? We would still print out the resulting image path, the glance command to run, etc. But we'd still have a single command that does it all.
Is there a reason we should tear out glance registration completely?
from heat-jeos.
At the moment I believe we need glance registration as a feature. If Richard Jones does something with registration of images (see http://fedoraproject.org/wiki/Features/OpenStack_using_Oz_for_image_building) it may make more sense to integrate with that upstream longer term.
The suggested flag --register-with-glance makes good sense
Regards
-steve
from heat-jeos.
OK, sounds good to me. Main point is to make it more obvious to use.
from heat-jeos.
My latest suggestion on mailing list based upon Angus's original thoughts:
heat-jeos list
id distro name distro version arch
F16-x86_64 Fedora 16 x86_64
U10.04.4-amd64 Ubuntu 10.04 amd64
F17-i386 Fedora 16 i386
distro name/version/arc would be parsed from the tdl files
heat-jeos create U10.04.4-amd64 --register-with-glance
from heat-jeos.
Related Issues (20)
- cfn-push-stats "Units" should be "Unit"
- heat-jeos can NOT run against latest glance
- Port cfn-push-stats to CloudWatch API
- Port cfn-signal to CloudWatch API HOT 2
- Port cfn-hup to use nova metadata HOT 1
- cfn_helper.py exposes credentials through world-readable tmpfile
- port cfn-hup to use heat Cloudformation API
- cfn-hup doesn't log to it's logfile
- heat-jeos always tries to delete an existing image HOT 1
- Openshift tdl broken
- heat-jeos fails silently when passed an invalid name
- cfn-signal reports success even when curl request fails
- Add a Debian v6 JEOS tdl
- cfn_helper.py has boto debugging on
- Authenticated metadata breaks cfn-init HOT 1
- Update non-Fedora TDLs to install required version of boto
- python-glanceclient code does not actually work HOT 1
- cfntools need to be able to use secure transport HOT 1
- cfn-get-metadata does not make use of --credential-file argument HOT 1
- cfn-hup does not work HOT 3
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 heat-jeos.