| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-01-16 | |||
| 22:50:20 | dustinc | ok, maybe I will drop my other task to get that done.. | |
| 23:52:55 | openstackgerrit | Merged openstack/nova stable/rocky: Join migration_context and flavor in Migration.instance https://review.opendev.org/696572 | |
| #openstack-nova - 2020-01-17 | |||
| 00:30:17 | openstackgerrit | melanie witt proposed openstack/nova master: DNM: try to get some debug info for bug 1844929 https://review.opendev.org/701478 | |
| 00:30:17 | openstack | bug 1844929 in OpenStack Compute (nova) "grenade jobs failing due to "Timed out waiting for response from cell" in scheduler" [High,Confirmed] https://launchpad.net/bugs/1844929 | |
| 01:00:03 | brinzhang | stephenfin: thanks, that's true, we should update the updated_at field before aggregate or host save() | |
| 01:09:24 | openstackgerrit | Brin Zhang proposed openstack/nova master: Populate 'updated_at' when aggregate is updated https://review.opendev.org/580271 | |
| 01:10:36 | brinzhang | stephenfin, efried: done | |
| 01:13:37 | openstackgerrit | Brin Zhang proposed openstack/nova master: FUP Populate the 'updated_at' when aggregate metadata is updated https://review.opendev.org/702790 | |
| 03:55:12 | openstackgerrit | Dustin Cowles proposed openstack/nova master: Provider Config File: Functions to merge provider configs to provider tree https://review.opendev.org/676522 | |
| 03:55:12 | openstackgerrit | Dustin Cowles proposed openstack/nova master: Provider Config File: Enable loading and merging of provider configs https://review.opendev.org/693460 | |
| 04:02:59 | dustinc | efried, gibi: ^ series ready for re-review, thanks!! | |
| 05:51:26 | openstackgerrit | Brin Zhang proposed openstack/nova master: Follow-up: Add delete_on_termination to volume-attach API https://review.opendev.org/680655 | |
| 08:44:54 | kiseok7 | Hello all, I would like to add a code on upstream; an option in [cinder] section to allow to attach only volumes in the specified AZ. how I can process it? it need a blue print? | |
| 08:46:52 | lyarwood | kiseok7: doesn't [cinder]/cross_az_attach=False provide this? | |
| 08:47:09 | lyarwood | kiseok7: or did you want use a specific cinder AZ | |
| 08:47:20 | lyarwood | want to* | |
| 08:56:28 | kiseok7 | lyarwood: yes, it provides a part of. with [cinder]/cross_az_attach=False, nova creates instance with a volume in same AZ. but in my case, I need to attach another volume to the instance in different AZ. | |
| 09:02:19 | lyarwood | kiseok7: kk, I thought the AZ stuff in cinder was just left over from when it was nova-volume in our tree tbh, it might be worth writing this up on the mailing list for a wider discussion. | |
| 09:04:24 | kiseok7 | lyarwood: thank for help . I will try it. | |
| 09:21:15 | bauzas | good morning Nova | |
| 10:03:36 | brinzhang | bauzas: good morning | |
| 10:04:01 | bauzas | brinzhang: morning ! | |
| 10:04:02 | brinzhang | nova has the nova-live-migration zuul fail, can you try to check? | |
| 10:04:57 | brinzhang | bauzas: that impact so many patch :( | |
| 10:05:20 | bauzas | brinzhang: orly? | |
| 10:05:31 | bauzas | I can look at the gate | |
| 10:05:58 | brinzhang | Yeah, cool~ | |
| 11:33:44 | admin0 | hi all .. if all 3 controllers crashed ( no db anymore, wiped out) and all I have is the compute node now ( with the disk file) how do I boot it up ? i can't seem to find the libvirt xml anywhere | |
| 11:37:22 | yoctozepto | admin0: libvirtd alive? could ask it via virsh | |
| 11:37:50 | admin0 | virsh list --all == blank | |
| 11:37:51 | yoctozepto | oh, you probably mean that node died too | |
| 11:38:41 | admin0 | i have to showcase how openstack saves data even when the 3 controllers are dead .so instealled openstack,booted up some instances, nuked the 3 controllers and rebooted the compute node | |
| 11:38:51 | admin0 | so all i see now is the disk files in nova | |
| 11:39:03 | admin0 | but not the .xml definitions | |
| 11:39:08 | yoctozepto | well, the definitions are in the database... | |
| 11:39:21 | yoctozepto | if you want to show just that data is where it is | |
| 11:39:43 | yoctozepto | could boot any other vm and attach this image | |
| 11:39:52 | sean-k-mooney | admin0: well nova does not exactly save data on the compute nodes but in the live case there will be libvirt domain xmls | |
| 11:39:54 | admin0 | but for the test-case, all 3 controllers and db is nuked and unavailable | |
| 11:40:15 | yoctozepto | admin0: yeah, but you said you have the disk files | |
| 11:40:21 | admin0 | i do have them | |
| 11:40:24 | yoctozepto | could boot any vm in there | |
| 11:40:28 | yoctozepto | on that compute host | |
| 11:40:36 | yoctozepto | if you really want to show it is there for some reason | |
| 11:40:39 | sean-k-mooney | so when the contler are gone you can still use virsh to start the instaces | |
| 11:40:52 | admin0 | the only way i see is install virt-manager on my machne, add the compute node, and then create a new instance pointing to this disk | |
| 11:40:53 | sean-k-mooney | by the way you proably need to use sudo virsh list --all | |
| 11:41:09 | yoctozepto | ^ and this | |
| 11:41:12 | sean-k-mooney | if you dont use sudo you wont see the system slice | |
| 11:41:33 | yoctozepto | sean-k-mooney: admin0 mentioned downing the compute | |
| 11:41:36 | admin0 | i am logged in as root, did sudo virsh list --all .. see nothing | |
| 11:41:43 | yoctozepto | so it's likely it's reallly not there | |
| 11:41:46 | admin0 | yes .. the compute node was also rebooted | |
| 11:41:50 | yoctozepto | yeah | |
| 11:41:59 | yoctozepto | then either restore controllers | |
| 11:42:07 | sean-k-mooney | ok in that case have you confirmed the libvirtd systemd service is running | |
| 11:42:19 | admin0 | so test case is "oops something bad happened" . controllers are nuked, db is gone and compute nodes are rebooted | |
| 11:42:30 | sean-k-mooney | no the domains will be there | |
| 11:42:38 | sean-k-mooney | it wont be affect by the reboot | |
| 11:42:39 | admin0 | which folder | |
| 11:43:06 | sean-k-mooney | ill have to check but first you should make sure the libvirt is running | |
| 11:43:22 | sean-k-mooney | do sudo systemctl status libvirtd | |
| 11:43:47 | admin0 | its active and running | |
| 11:44:08 | sean-k-mooney | and you have no domain definitions? | |
| 11:44:24 | sean-k-mooney | did you put your instnace dir on nfs? | |
| 11:44:43 | yoctozepto | sean-k-mooney is right, I just verified instance files are really persistent | |
| 11:44:47 | yoctozepto | sorry, I got confused | |
| 11:44:56 | admin0 | nope -- https://gist.github.com/a1git/d5d6c0cbb1e89ce6f7a7c5476b43f472 | |
| 11:45:04 | yoctozepto | my path is: /etc/libvirt/qemu/ | |
| 11:45:05 | admin0 | its local disk | |
| 11:45:08 | admin0 | oh | |
| 11:45:13 | admin0 | i was lookign into the wrong place | |
| 11:45:26 | admin0 | i see the instance definitions | |
| 11:45:36 | admin0 | but i cannot see them using sudo virsh list --all then ? | |
| 11:45:43 | yoctozepto | hmm, strange | |
| 11:45:58 | sean-k-mooney | how have you deployed openstack by the way | |
| 11:46:14 | sean-k-mooney | devstack? ooo? kolla? | |
| 11:47:00 | yoctozepto | (I have kolla and sean-k-mooney was right regarding behavior in there) | |
| 11:47:04 | admin0 | osa ( openstack ansible ) | |
| 11:47:12 | yoctozepto | ah, the third option | |
| 11:47:18 | admin0 | :D | |
| 11:47:20 | yoctozepto | or the fourth actually ;D | |
| 11:47:25 | yoctozepto | (counting devstack) | |
| 11:47:31 | admin0 | well, hav been trying to do kolla many times .. but still on osa | |
| 11:47:40 | yoctozepto | no problem | |
| 11:48:08 | sean-k-mooney | ok so you libvirt is running in an lxc container or on the host? | |
| 11:48:24 | admin0 | thing is if i ask some hard questions on kolla related to config or troubleshooting, there is no help on kolla but on osa its more in depth and instant .. which probably is because of rackspace | |
| 11:48:29 | admin0 | its on metal | |
| 11:48:56 | sean-k-mooney | ok can you try virsh --connect qemu:///system list | |
| 11:48:58 | yoctozepto | admin0: :O no help on kolla? how is that? | |
| 11:49:30 | sean-k-mooney | well i guess with --all | |
| 11:50:24 | sean-k-mooney | the xmls should be in /etc/libvirt/qemu | |
| 11:50:27 | yoctozepto | admin0: finally try: virsh define /etc/libvirt/qemu/that_one_file_you_missed_so_much.xml - maybe there was an error in there | |
| 11:51:09 | admin0 | error: invalid argument: could not find capabilities for arch=x86_64 -- wow .same server .. | |
| 11:51:44 | yoctozepto | see, now you got help from kolla, your argument is no longer valid (pun intended) | |
| 11:51:55 | yoctozepto | ;D | |
| 11:52:13 | yoctozepto | kidding aside, this really looks lolz | |
| 11:52:45 | sean-k-mooney | it looks like libvirt cannot find the x86_64 emulator | |
| 11:52:57 | admin0 | i will try kolla again .. won't doubt that .. but this is #nova channel :D | |
| 11:53:01 | yoctozepto | mhm, at least its config/definitions | |