| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-09-12 | |||
| 18:12:20 | aspiers | efried: I fixed the glance metadata and it makes SEV quite nice to set up from Horizon https://review.opendev.org/#/c/681866/ | |
| 18:13:13 | sean-k-mooney | did you also update the usful image properts. apparenlty that is a thing you are ment too do | |
| 18:13:23 | aspiers | sean-k-mooney: click the link ;-) | |
| 18:13:45 | sean-k-mooney | yep just did and you did + added the release note | |
| 18:13:56 | aspiers | sean-k-mooney: yes I extended your release note | |
| 18:13:57 | sean-k-mooney | so that shoudl be all in order | |
| 18:14:10 | sean-k-mooney | actully i exteded someone elses | |
| 18:14:25 | sean-k-mooney | they uses 1 release note per release apparely for al the metadefs | |
| 18:14:25 | aspiers | and I used git blame to find a good commit to copy and it was yours ;) | |
| 18:14:30 | aspiers | weird | |
| 18:14:36 | aspiers | but better to stay consistent | |
| 18:15:24 | aspiers | efried, sean-k-mooney: look how pretty it is! https://photos.app.goo.gl/MTuTzPnz165bVVaC6 | |
| 18:15:31 | sean-k-mooney | if it works for them. why not. the only issue would be backporting could be weird but you would not backport them anyway | |
| 18:15:56 | sean-k-mooney | ha you with your suse theming | |
| 18:16:03 | aspiers | :-D | |
| 18:16:07 | aspiers | believe it or not that is devstack | |
| 18:16:35 | sean-k-mooney | its says suse openstack cloud | |
| 18:16:41 | aspiers | yup | |
| 18:16:47 | aspiers | it's still devstack ;) | |
| 18:16:50 | sean-k-mooney | oh you have enabled the plugin | |
| 18:16:50 | aspiers | with our theme | |
| 18:16:53 | sean-k-mooney | ya | |
| 18:16:59 | sean-k-mooney | it does look nice | |
| 18:17:21 | sean-k-mooney | aspiers: also its nice to have the docs programatially available | |
| 18:17:39 | aspiers | yes | |
| 18:17:45 | sean-k-mooney | you could in princapal hit the metadef api for the cli or heat too | |
| 18:17:49 | aspiers | I didn't really know it worked this way until today | |
| 18:17:51 | sean-k-mooney | heat does actully use it | |
| 18:17:57 | aspiers | Yeah I guessed it would | |
| 18:18:18 | sean-k-mooney | so the heat ui for flavors will pull that info too | |
| 18:18:23 | aspiers | exactly | |
| 18:19:01 | sean-k-mooney | i have a todo to go through all th eimage porperties we suppport in nova and figure out where the gaps are | |
| 18:19:12 | sean-k-mooney | i would like to get them all up to date | |
| 18:19:13 | stephenfin | so I have never done boot from volume before | |
| 18:19:18 | stephenfin | and our docs don't work | |
| 18:19:21 | stephenfin | hurrah! | |
| 18:19:22 | stephenfin | :D | |
| 18:19:25 | sean-k-mooney | do it from horizon | |
| 18:19:37 | stephenfin | looking at https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html | |
| 18:19:40 | sean-k-mooney | its the defualt if you have cinder instaled | |
| 18:19:41 | stephenfin | I got it working with novaclient | |
| 18:20:11 | openstack | bugzilla.redhat.com bug 1505465 in python-openstackclient "openstack server create can't parse --block-device option source=blank,dest=volume" [Medium,Closed: insufficient_data] - Assigned to jpichon | |
| 18:20:11 | stephenfin | thanks to a bug which we closed as not having enough info /o\ https://bugzilla.redhat.com/show_bug.cgi?id=1505465 | |
| 18:20:37 | stephenfin | i need me a whiteboard | |
| 18:20:38 | sean-k-mooney | well did you try https://docs.openstack.org/nova/latest/user/launch-instance-from-volume.html#create-volume-from-image-and-boot-instance | |
| 18:21:01 | stephenfin | I did. See step 3? '--block-device' doesn't exist | |
| 18:21:08 | stephenfin | that's the syntax from the novaclient command | |
| 18:21:18 | stephenfin | Another lossy conversion from novaclient to openstackclient, I suspect | |
| 18:21:32 | stephenfin | I hope I didn't review that, because I did a terrible job if so | |
| 18:21:59 | stephenfin | Doesn't matter though. I have live migration working between the two baremetal nodes _finally_ (only took three hours). Time to start manual testing | |
| 18:22:14 | sean-k-mooney | mriedem: would know but i think we wantd to add some syntatic sugar to make this better | |
| 18:22:21 | sean-k-mooney | stephenfin: ^ | |
| 18:22:37 | stephenfin | though it sounds you'll have most of it done before I even get started. Hurrah for automated testing | |
| 18:22:50 | stephenfin | Well, docs that are accurate would be a great start | |
| 18:23:19 | sean-k-mooney | as i said i ues horizon for this because well the docs always sucked | |
| 18:23:49 | sean-k-mooney | for "boot form voulem form image" anyway | |
| 18:23:54 | dtroyer | stephenfin: osc4 was released yesterday and has the block device fixes we did over the summer | |
| 18:24:07 | dtroyer | by 'we' I mean mriedem and others | |
| 18:24:18 | sean-k-mooney | im guessing we udpated the wrong docs | |
| 18:24:53 | stephenfin | dtroyer: o rly? If you can point me to the tl;dr: for that, I can incorporate it in the docs rework I'll do post feature freeze | |
| 18:24:55 | sean-k-mooney | dtroyer: ye/they added a cleaner syntax that hide most of the detail right | |
| 18:25:10 | mriedem | https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/server.html#server-create | |
| 18:25:15 | dtroyer | yes, was an entire forum session in Denver | |
| 18:25:15 | mriedem | [--boot-from-volume <volume-size>] is new | |
| 18:25:32 | sean-k-mooney | dtroyer: yep i was there whcih is why i rememebr this was a thing | |
| 18:25:36 | mriedem | and --block-device-mapping allows type=image | |
| 18:25:38 | stephenfin | I personally tried various combinations of --image, --volume, --block-device and --block-device-mapping before giving up and falling back to novaclient /o\ | |
| 18:26:32 | mriedem | stephenfin: https://review.opendev.org/#/q/topic:story/2006302+(status:open+OR+status:merged) | |
| 18:26:36 | sean-k-mooney | mriedem: can you do --boot-from-volume 100G --image <my image> now? | |
| 18:26:56 | mriedem | eff yeah you can | |
| 18:26:58 | sean-k-mooney | i was hoping it would end up bining somthing like ^ | |
| 18:27:11 | sean-k-mooney | awsome | |
| 18:27:39 | efried | aspiers: what's causing it to be spelled "flavours"? | |
| 18:27:45 | efried | that should be fixed | |
| 18:27:49 | aspiers | efried: my locale | |
| 18:27:55 | stephenfin | I guess what I wanted (not now) was the equivalent of 'nova boot --block-device source=image,id=<image ID>,dest=volume,size=10,shutdown=preserve,bootindex=0 ...' | |
| 18:28:00 | aspiers | and no, it should be fixed whenever it's spelt "flavors" :-p | |
| 18:28:03 | sean-k-mooney | efried: that is the correct spelling | |
| 18:28:04 | efried | 'flavor' should be a token | |
| 18:28:10 | mriedem | stephenfin: there is a thing like that | |
| 18:28:15 | mriedem | not the exact same syntax | |
| 18:28:19 | aspiers | efried: en_GB != en_US | |
| 18:28:22 | stephenfin | it sounds like with OSC 4 that's 'openstack server create --boot-from-volume 10G --image <image ID> | |
| 18:28:23 | stephenfin | ' | |
| 18:28:26 | stephenfin | *...' | |
| 18:28:37 | mriedem | stephenfin: yeah | |
| 18:28:45 | efried | aspiers, sean-k-mooney: I'm not disputing that the word "flavor" is spelled "flavour". This is not a word. It's the name of a thing. You can't issue a command with "openstack flavour ..." | |
| 18:28:59 | mriedem | maybe the osc functional test makes usage more clear https://review.opendev.org/#/c/674111/5/openstackclient/tests/functional/compute/v2/test_server.py | |
| 18:29:00 | aspiers | efried: which instance of "flavour" are you referring to? | |
| 18:29:06 | dtroyer | efried: /me makes a note for a special build… | |
| 18:29:21 | stephenfin | It's on the list of doc fixes I want to get to post feature freeze | |
| 18:29:25 | sean-k-mooney | efried: oh if its givign a cli example ya the US spelling needs to be used | |
| 18:29:40 | efried | I'm talking about this: https://photos.google.com/share/AF1QipOckLfsOWRShI0bwvHL-PGoVzhxwWM376UgImt2h1flG6AXslZmqiMvpF5V3EmxzA?key=MUNMbkVQVDMwbnlmQkswOVZLZldzRThyYV9BaGt3 | |
| 18:29:56 | efried | the title "Update Flavour Metadata" | |
| 18:30:05 | efried | You're not updating the metadata for a flavour. | |
| 18:30:10 | efried | You're updating the metadata for a flavor | |
| 18:30:15 | efried | no matter where you're sitting. | |
| 18:30:17 | aspiers | that's just Horizon's translation | |
| 18:30:35 | aspiers | imagine if it was Chinese | |
| 18:30:36 | efried | swhy I'm asking how that is being "translated". It shouldn't be. | |