Tuesday, 2021-02-16

*** tosky has quit IRC00:30
*** mgoddard has quit IRC00:51
*** mgoddard has joined #openstack-ironic00:57
*** ayoung has quit IRC01:32
*** tzumainn has quit IRC01:45
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-inspector stable/ussuri: Fix docs  https://review.opendev.org/c/openstack/ironic-inspector/+/77572701:58
*** rcernin has quit IRC02:31
*** k_mouza has joined #openstack-ironic02:50
*** zzzeek has quit IRC02:53
*** k_mouza has quit IRC02:54
*** zzzeek has joined #openstack-ironic02:55
*** rcernin has joined #openstack-ironic03:23
*** rcernin has quit IRC03:28
*** rcernin has joined #openstack-ironic03:28
*** Qianbiao has joined #openstack-ironic03:38
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-inspector stable/train: Fix docs  https://review.opendev.org/c/openstack/ironic-inspector/+/77573203:43
*** stendulker has joined #openstack-ironic05:28
openstackgerritMerged openstack/bifrost master: Restore the conditional verbosity in bash scripts  https://review.opendev.org/c/openstack/bifrost/+/77567805:34
*** mkrai has joined #openstack-ironic05:35
*** ianw has quit IRC06:18
*** ianw has joined #openstack-ironic06:19
*** zzzeek has quit IRC06:26
*** zzzeek has joined #openstack-ironic06:29
*** mugsie has quit IRC06:37
*** mkrai has quit IRC06:38
*** mkrai has joined #openstack-ironic06:41
*** k_mouza has joined #openstack-ironic06:50
*** k_mouza has quit IRC06:55
*** moshiur has joined #openstack-ironic07:15
*** mkrai has quit IRC07:23
*** pmannidi_ has quit IRC07:37
arne_wiebalckGood morning, ironic!07:41
*** pmannidi has joined #openstack-ironic07:43
jandersgood morning arne_wiebalck o/07:48
arne_wiebalckhey janders o/07:48
*** rpittau|afk is now known as rpittau08:37
rpittaugood morning ironic! o/08:37
*** rcernin has quit IRC08:40
*** tosky has joined #openstack-ironic08:44
openstackgerritArun S A G proposed openstack/ironic master: Add anaconda configuration and template  https://review.opendev.org/c/openstack/ironic/+/77216608:50
jandersgood morning rpittau o/08:52
rpittauhey janders :)08:52
*** dtantsur|afk is now known as dtantsur08:53
dtantsurmorning ironic08:53
jandershey dtantsur o/08:53
jandersdtantsur regarding https://review.opendev.org/c/openstack/ironic-python-agent/+/771904/27/ironic_python_agent/hardware.py#1292 would you like me to rename enable_ata_secure_erase to enable_secure_erase and use it to control both SATA and NVMe secure erase? Makes sense, just making sure I understand correctly.08:55
dtantsurjanders: hi, well, that's an option. I'm not sure if there is a valid case for enabling e.g. only ATA erase..08:58
dtantsur(e.g. our hardware has bad ATA controllers, but NVMe is fine..)08:58
openstackgerritDmitry Tantsur proposed openstack/bifrost stable/victoria: Restore the conditional verbosity in bash scripts  https://review.opendev.org/c/openstack/bifrost/+/77576309:01
jandersdtantsur I was more thinking of conservative operators going "SATA Sec Erase has been around for ages, so that's fine to use, that new NVMe cleaning thing is new so let's leave it off for a release or two"09:01
jandersit's not only the code perspective, but the entire NVMe secure erasure being still relatively new to people (partially because of NVMes being new not because of the feature)09:02
jandersbut I'm happy either way09:02
*** dougsz has joined #openstack-ironic09:02
janderswhat do you think?09:03
*** lucasagomes has joined #openstack-ironic09:08
*** stendulker has quit IRC09:13
*** rcernin has joined #openstack-ironic09:18
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: [WIP] Use json for lsblk output  https://review.opendev.org/c/openstack/ironic-python-agent/+/77539109:20
rpittauvery quick trivial approval if anyone has a minute pretty please https://review.opendev.org/c/openstack/ironic-inspector/+/77331609:22
rpittaudtantsur: good morning! :) I fixed the running times for the unit tests in https://review.opendev.org/c/openstack/ironic/+/37657409:24
dtantsurjanders: okay, let's leave two options for now09:27
dtantsurrpittau: nice, thanks!09:27
openstackgerritDmitry Tantsur proposed openstack/ironic master: Replace pysendfile with os.sendfile  https://review.opendev.org/c/openstack/ironic/+/77206609:33
*** rcernin has quit IRC09:35
rpittaudtantsur: I was reading https://review.opendev.org/c/openstack/ironic-lib/+/774931 and wondering if it would make sense to just use lsblk json output09:47
dtantsurrpittau: I think blkid is more low-level and outputs stuff that lsblk does not09:48
dtantsurI do remember there was a problem with that. Maybe that lsblk in CentOS 7 does not have --json?09:48
dtantsuror was it Bionic/Xenial/...?09:48
rpittauoh yeah, centos 7 doesn't have the version for that09:48
dtantsurI'm fine with changing, but I'd rather do it gradually, so that we don't have to revert the whole thing09:48
dtantsurwell, yeah. CentOS 7 is something we still support for IPA.09:49
rpittaummm ok I guess my change in IPA will have to wait then09:51
dtantsurunfortunately, yes :(09:52
dtantsurApparently, CentOS 8 dropped some drivers that people still used09:53
*** zzzeek has quit IRC09:53
*** zzzeek has joined #openstack-ironic09:53
*** mkrai has joined #openstack-ironic09:55
openstackgerritOpenStack Release Bot proposed openstack/bifrost bugfix/10.1: Update .gitreview for bugfix/10.1  https://review.opendev.org/c/openstack/bifrost/+/77578709:55
dtantsuryay, releases09:55
* dtantsur wonders if we need to run a CI job with centos 709:59
rpittauif we support it, yes :)10:00
rpittau I was wondering the same as not seeing any may be misleading10:00
rpittauI wonder if it's too late to propose a new version of util-linux to centos 7 :D10:01
openstackgerritMerged openstack/ironic-inspector stable/ussuri: Fix docs  https://review.opendev.org/c/openstack/ironic-inspector/+/77572710:11
openstackgerritMerged openstack/ironic-inspector stable/train: Fix docs  https://review.opendev.org/c/openstack/ironic-inspector/+/77573210:12
openstackgerritMerged openstack/ironic-inspector stable/victoria: Avoid a full install in tox environments that do not need it  https://review.opendev.org/c/openstack/ironic-inspector/+/77570410:12
*** derekh has joined #openstack-ironic10:13
openstackgerritMerged openstack/bifrost stable/victoria: Restore the conditional verbosity in bash scripts  https://review.opendev.org/c/openstack/bifrost/+/77576310:14
*** derekh has quit IRC10:29
*** derekh has joined #openstack-ironic10:29
*** ociuhandu has joined #openstack-ironic10:31
*** ociuhandu has quit IRC10:40
openstackgerritKartikeya Jain proposed openstack/ironic-python-agent master: Fixes local boot for partition images  https://review.opendev.org/c/openstack/ironic-python-agent/+/77579910:43
*** ociuhandu has joined #openstack-ironic10:46
*** ociuhandu has quit IRC10:46
*** ociuhandu has joined #openstack-ironic10:47
*** ociuhandu has quit IRC10:52
*** k_mouza has joined #openstack-ironic11:00
dtantsurrpittau: way too late :)11:01
dtantsurI think RHEL 7 is in security-only mode atm11:01
*** ociuhandu has joined #openstack-ironic11:01
rpittauyeah :/11:01
iurygregorygood morning o/11:04
rpittauhey iurygregory :)11:07
iurygregoryo/11:08
*** alexmcleod has joined #openstack-ironic11:13
*** ociuhandu has quit IRC11:13
jandersgood morning iurygregory o/11:13
*** mugsie has joined #openstack-ironic11:13
iurygregoryo/11:15
*** mkrai has quit IRC11:17
*** ociuhandu has joined #openstack-ironic11:17
openstackgerritOpenStack Release Bot proposed openstack/ironic bugfix/16.2: Update .gitreview for bugfix/16.2  https://review.opendev.org/c/openstack/ironic/+/77580611:18
openstackgerritRiccardo Pittau proposed openstack/networking-generic-switch stable/victoria: [DNM] test victoria CI  https://review.opendev.org/c/openstack/networking-generic-switch/+/77580711:20
openstackgerritRiccardo Pittau proposed openstack/networking-generic-switch stable/ussuri: [DNM] test ussuri CI  https://review.opendev.org/c/openstack/networking-generic-switch/+/77580811:21
*** anuradha1904 has joined #openstack-ironic11:22
openstackgerritKartikeya Jain proposed openstack/ironic-python-agent master: Fixes local boot for partition images  https://review.opendev.org/c/openstack/ironic-python-agent/+/77579911:30
*** moshiur has quit IRC11:39
iurygregorydtantsur, tks for aproving the doc fixes in the stable branches o/ I'm still trying to fix stable/train11:52
iurygregorys/aproving/approving11:52
iurygregorylol I pushed the fix for stable/train11:55
iurygregoryI was probably sleeping XD11:55
*** ociuhandu has quit IRC12:13
*** ociuhandu has joined #openstack-ironic12:14
openstackgerritMerged openstack/ironic stable/victoria: Move the IPv6 job to the experimental pipeline  https://review.opendev.org/c/openstack/ironic/+/77560812:14
*** tosin has joined #openstack-ironic12:18
*** ociuhandu has quit IRC12:21
openstackgerritMerged openstack/python-ironic-inspector-client master: Remove redundant items from CI jobs  https://review.opendev.org/c/openstack/python-ironic-inspector-client/+/75469212:35
arne_wiebalckdtantsur: TheJulia: for the thundering herd issue on startup, I will see if I can get a DB trace to see where all these queries come from: there is maybe sth to optimise in Ironic's queries which could reduce the load to a level where a staggered start or jitter on the periodics won't be necessary ... I may come back to you for advice/input/ideas :)12:45
janderssee you tomorrow Ironic o/12:47
janderswas hoping to upload revised NVMe patch today, but got stuck on rewriting unit tests... trying to do that at 11pm is probably not the best idea :)12:48
jandersmuch easier with a fresh mind12:48
*** alexmcleod has quit IRC12:49
*** moshiur has joined #openstack-ironic12:51
openstackgerritMerged openstack/ironic-inspector stable/train: Fix memcached host address.  https://review.opendev.org/c/openstack/ironic-inspector/+/77564112:55
iurygregorybye janders o/13:05
openstackgerritMerged openstack/bifrost bugfix/10.1: Update .gitreview for bugfix/10.1  https://review.opendev.org/c/openstack/bifrost/+/77578713:15
*** alexmcleod has joined #openstack-ironic13:16
*** monica_pardhi has joined #openstack-ironic13:23
*** ociuhandu has joined #openstack-ironic13:23
openstackgerritMerged openstack/ironic bugfix/16.2: Update .gitreview for bugfix/16.2  https://review.opendev.org/c/openstack/ironic/+/77580613:26
openstackgerritVerification of a change to openstack/ironic-inspector failed: Fix memcached host address.  https://review.opendev.org/c/openstack/ironic-inspector/+/77564013:32
*** rcernin has joined #openstack-ironic13:33
*** rcernin has quit IRC13:38
*** k_mouza has quit IRC13:39
*** k_mouza has joined #openstack-ironic13:39
*** monica_pardhi has quit IRC13:42
*** k_mouza_ has joined #openstack-ironic13:49
*** k_mouza__ has joined #openstack-ironic13:50
*** k_mouza_ has quit IRC13:50
*** k_mouza has quit IRC13:51
*** k_mouza__ has quit IRC13:53
*** k_mouza has joined #openstack-ironic13:54
*** uzumaki has joined #openstack-ironic13:55
openstackgerritRiccardo Pittau proposed openstack/ironic-python-agent master: Move some raid specific functions to raid_utils  https://review.opendev.org/c/openstack/ironic-python-agent/+/77485414:00
TheJuliagood morning14:03
dtantsurgood morning TheJulia14:05
uzumakianybody have an idea how to supress the verbose HTTP call output with openstack-sdk?14:05
uzumakiMorning dtantsur TheJulia o/14:05
dtantsurplease elaborate14:05
uzumakiany api call that I make, results in a verbose output on STDOUT, with a dump of HTTP calls, I want to get rid of it14:06
uzumakisay I do "conn.compute.create_server(....)" and I get a huge dump of HTTP req/resp data on the terminal, I don't want that14:07
dtantsuruzumaki: let's move to #openstack-sdks14:08
uzumakioh, there's a channel for that?14:08
iurygregoryyeah =)14:09
iurygregorygood morning TheJulia14:10
uzumakimorning iurygregory o/ long time no see (because I wasn't here)14:10
iurygregorymorning uzumaki o/14:10
*** alexmcleod has quit IRC14:11
*** rloo has joined #openstack-ironic14:12
uzumakihow you doing iurygregory ?14:13
iurygregoryuzumaki, not 100%, my mother tested positive for covid14:14
uzumakiOh, that's very unfortunate news :( hope she gets well soon14:15
iurygregoryyeah me too, so far only the common symptoms (nothing serious)14:16
uzumakiHmmm...14:16
iurygregoryand how you doing? =)14:16
uzumakiI'm doing well, learning German these days14:17
iurygregorynice =)14:17
* TheJulia tries to wake up14:18
arne_wiebalckTheJulia: dtantsur: I had a first look at the DB queries. In each 300s power sync cycle, the DB sees 6 queries per node (2x selects from nodes, 2x from ports, 1x from portgroups, 1x from volume_connector, 1x from volume_target). In addition, there is 1x 'ROLLBACK' for each of these queries (!), and 1x 'SELECT 1' also per query. So, in total we have 18x queries per node and cycle. With 8600 nodes this is14:22
arne_wiebalcka rate >150000 queries in 5 mins, or 500 per sec.14:22
TheJuliaargh14:23
TheJuliano wonder we're thrashing the db14:23
iurygregoryouch14:23
iurygregorypoor DB14:23
arne_wiebalckany idea what the 'SELECT 1' is for?14:24
TheJuliaget one, or the first record in the result set14:24
*** alexmcleod has joined #openstack-ironic14:24
arne_wiebalckmy colleagues tell me this is usually to check if the client is still good14:24
TheJuliait is building a query set14:24
TheJuliaI... think.14:25
arne_wiebalckthis is only a "SELECT 1"14:25
arne_wiebalckno table14:25
TheJuliahmm14:25
iurygregorywoot14:25
TheJuliaWell, hmm14:26
arne_wiebalckhttp://paste.openstack.org/show/802687/ shows some lines of the trace14:27
dtantsurarne_wiebalck: connection check?14:27
arne_wiebalckdtantsur: yes, this is what my DB experts tell me14:27
dtantsurbut yeah, we're always fetching ports, port groups and volumes for any task14:28
dtantsurwhich is a huge overkill14:28
*** ociuhandu has quit IRC14:28
TheJuliaAgreed14:28
dtantsurso, task_manager.acquie(... node_only=True)14:28
TheJuliaThat is what I'm thinking14:28
arne_wiebalckif we checked the connection only say every N seconds, this would be an enormous reduction14:28
*** alexmcleod has quit IRC14:28
arne_wiebalcksame for ROLLBACK14:28
dtantsurarne_wiebalck: I don't think we have control over that, it's a question for oslo.db/sqlalchemy14:29
*** ociuhandu has joined #openstack-ironic14:29
arne_wiebalckdtantsur: right14:29
dtantsurbut add node_only to all periodics that don't need ports sounds reasonable14:29
dtantsursame likely applies to certain actions (manageable?)14:30
TheJuliaat a minimum, if we avoid rollback somehow for periodics to at least get the list of machines, then that should help a lot on at least the main query14:30
arne_wiebalckrollback is also oslo.db I guess?14:31
arne_wiebalckthis is probably to ensure the query is hitting the DB?14:31
TheJuliaI'm trying to load an email thread that raises this question14:31
arne_wiebalckTheJulia: awesome, thanks14:31
TheJuliaoh14:32
TheJuliayou know what14:32
TheJuliait the translation from our use of session14:32
arne_wiebalck?14:32
TheJuliahttp://lists.openstack.org/pipermail/openstack-dev/2015-September/074685.html14:34
TheJuliaI know some of the queries are just that, queries, some of them if memory serves use a session structure which I think would cause it to roll as a full tranction with either commit/rollback14:34
TheJuliaIF that activity is happening on the periodics, that would explain a lot14:35
TheJuliabut I suspect the API and conductor SQL call runtimes are similar for getting the list of nodes14:35
*** tzumainn has joined #openstack-ironic14:43
*** ociuhandu has quit IRC14:52
*** ociuhandu has joined #openstack-ironic14:52
Qianbiaoarne_wiebalck TheJulia i do not know the detail with Ironic, but select 1 is mostly used to keep db connection session keepalive.14:53
*** rh-jlabarre has joined #openstack-ironic14:54
*** rh-jelabarre has quit IRC14:54
*** alexmcleod has joined #openstack-ironic14:54
Qianbiaomost java db management tools use it to make sure session alive14:55
TheJuliayeah14:55
TheJuliathat is what I'm reading14:55
arne_wiebalckdtantsur: TheJulia: so the idea would be to have an additional param on the TaskManager which would skip getting ports and volume* and use this whenever we think these are not needed?14:56
*** ociuhandu has quit IRC14:57
*** rh-jelabarre has joined #openstack-ironic15:00
*** rh-jlabarre has quit IRC15:00
iurygregoryI think this makes sense arne_wiebalck15:00
Qianbiaoin web project, we program oo-db for better performance.15:01
TheJuliai think so15:01
TheJuliaarne_wiebalck: ^^^ I wonder if we could actually lazy load them15:01
*** uzumaki has quit IRC15:01
TheJuliaso load them when queried15:01
Qianbiaocompose db querys into one query to reduce query counts.15:02
arne_wiebalckTheJulia: that sounds more sophisticated, clearly15:04
*** ociuhandu has joined #openstack-ironic15:08
dtantsurQianbiao: oo-db?15:09
Qianbiaodtantsur maybe object-oriented database in english15:10
dtantsurinteresting15:10
dtantsurTheJulia: lazy loading attributes.. sounds like we're not using sqlalchemy right15:11
dtantsurbecause one of its features is lazy loading15:11
dtantsur(this is old man yelling at cloud, not a call for actions)15:11
Qianbiaothere are too many user in website, so database first programming is required at begining of a new project.15:12
dtantsurotherwise, yes, I think lazy loading for ports and co is a good idea IMO15:12
*** moshiur has quit IRC15:12
dtantsurQianbiao: interesting. it reminds me of my old times at Skype: we implemented half of the logic in postgresql stored procedures :)15:13
Qianbiao:)15:13
*** moshiur has joined #openstack-ironic15:13
* TheJulia hands dtantsur some grass so he can yell at the cloud in proper style15:14
Qianbiaoin china, sqlalchemy, hibernate is not suggested to use.15:15
Qianbiaoprogrammer must control all sql themselves.15:15
Qianbiaolike if you only want column1 and column2, then column3 should not present in select15:15
*** moshiur has quit IRC15:15
dtantsurI can relate. sqlalchemy is too much magic to my taste15:16
dtantsurI think there are lighter ORM though15:16
*** moshiur has joined #openstack-ironic15:16
Qianbiaoyes, tools can mapping result to object, but should not generate sql.15:16
dtantsurWell.. there is a downside of making everyone write an SQL: you have to be pretty good in it15:17
dtantsur(not that ORM's are always good at it..)15:17
Qianbiaoyes15:17
dtantsurI kind of like this approach: https://docs.ponyorm.org/firststeps.html#writing-queries where you write queries on a pythonic way15:19
dtantsur(I'm not familiar with ponyORM, just one of the first links in the search)15:20
dtantsurI think what we do in ironic is the worst from the two worlds:15:21
dtantsurwe use a heavy-weight ORM, but we do joins manually in Python15:21
iurygregoryouch =X15:22
dtantsuryep15:23
ajyaif want to get better performance then have to write your own SQL, otherwise it is what it is. Some ORMs handle SQL generation better, but in the end there is always some case where it's not good enough :)15:23
iurygregoryjoins are always expensive15:23
dtantsurto be big extent because of our usage of oslo Object's15:23
dtantsuriurygregory: databases are pretty good at them; python - not so much15:23
iurygregoryyeah15:23
dtantsuras discovered by arne_wiebalck, TaskManager is a redundant python-based joiner :)15:24
rpittaulol15:24
*** rcernin has joined #openstack-ironic15:34
*** rcernin has quit IRC15:39
*** moshiur has quit IRC15:39
TheJuliaWe somehow need to benchmark our db interactions15:39
openstackgerritDmitry Tantsur proposed openstack/python-ironicclient master: Support YAML files wherever JSON files are accepted  https://review.opendev.org/c/openstack/python-ironicclient/+/77586115:39
dtantsurTheJulia++15:39
TheJuliaarne_wiebalck: by chance are you emitting metrics to the message bus?15:49
*** uzumaki has joined #openstack-ironic15:51
arne_wiebalckTheJulia: we collect a lot of metrics and all logs ... what metric are you thinking of?15:51
TheJuliaConductorManager._sync_power_states15:54
arne_wiebalckIIUC, the idea is we should pursue both, reduce the overall number of queries and optimise them, is that right?15:55
TheJuliaI think so yes15:55
TheJuliaand ConductorManager._sync_local_state15:55
* dtantsur just had an awkward moment until he realized that "on" in YAML means True15:56
TheJuliaheh15:56
arne_wiebalckTheJulia: I need to check, we probably do, but I do not use them atm.15:56
TheJuliathe queries are a little different, the delta between those two *should* give us an idea15:57
openstackgerritDmitry Tantsur proposed openstack/ironic-python-agent master: New deploy step for injecting arbitrary files  https://review.opendev.org/c/openstack/ironic-python-agent/+/77542815:57
dtantsuras a result I won't use "on" as a key in ^^^ :)15:57
TheJuliaat least, an idea as a starting point15:57
TheJuliaThat will tell us where we may want to focus our braincells first15:58
*** rpittau is now known as rpittau|afk16:10
arne_wiebalckTheJulia: no, we do not16:13
arne_wiebalckTheJulia: I could look into enabling this, though16:14
TheJuliadtantsur: do you know if the ansible maintainers know that the the linting job is broken due to setuptools_rust ?16:14
arne_wiebalckTheJulia: should be more or less straight-forward to integrate this into our monitoring infra16:14
dtantsurTheJulia: they made it non-voting16:14
TheJuliadtantsur: ack16:14
*** gyee has joined #openstack-ironic16:27
*** Qianbiao has quit IRC16:28
iurygregoryfor anyone interested we are going to debug the privsep issues now on https://bluejeans.com/5108563600/16:30
*** hjensas is now known as hjensas|afk16:36
*** alexmcleod has quit IRC16:36
arne_wiebalckdtantsur: TheJulia: to reduce the number of queries, what should be the path to follow?16:37
arne_wiebalck- have an option on TaskManager to not collect all data on all queries? (acc. to my math, if only nodes are needed, this should reduce the number of DB queries by two thirds)16:37
arne_wiebalck- look into sqlalchemy lazy loading?16:37
arne_wiebalck- see if the reset_on_return sqlalchemy parameter could be changed?16:37
dtantsurarne_wiebalck: let's start with lazy loading ports/portgroups/volumes?16:37
dtantsurmanually, in Python, I mean?16:38
dtantsurchanging sqlalchemy will also require changing the object layer16:38
arne_wiebalckdtantsur: do we do this already somewhere? lazy loading I mean16:39
dtantsurI don't think so, but should not be hard16:39
arne_wiebalckdtantsur: it should have a similar effect as the parameter16:39
*** ociuhandu has quit IRC16:41
*** ociuhandu has joined #openstack-ironic16:41
TheJuliaPYOPTIMIZE_TINYIPA16:42
TheJuliaiurygregory: ^^^16:42
iurygregoryack16:43
*** ociuhandu has quit IRC16:44
*** ociuhandu has joined #openstack-ironic16:44
openstackgerritVerification of a change to openstack/ironic-inspector failed: Fix memcached host address.  https://review.opendev.org/c/openstack/ironic-inspector/+/77564016:46
TheJuliaso we figured out why the privsep stuff is failing randomly16:51
TheJuliait is the jobs on rax16:51
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-lib master: Add initial privsep structure  https://review.opendev.org/c/openstack/ironic-lib/+/74553616:51
dtantsurTheJulia: rax again? wow16:55
TheJuliayup16:55
TheJuliait is tinycore + pycparser which gets pulled in because the have optimized builds with tinycore16:56
TheJuliaand we override and use tinycore on rax because of image size and rax cpu performance16:56
*** alexmcleod has joined #openstack-ironic16:58
iurygregoryrax love us <317:00
iurygregoryand we probably hate rax =D17:01
TheJuliaheh17:01
TheJuliaI'm testing image sizes regarding not doing the optomized image generation17:01
TheJuliaso... yay for time it will take :(17:01
JayFI've had to resist several times to take potshots at rax in here this morning :P17:05
*** rloo has quit IRC17:09
*** lucasagomes has quit IRC17:09
*** rloo has joined #openstack-ironic17:09
*** rloo has quit IRC17:12
*** rloo has joined #openstack-ironic17:12
TheJuliaThere we go, tinyipa.gz is 61M, kernel is 4.917:19
* TheJulia re-does it with the optimization code stripped out17:21
*** ociuhandu has quit IRC17:30
*** ociuhandu has joined #openstack-ironic17:31
*** ociuhandu has quit IRC17:31
*** dougsz has quit IRC17:31
*** ociuhandu has joined #openstack-ironic17:31
iurygregorywoot I can't find 745536 in zuul.openstack.org O.o17:33
*** rcernin has joined #openstack-ironic17:34
TheJuliadid results already get posted?17:38
TheJulia66mb... i think we can loose it17:38
*** rcernin has quit IRC17:39
dtantsurfolks, if you review https://review.opendev.org/c/openstack/ironic-python-agent/+/775428 I promise to write a detailed blog post on how to use it :)17:43
TheJuliaheh17:44
arne_wiebalckbye everyone o/17:47
iurygregoryhum 5mb is ok17:49
openstackgerritJulia Kreger proposed openstack/ironic-python-agent-builder master: Remove PYOPTIMIZE_TINYIPA capability  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/77588417:54
openstackgerritJulia Kreger proposed openstack/ironic-python-agent-builder master: Remove PYOPTIMIZE_TINYIPA capability  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/77588417:54
iurygregoryTheJulia, should I try to use Depends-On?17:56
TheJuliayou can17:56
TheJuliatry it that is17:56
TheJuliaif you want. It seems to be fine, but we'll see what CI says17:57
dtantsurdepends-on IPA-builder only works for jobs that build images (ironic-lib jobs do)17:57
JayFhmm, I knew we had talked about putting deploy steps in IPA-proper, I didn't realize we were going to put them in the GenericHardwareManager17:57
*** ociuhandu_ has joined #openstack-ironic17:57
*** uzumaki has quit IRC17:57
JayFI guess that's OK? I don't know why it wouldn't be, just was surprised when I looked at that patch17:57
dtantsurJayF: any built-in hardware manager will be equivalent, right? because they all are loaded, and admin has no say in it.17:58
*** uzumaki has joined #openstack-ironic17:58
JayFI was thinking something more like evaluate_hardware_support() looking for the config/args of files to inject, in this case17:58
JayFbut I think the way you did it is probably better...17:58
dtantsurevaluate_hardware_support has no access to the node or the deploy steps17:59
JayFyeah, which is why your way is right, because that all runs before even ironic is talking to ipa17:59
JayFI guess I wish we had more categorization in there rather than a single large "junk drawer"-style class17:59
TheJuliaReview jam time?17:59
JayFI'm going to join18:00
*** ociuhandu has quit IRC18:01
*** ociuhandu_ has quit IRC18:02
*** rloo has quit IRC18:09
*** rloo has joined #openstack-ironic18:14
openstackgerritIury Gregory Melo Ferreira proposed openstack/ironic-lib master: Add initial privsep structure  https://review.opendev.org/c/openstack/ironic-lib/+/74553618:15
*** k_mouza has quit IRC18:28
*** derekh has quit IRC18:32
openstackgerritDmitry Tantsur proposed openstack/python-ironicclient master: Clearer error message when unable to parse JSON  https://review.opendev.org/c/openstack/python-ironicclient/+/77588918:39
openstackgerritArun S A G proposed openstack/ironic master: Add anaconda support in the pxe boot driver  https://review.opendev.org/c/openstack/ironic/+/77589118:59
*** uzumaki has quit IRC19:12
*** dtantsur is now known as dtantsur|afk19:20
dtantsur|afko/19:20
iurygregoryI love agent token ronic_python_agent.errors.HeartbeatError: Error heartbeating to agent API: Error 400: Invalid or missing agent token received.19:25
iurygregoryD:19:25
iurygregoryand ofc it failed in the same job \o/19:26
*** uzumaki has joined #openstack-ironic19:27
stevebakermorning19:29
TheJuliagood morning19:29
openstackgerritJulia Kreger proposed openstack/ironic-python-agent-builder master: Remove PYOPTIMIZE_TINYIPA capability  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/77588419:31
iurygregorygood morning stevebaker19:34
stevebakerTheJulia: could I talk to you about the indicator API? I think there is 2 things going on. 1) the implementation diverted from the spec, different endpoints and behaviour. Also 2) the implementation is incomplete so it doesn't quite work anyway.19:35
stevebakeriurygregory: hey19:35
*** rcernin has joined #openstack-ironic19:35
iurygregoryo/19:35
TheJuliastevebaker: ugh19:37
TheJuliastevebaker: do you want to just talk about it early on our bug triage call?19:37
stevebakerTheJulia: good idea19:38
iurygregoryI'm the one who added the documentation https://docs.openstack.org/api-ref/baremetal/#indicators-management based on the spec =X19:38
iurygregoryso if something needs update there let me know19:38
stevebakeriurygregory: will do, thanks19:39
*** rcernin has quit IRC19:40
*** ayoung has joined #openstack-ironic19:45
*** tosin has quit IRC19:48
openstackgerritDmitry Tantsur proposed openstack/ironic master: Validate configdrive string format  https://review.opendev.org/c/openstack/ironic/+/77592219:48
openstackgerritDmitry Tantsur proposed openstack/ironic master: Use configdrive_use_object_store when swift is enabled  https://review.opendev.org/c/openstack/ironic/+/77592419:51
TheJuliadtantsur|afk: double checking your recollection, a user shouldn't be able to patch subresources like ports/portgroups.. right? or wrong?20:08
TheJuliahmmm20:10
TheJulialooks like it is for get only20:15
TheJuliawhich matches my memory20:15
TheJuliastevebaker: I've joined the call early if you want to hop on20:20
*** k_mouza has joined #openstack-ironic20:29
*** k_mouza has quit IRC20:34
*** hoonetorg has quit IRC21:02
*** rcernin has joined #openstack-ironic21:20
*** rcernin has quit IRC21:29
*** rcernin has joined #openstack-ironic21:34
*** rcernin has quit IRC21:39
*** hoonetorg has joined #openstack-ironic21:52
*** rcernin has joined #openstack-ironic22:24
*** dtruong has quit IRC22:37
*** dtruong has joined #openstack-ironic22:37
iurygregoryyay the error is different \o/22:38
iurygregoryhttps://zuul.opendev.org/t/openstack/build/a0e8b02112144d2d8dd64c2bf5ba4a10/log/controller/logs/screen-ir-cond.txt?severity=422:38
iurygregoryTheJulia, now at least I have an error that makes sense22:40
* iurygregory goes for dinner brb22:40
TheJuliawoot22:40
TheJuliastevebaker: hey, shouldn't get_all get called if I ask for a url GET: /v1/nodes/38d5abed-c585-4fce-a57e-a2ffc2a2ec6f/portgroups  ? well, get_all on the portgroup subcontroller22:41
jandersgood morning Ironic o/22:43
mgagneI'm trying to enable TLS for json-rpc. I configured json_rpc/use_ssl, json_rpc/certfile and json_rpc/keyfile but I'm getting this error when starting conductor. Any idea? ValueError: certfile must be specified for server-side operations22:44
mgagneAnswering my own question, cert needs to be in ssl/cert_file and ssl/key_file. The other configs are for the client certificate.22:47
stevebakerTheJulia: (looking)23:01
stevebakerTheJulia: I would assume so, yes. But I suspect the implementation is incorrectly using the get_all node argument instead of self.parent_node_ident23:08
TheJuliaSigh, that was my feeling. I guess more refactoring is needed than I thought for the rbac stuff in portgroups :(23:12
TheJuliaSomething for a fresh mind tomorrow23:13
*** rloo has quit IRC23:46
stevebakerTheJulia: oh wait, portgroup.py#119 is where it happens23:54
iurygregorymorning janders o/23:57
*** tosky has quit IRC23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!