*** LinPeiWen has joined #openstack-kolla | 00:40 | |
*** zzzeek has quit IRC | 00:49 | |
*** zzzeek has joined #openstack-kolla | 00:50 | |
*** dswebb has quit IRC | 01:59 | |
*** k_mouza has joined #openstack-kolla | 02:16 | |
*** k_mouza has quit IRC | 02:21 | |
dmsimard | o/ i'm experimenting with metrics in ara and this is some data I have for kolla-ansible: http://paste.openstack.org/raw/799590/ | 02:40 |
---|---|---|
dmsimard | ^ takes the 10000 longest tasks and then gets metrics about them | 02:40 |
dmsimard | and this is a query with the latest 10000 tasks from kolla-ansible: http://paste.openstack.org/raw/799591/ | 02:42 |
*** xinliang has joined #openstack-kolla | 02:44 | |
*** xinliang has quit IRC | 03:14 | |
*** wuchunyang has joined #openstack-kolla | 03:44 | |
*** wuchunyang has quit IRC | 04:01 | |
*** skramaja has joined #openstack-kolla | 04:13 | |
*** zzzeek has quit IRC | 04:26 | |
*** zzzeek has joined #openstack-kolla | 04:28 | |
*** benj_ has quit IRC | 05:04 | |
*** benj_ has joined #openstack-kolla | 05:07 | |
*** evrardjp has quit IRC | 05:33 | |
*** evrardjp has joined #openstack-kolla | 05:33 | |
*** wuchunyang has joined #openstack-kolla | 05:46 | |
*** vishalmanchanda has joined #openstack-kolla | 06:22 | |
*** abdysn has joined #openstack-kolla | 06:28 | |
*** xinliang has joined #openstack-kolla | 06:36 | |
*** e0ne has joined #openstack-kolla | 07:02 | |
*** skramaja has quit IRC | 07:14 | |
*** skramaja has joined #openstack-kolla | 07:15 | |
*** brinzhang has joined #openstack-kolla | 07:26 | |
*** cah_link has joined #openstack-kolla | 07:27 | |
*** cah_link has quit IRC | 07:34 | |
*** cah_link1 has joined #openstack-kolla | 07:34 | |
*** cah_link1 is now known as cah_link | 07:37 | |
*** skramaja has quit IRC | 07:37 | |
*** skramaja has joined #openstack-kolla | 07:38 | |
*** xinliang has quit IRC | 07:40 | |
*** xinliang has joined #openstack-kolla | 07:41 | |
mnasiadka | dmsimard: I think there's something wrong with sorting :) | 08:31 |
*** bengates has joined #openstack-kolla | 08:55 | |
*** bengates has quit IRC | 08:55 | |
*** brinzhang_ has joined #openstack-kolla | 08:55 | |
*** bengates has joined #openstack-kolla | 08:55 | |
*** brinzhang has quit IRC | 08:58 | |
*** gfidente has joined #openstack-kolla | 09:00 | |
*** dougsz has joined #openstack-kolla | 09:01 | |
*** brinzhang0 has joined #openstack-kolla | 09:05 | |
*** brinzhang0 has quit IRC | 09:06 | |
*** brinzhang0 has joined #openstack-kolla | 09:07 | |
*** brinzhang0 has quit IRC | 09:08 | |
*** brinzhang0 has joined #openstack-kolla | 09:08 | |
*** brinzhang_ has quit IRC | 09:08 | |
*** born2bake has joined #openstack-kolla | 09:20 | |
*** rpittau|afk is now known as rpittau | 09:22 | |
*** nikparasyr has joined #openstack-kolla | 09:22 | |
*** abdysn has quit IRC | 09:24 | |
hrww | morning | 09:35 |
*** hrw is now known as Guest84224 | 09:38 | |
*** hrww is now known as Hrw | 09:38 | |
*** Hrw is now known as hrw | 09:38 | |
openstackgerrit | likui proposed openstack/kolla-ansible master: Use TOX_CONSTRAINTS_FILE https://review.opendev.org/760799 | 09:42 |
openstackgerrit | Michal Nasiadka proposed openstack/kolla master: WIP: Install es-curator from binary repos https://review.opendev.org/759354 | 09:45 |
*** cah_link has quit IRC | 09:45 | |
*** cah_link has joined #openstack-kolla | 09:45 | |
*** cah_link has quit IRC | 09:47 | |
*** cah_link has joined #openstack-kolla | 09:48 | |
openstackgerrit | likui proposed openstack/kolla-ansible master: update lower-constraints.txt https://review.opendev.org/760802 | 09:49 |
*** k_mouza has joined #openstack-kolla | 09:53 | |
*** k_mouza has quit IRC | 09:57 | |
*** k_mouza has joined #openstack-kolla | 09:58 | |
*** gfidente has quit IRC | 10:08 | |
*** gfidente has joined #openstack-kolla | 10:21 | |
*** devfaz has quit IRC | 10:27 | |
*** devfaz has joined #openstack-kolla | 10:28 | |
*** born2bake has quit IRC | 10:29 | |
*** xinliang has quit IRC | 10:31 | |
*** hjensas|PTO is now known as hjensas | 10:38 | |
*** abdysn has joined #openstack-kolla | 10:50 | |
*** dougsz has quit IRC | 10:51 | |
*** Abdallahyas has joined #openstack-kolla | 10:54 | |
*** k_mouza has quit IRC | 10:55 | |
*** k_mouza has joined #openstack-kolla | 10:56 | |
*** abdysn has quit IRC | 10:58 | |
*** dougsz has joined #openstack-kolla | 11:07 | |
dmsimard | mnasiadka: yeah.. the column sort is alphabetical :/ | 11:28 |
*** Abdallahyas has quit IRC | 11:29 | |
*** abdysn has joined #openstack-kolla | 11:29 | |
mgoddard | dmsimard: looks neat. Can you aggregate by task name (rather than module name) | 11:32 |
dmsimard | mgoddard: I was thinking about that too. You can filter for a task name (full or partial) but it'd still provide a breakdown per action | 11:34 |
dmsimard | i wonder how well actually aggregating by task name would work | 11:35 |
openstackgerrit | Merged openstack/kayobe master: docs: Add initial all-in-one scenario https://review.opendev.org/748582 | 11:35 |
mgoddard | dmsimard: https://github.com/stackhpc/ansible-scaling/ | 11:35 |
mgoddard | dmsimard: the scripts I used from there can aggregate by play, role and task | 11:36 |
mgoddard | task was useful | 11:36 |
mgoddard | dmsimard: this in particular: https://github.com/stackhpc/ansible-scaling/blob/master/tools/profile-parser.py | 11:37 |
dmsimard | it should be simple enough to aggregate per task name rather than action, I guess we can put it under an argument, fwiw the patch that implements the new command: https://review.opendev.org/#/c/760736/ | 11:38 |
patchbot | patch 760736 - recordsansible/ara - cli: Add command 'ara task metrics' - 3 patch sets | 11:38 |
mgoddard | dmsimard: I don't have logs to share, but my rough workflow was: aggregate by play, go through plays in order | 11:41 |
mgoddard | then for each play, filter tasks for that play, aggregate by task | 11:42 |
hrw | mgoddard: what do we miss to make a release? | 11:42 |
dmsimard | yeah, makes sense | 11:42 |
mgoddard | hrw: anything not done on here: https://docs.openstack.org/kolla/latest/contributor/release-management.html | 11:42 |
dmsimard | ara already has all of the data inside a database so it's relatively easy, no need for parsing :p | 11:42 |
mgoddard | dmsimard: you laugh, but I had fun with pandas :) | 11:44 |
hrw | mgoddard: thx | 11:44 |
*** brinzhang0 has quit IRC | 11:48 | |
dmsimard | oh yeah it'd be cool to graph the data too | 11:57 |
dmsimard | i also did some benchmarking to measure performance improvements: https://ara.recordsansible.org/blog/2020/11/01/benchmarking-ansible-and-ara-for-fun-and-science/ | 11:58 |
dmsimard | never used pandas before | 11:58 |
*** Luzi has joined #openstack-kolla | 12:08 | |
*** stingrayza has joined #openstack-kolla | 12:27 | |
*** also_stingrayza has quit IRC | 12:30 | |
mnasiadka | uhh, master k-a jobs in hell - https://zuul.opendev.org/t/openstack/build/0a71216e9b534485a6911f1767c11c57/log/primary/logs/kolla/nova/nova-compute.txt#7 | 12:49 |
r3ap3r | Didn't expect to see that first thing this morning when I fired up irc?? lol ^ | 12:52 |
*** kwazar has joined #openstack-kolla | 12:54 | |
*** JamesBenson has joined #openstack-kolla | 12:54 | |
*** Luzi has quit IRC | 13:20 | |
bjolo | perhaps a "stupid" question but... if i want to use vlan tenant networks instead of vxlan. how do i do that in kolla? cant really find any docs about it | 13:42 |
mnasiadka | bjolo: enable provider networks? | 13:43 |
bjolo | isnt that something else? | 13:43 |
bjolo | i use provider networks to be able to deploy VMs directly on external network. i.e. no L3 router | 13:44 |
mnasiadka | ah, misread the question | 13:45 |
bjolo | what i want to do is for a tenant to create their own private networks, but using vlan tags instead of vxlan overlay | 13:45 |
bjolo | no worries :) | 13:46 |
bjolo | we want to test the overhead of vxlan vs vlan tagged tenant networks. hence the question | 13:46 |
mnasiadka | well, if you already have provider networks, so you have a physnet you can use - I haven't really done that in the past, but what stops it from working? :) | 13:47 |
mgoddard | bjolo: enable_neutron_provider_networks | 13:49 |
mgoddard | bjolo: and vlan_ranges in ml2_conf.ini | 13:49 |
bjolo | im kinda lost on the config | 13:49 |
bjolo | i need to specify a bridge for vlan mapping | 13:50 |
*** dmsimard has quit IRC | 13:51 | |
*** dmsimard has joined #openstack-kolla | 13:51 | |
bjolo | need to mention, im doing everything on a single interface | 13:51 |
bjolo | bond0 but still just one interface | 13:51 |
bjolo | http://paste.openstack.org/show/799601/ | 13:55 |
bjolo | things get deployed and i can create a network, but all ports fails to bind | 13:55 |
bjolo | bond0 is intended to be used directly by neutron for vlan tagged networks (via br-vlan i quess). But the bridgemappings done by kolla also gives it physnet4 and list it as a flat network | 13:57 |
bjolo | should i just change the ml2.conf config from: | 13:58 |
bjolo | [ml2_type_vlan] | 13:58 |
bjolo | network_vlan_ranges = br-vlan:2036:2040 | 13:58 |
bjolo | to | 13:58 |
bjolo | [ml2_type_vlan] | 13:58 |
bjolo | network_vlan_ranges = physnet4:2036:2040 | 13:59 |
*** dave-mccowan has quit IRC | 14:00 | |
*** dmsimard has quit IRC | 14:03 | |
*** dmsimard has joined #openstack-kolla | 14:03 | |
*** dave-mccowan has joined #openstack-kolla | 14:05 | |
dmsimard | mgoddard: aggregated by task name: http://paste.openstack.org/raw/799602/ | 14:09 |
dmsimard | (after filtering for the 10000 longest tasks) | 14:09 |
ozzzo | I'm setting up a Train all-in-one POC following these instructions: https://docs.openstack.org/kolla-ansible/train/user/quickstart.html | 14:10 |
mgoddard | dmsimard: nice! 1 hour spent bootstrapping nova? | 14:10 |
dmsimard | over 151 times, yes | 14:10 |
ozzzo | if I set ansible_python_interpreter: /opt/openstack/bin/python in globals.yml, then I get this error running the prechecks: | 14:10 |
ozzzo | fatal: [localhost]: FAILED! => {"changed": false, "msg": "The Python 2 bindings for rpm are needed for this module. If you require Python 3 support use the `dnf` Ansible module instead.. The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead."} | 14:10 |
mgoddard | ozzzo: system-site-packages | 14:11 |
*** dardelean has joined #openstack-kolla | 14:17 | |
mgoddard | bjolo: +1 to physnet4 | 14:18 |
ozzzo | mgoddard: that fixed it, ty! | 14:21 |
*** TrevorV has joined #openstack-kolla | 14:23 | |
dmsimard | mgoddard: here's metrics for a recent enough individual playbook http://paste.openstack.org/raw/799603/ | 14:25 |
dmsimard | ah, paste truncated it :( | 14:25 |
mgoddard | dmsimard: what is --playbook 1376? | 14:26 |
dmsimard | non-truncated version https://gist.githubusercontent.com/dmsimard/af850e3405146056c1a767d0485f31f4/raw/d75ab0f11871376759b6ef06a559d03cbd2f7d17/kolla.txt | 14:26 |
dmsimard | mgoddard: this one https://api.demo.recordsansible.org/playbooks/1376.html | 14:26 |
openstackgerrit | Michal Arbet proposed openstack/kolla master: Add fluent-logger to images - source, binary-debian https://review.opendev.org/759855 | 14:46 |
*** vishalmanchanda has quit IRC | 14:46 | |
*** wuchunya_ has joined #openstack-kolla | 14:46 | |
*** e0ne_ has joined #openstack-kolla | 14:47 | |
*** e0ne has quit IRC | 14:48 | |
*** xinliang has joined #openstack-kolla | 14:53 | |
*** wuchunya_ has quit IRC | 14:56 | |
*** abdysn has quit IRC | 14:58 | |
dmsimard | mgoddard: aggregating by path is kinda neat too: http://paste.openstack.org/raw/799606/ | 15:14 |
mgoddard | dmsimard: +! | 15:15 |
mgoddard | 1 | 15:15 |
mgoddard | dmsimard: can you output to CSV? | 15:16 |
dmsimard | mgoddard: ofc, it uses cliff underneath (same thing as openstackclient) | 15:16 |
mgoddard | ack | 15:16 |
dmsimard | in csv: http://paste.openstack.org/raw/799608/ | 15:17 |
*** skramaja has quit IRC | 15:19 | |
mgoddard | dmsimard: if you're looking for more bells and whistles to add, you could track the number of ok/changed/skipped/failed hosts and/or items | 15:27 |
dmsimard | mgoddard: so there is already 'ara host list' but in fact I already have a WIP for 'ara host metrics': http://paste.openstack.org/raw/799610/ | 15:30 |
*** nikparasyr has left #openstack-kolla | 15:40 | |
*** xinliang has quit IRC | 15:46 | |
*** LinPeiWen has quit IRC | 16:00 | |
*** ivan_lin has quit IRC | 16:00 | |
*** cah_link has quit IRC | 16:00 | |
*** ivan_lin has joined #openstack-kolla | 16:00 | |
*** cah_link has joined #openstack-kolla | 16:03 | |
*** kwazar has quit IRC | 16:08 | |
*** dking has joined #openstack-kolla | 16:09 | |
*** k_mouza has quit IRC | 16:12 | |
*** cah_link has quit IRC | 16:26 | |
*** dosaboy has quit IRC | 16:29 | |
*** k_mouza has joined #openstack-kolla | 16:33 | |
*** cah_link has joined #openstack-kolla | 16:34 | |
openstackgerrit | Michal Nasiadka proposed openstack/kayobe master: Add support for ML2 flat network configuration https://review.opendev.org/760955 | 16:37 |
*** cah_link has quit IRC | 16:51 | |
ozzzo | I finished building the POC but when I try to build a VM it fails with "could not find capabilities for domaintype=kvm" | 17:00 |
ozzzo | when I list hypervisors, it shows up as type QEMU | 17:00 |
ozzzo | did I miss a setting? | 17:01 |
*** rpittau is now known as rpittau|afk | 17:08 | |
*** dking has quit IRC | 17:12 | |
*** dking has joined #openstack-kolla | 17:25 | |
*** dougsz has quit IRC | 17:33 | |
*** bengates has quit IRC | 17:34 | |
*** dardelean has quit IRC | 17:45 | |
*** k_mouza has quit IRC | 17:57 | |
*** e0ne has joined #openstack-kolla | 18:08 | |
*** e0ne_ has quit IRC | 18:11 | |
*** k_mouza has joined #openstack-kolla | 18:16 | |
*** k_mouza has quit IRC | 18:18 | |
*** jonaspaulo has joined #openstack-kolla | 18:41 | |
*** k_mouza has joined #openstack-kolla | 18:53 | |
*** k_mouza has quit IRC | 18:57 | |
*** k_mouza has joined #openstack-kolla | 19:19 | |
*** k_mouza has quit IRC | 19:24 | |
ozzzo | it looks like I'm missing kvm support. If I change virt_type to qemu in nova.conf then I can build a VM, but I think I need them to be kvm | 20:08 |
ozzzo | I tried installing qemu-kvm but that didn't seem to make a difference. | 20:08 |
r3ap3r | ozzzo: the `virt_type` should be defined in the `globals.yml`. Is there a reason you are defining it in a `nova.conf`? | 20:29 |
r3ap3r | ozzzo: also, is the all-in-one a VM or a physical host? | 20:29 |
ozzzo | doesn't globals.yml only determine what goes into nova.conf when you build the system? | 20:30 |
ozzzo | it's a VM | 20:30 |
ozzzo | I didn't rebuild everything with qemu, I just changed it in nova.conf and restarted the nova containers as a test | 20:30 |
r3ap3r | Ok, so since it is a VM, you have to use `qemu` to essentially run "nested" virtual machines. | 20:30 |
r3ap3r | When using libvirt, `qemu` is for using virtualized compute and `kvm` is used for physical compute. | 20:31 |
r3ap3r | ozzzo: in your `globals.yml` for train, look for the option `nova_compute_virt_type`, this needs to be set to `qemu` for using a VM all-in-one setup. After that is set, you do not have to define it in your `nova.conf` as this is for "extras" that would be configured in addition to what is in your `globals.yml`. I hope this helps? | 20:35 |
ozzzo | oic, so I can change it in globals.yml and restart the nova containers, and they will pick it up? | 20:36 |
r3ap3r | ozzzo: You would have to do a `kolla-ansible -i all-in-one reconfigure` for the `nova-*` containers to pick up the new configuration but yes, that is pretty much it as far as that particular configuration is concerned. | 20:37 |
ozzzo | When I googled around people were talking about nested kvm | 20:38 |
ozzzo | does that not work on train? | 20:39 |
ozzzo | https://askubuntu.com/questions/607212/launch-instance-in-openstack-always-results-in-error-no-valid-host-was-found?rq=1 | 20:39 |
ozzzo | the linked article is talking about devstack but I was hoping to do that on kolla | 20:40 |
ozzzo | but, virsh doesn't see my vms | 20:40 |
r3ap3r | ozzzo: nested "kvm" requires a physical host but setting the `nova_compute_virt_type` to `qemu` is essentially setting up nested virtualization or are you trying to setup nested virtualization within your VM in which Openstack Train is being installed? | 20:41 |
*** dosaboy has joined #openstack-kolla | 20:42 | |
ozzzo | maybe I misunderstood the article; I thought he was saying that he setup Openstack in a virtual environment, which is what I'm doing | 20:42 |
r3ap3r | ozzzo: oh, yeah, after reading the article above that you linked, setting the `nova_compute_virt_type` to `qemu` and letting Kolla-Ansible do the rest achieves what they are doing in the article. | 20:43 |
ozzzo | it's not possible to do nested kvm? | 20:45 |
r3ap3r | ozzzo: ^ that will allow you to spin up virtual machines inside the virtual machine that is hosting your Openstack all-in-one. | 20:45 |
ozzzo | with kolla-ansible? | 20:45 |
r3ap3r | Yes, with Kolla-Ansible. | 20:45 |
ozzzo | I can make it work with qemu, but I was hoping to use kvm | 20:46 |
ozzzo | I don't remember the details but ISTR trouble with qemu in the past | 20:47 |
r3ap3r | ozzzo: with qemu, you more or less get the same capabilities and features as kvm. If you are strictly testing, qemu should work fine. When you go production with it, instead of defining `qemu`, just leave it `kvm` and you should more or less get the same results. See https://docs.openstack.org/kolla-ansible/train/reference/compute/libvirt-guide.html for additional details. :-) | 20:48 |
*** farda has joined #openstack-kolla | 20:48 | |
ozzzo | ok I'll try it, ty for your advice | 20:48 |
r3ap3r | Np. 😉 | 20:49 |
*** farda has quit IRC | 20:59 | |
*** farda has joined #openstack-kolla | 21:00 | |
*** farda has quit IRC | 21:07 | |
*** TrevorV has quit IRC | 21:29 | |
*** gfidente has quit IRC | 21:32 | |
*** e0ne has quit IRC | 21:42 | |
*** jonaspaulo has quit IRC | 22:01 | |
*** e0ne has joined #openstack-kolla | 22:09 | |
*** e0ne has quit IRC | 22:25 | |
*** dave-mccowan has quit IRC | 22:52 | |
*** k_mouza has joined #openstack-kolla | 23:20 | |
*** k_mouza has quit IRC | 23:24 | |
*** k_mouza has joined #openstack-kolla | 23:31 | |
*** k_mouza has quit IRC | 23:36 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!