| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-12-05 | |||
| 10:42:18 | openstackgerrit | Stephen Finucane proposed openstack/osc-placement master: tox: Hide deprecation warnings from stdlib https://review.openstack.org/611884 | |
| 10:54:47 | openstackgerrit | Merged openstack/nova master: Always read-deleted=yes on lazy-load https://review.openstack.org/575190 | |
| 11:03:13 | kashyap | stephenfin: Hi, I got (again) logged out of IRC here. So if you pinged me, I haven't noticed. | |
| 11:03:23 | kashyap | But yes, this is on the top of my pile: https://review.openstack.org/#/c/575735/ | |
| 11:10:13 | zigo | I'm getting this in my nova-compute.log: http://paste.openstack.org/show/736696/ Where should I look to fix this? | |
| 11:11:54 | zigo | "Placement API returning an error response: JSON does not validate: 0 is less than the minimum of 1" in nova-placement-api.log too ... | |
| 11:12:25 | zigo | bauzas: ^ help ? :) | |
| 11:14:20 | gibi | zigo: '[{'DISK_GB': {'max_unit': 0, 'step_size': 1, 'min_unit': 1, 'reserved': 0, 'allocation_ratio': 1.0, 'total': 0}' it is an invalid part as total needs to be >= 1 | |
| 11:14:46 | gibi | zigo: if there is no resouce of DISK_GB then we should not include the resource class to the request at all | |
| 11:15:07 | zigo | gibi: Ok, so it lacks space on the Ceph backend, or something? | |
| 11:16:33 | kashyap | gibi: Hi, I'm just doing another test for this: https://review.openstack.org/#/c/575735/ | |
| 11:16:34 | gibi | zigo: somehow the nova-compute sees 0 disk | |
| 11:16:41 | zigo | Right. | |
| 11:16:45 | kashyap | gibi: And then add a comment there today. Was off yesterday; sorry for the terrible delay. | |
| 11:16:52 | zigo | I just wonder how/where it looks. | |
| 11:17:25 | gibi | kashyap: no worries, ping me if your fine with that patch an I will upgrade my vote | |
| 11:17:44 | kashyap | Yeah, Georg is right; the patch is correct. I just want to match my test w/ Georg's | |
| 11:17:58 | gibi | kashyap: sure, do your test :) | |
| 11:18:09 | kashyap | In progress; nested KVM envs... | |
| 11:19:05 | zigo | Oh, I believe there's an issue in my Ceph cluster. | |
| 11:19:26 | zigo | None of my PGs are active... | |
| 11:19:42 | gibi | zigo: https://github.com/openstack/nova/blob/3a8dd02c81e4d8393f5bb5e105bbff0e628594d6/nova/compute/resource_tracker.py#L721 | |
| 11:19:58 | gibi | zigo: this is the place where the compute node calls the virt driver to get the available resourves | |
| 11:20:06 | zigo | gibi: Thanks ! | |
| 11:34:02 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/pike: Update docs for _destroy_evacuated_instances https://review.openstack.org/621203 | |
| 11:34:04 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/pike: compute: Ensure pre-migrating instances are destroyed during init_host https://review.openstack.org/621205 | |
| 11:34:04 | openstack | bug 1764883 in OpenStack Compute (nova) "Evacuation fails if the source host returns while the migration is still in progress" [Undecided,Fix released] https://launchpad.net/bugs/1764883 - Assigned to Lee Yarwood (lyarwood) | |
| 11:34:04 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/pike: Add regression test for bug #1764883 https://review.openstack.org/621204 | |
| 11:49:07 | kashyap | There goes another 18 mintes for `make stack`. | |
| 11:54:43 | gibi | kashyap: Total runtime 632 | |
| 11:55:34 | gibi | kashyap: ubuntu 18.04, RECLONE=False, OFFLINE=False, horizon and tempest disabled | |
| 11:55:35 | kashyap | gibi: Is that in seconds? | |
| 11:55:41 | kashyap | (That 632) | |
| 11:55:42 | gibi | kashyap: yes | |
| 11:56:02 | kashyap | gibi: And is that on baremetal? Or in a VM (that's capable of nested virt) | |
| 11:56:45 | gibi | kashyap: in a kvm VM, with 8G ram and 2 vcpu | |
| 11:57:24 | kashyap | Interesting. I'm doing something same (on a pre-prod Haswell hardware from 5 years ago) | |
| 11:57:28 | kashyap | ENABLED_SERVICES=g-api,g-reg,key,n-api,n-cpu,placement-api,n-sch,n-cond,n-sproxy,mysql,rabbit,dstat,quantum,q-svc,q-agt,q-dhcp,q-l3,q-meta | |
| 11:57:35 | kashyap | gibi: The above are my services ^ | |
| 11:57:54 | kashyap | I think I'll get a different timing if I run it on an SSD disk. | |
| 11:58:28 | gibi | kashyap: this is my local conf http://paste.openstack.org/show/736698/ | |
| 11:58:56 | gibi | kashyap: I'm running this on a fairly new hp 840 G5 | |
| 11:59:12 | sean-k-mooney | kashyap: devstack is still one of the fasest installes i have used | |
| 12:00:18 | kashyap | gibi: That's mine: http://paste.openstack.org/show/736699/ | |
| 12:00:30 | sean-k-mooney | in genreal even with RECLONE=True i rarely exceed 15Mins on baremetal or 20 on a vm | |
| 12:00:33 | kashyap | sean-k-mooney: Oh, agreed. It is "the" fastest, IMO | |
| 12:00:51 | sean-k-mooney | kashyap: kolla-ansible is fater if you have the images | |
| 12:00:54 | kashyap | I don't have RECLONE enabled. (I'll assume it defaults to 'false') | |
| 12:01:00 | sean-k-mooney | but not by much | |
| 12:01:05 | sean-k-mooney | kashyap: it does | |
| 12:01:16 | sean-k-mooney | i normally run in offline mode however | |
| 12:01:30 | kashyap | What does 'OFFLINE' do, remind me again, please | |
| 12:02:02 | sean-k-mooney | it skips cloning and uses the git repos you have and also skps installing packages | |
| 12:02:18 | sean-k-mooney | it just configres teh services/dbs and runs them | |
| 12:02:24 | gibi | kashyap: my runs from a nvme ssd | |
| 12:03:13 | sean-k-mooney | on baremetal with OFFLINE=True a compute node will stack in under a miniute | |
| 12:03:19 | kashyap | Yeah, I NVMe on my laptop as well; mine is running on a slow remote machine; /me refreshes his local env. | |
| 12:03:36 | kashyap | [OT] Meanwhile, check this out folks: http://qemu-advent-calendar.org/ | |
| 12:03:45 | kashyap | Today's image is by yours truly :D | |
| 12:03:58 | kashyap | (If you liked it, we also organized it in 2016: http://www.qemu-advent-calendar.org/2016/) | |
| 12:04:03 | kashyap | And this year is 15 years of QEMU. | |
| 12:04:32 | kashyap | If you're wondering WTH is this QEMU Advent, then read the "About" paragraph (https://www.qemu-advent-calendar.org/2018/#about) | |
| 12:05:29 | kashyap | The QEMU Advent Calendar 2018 features a QEMU disk image each day of December until Christmas. Each day a new package becomes available for download | |
| 12:05:29 | kashyap | [quote] | |
| 12:05:32 | kashyap | [...] | |
| 12:05:34 | kashyap | The disk images contain interesting operating systems and software that run under the QEMU emulator. Some of them are well-known or not-so-well-known operating systems, old and new, others are custom demos and neat algorithms. | |
| 12:05:38 | kashyap | [/quote] | |
| 12:05:41 | kashyap | If anyone has ideas for images, more than welcome! | |
| 12:06:05 | gibi | kashyap: :) | |
| 12:06:34 | jangutter | kashyap: Will December 24's image be a virtualization platform capable of running December 24's image? | |
| 12:07:03 | kashyap | gibi: Some 3 years ago, I tried to compress an OpenStack DevStack install under 200 MB. But I could only come up to 618 MB. :-( | |
| 12:07:13 | kashyap | (The artifact is still here: https://kashyapc.fedorapeople.org/virt/advent-qemu/) | |
| 12:07:26 | kashyap | jangutter: 24th / 25th is usually a custom surprise. | |
| 12:07:45 | kashyap | jangutter: And even custom-coded by some community members. Not going to ruin the surprise further :D | |
| 12:07:49 | jangutter | kashyap: I still fondly remember the QNX boot floppies. | |
| 12:08:35 | kashyap | So here's an open challenge: I wonder if anyone can really get a "xz-compressed" DevStack disk image that is _under_ 280 MB. | |
| 12:08:44 | kashyap | jangutter: Heh | |
| 12:10:11 | kashyap | An extremely minimal DevStack that fits under 280 MB in a disk image requires ugly hacks like removing directories (e.g doc, man pages) from the OS. Tried some of those and gave up as it was a really uphill battle | |
| 12:11:24 | sean-k-mooney | kashyap: i mean it does not sound that hard | |
| 12:11:35 | kashyap | Try it. | |
| 12:11:44 | sean-k-mooney | espially if i dont have to include the git repos | |
| 12:11:46 | kashyap | I dare you, double-dare you :D | |
| 12:12:00 | kashyap | sean-k-mooney: Yeah, that's also I considered | |
| 12:12:06 | kashyap | Removing the 'git repos' | |
| 12:12:16 | gibi | I root for you, sean-k-mooney | |
| 12:12:41 | kashyap | It's going to take a full week of concentrated effort to prepare this image. If one attempts at all | |
| 12:13:35 | kashyap | (In the past, i.e.) | |
| 12:13:39 | sean-k-mooney | kashyap: well what base os did you start with | |
| 12:13:58 | kashyap | sean-k-mooney: Bare-minimal Fedora -- with @base (300 packages or so) | |
| 12:14:05 | jangutter | kasyap: you just want someone to port OpenStack to OpenEmbedded | |
| 12:14:19 | kashyap | That's the kickstart: https://kashyapc.fedorapeople.org/virt/fed-minimal.ks | |
| 12:14:26 | kashyap | s/base/core/ | |
| 12:14:52 | jangutter | kasyap: it should be pretty trivial if the image just loads a 1GB blob from the network into RAM. | |
| 12:15:23 | jangutter | kashyap: use the "curl XX | sudo bash" compression method. | |
| 12:15:35 | kashyap | Haha, yikes | |
| 12:16:55 | sean-k-mooney | jangutter: i mean that is how you install docker right :p | |
| 12:18:29 | sean-k-mooney | actully i wonder if my old docker devstack still works... | |
| 12:20:12 | jangutter | kashyap: you know the history behind tcc? ( https://en.wikipedia.org/wiki/Tiny_C_Compiler ) | |
| 12:20:33 | kashyap | jangutter: Hehe, funny you mention that! That was one of the images I prepared for the 2016 Advent Calendar! | |
| 12:20:44 | sean-k-mooney | jangutter: wasnt it for an obfucation compition intally | |