Saturday, 2017-05-06

*** vnogin has joined #openstack-rpm-packaging01:20
*** vnogin has quit IRC01:24
*** vnogin has joined #openstack-rpm-packaging03:21
*** vnogin has quit IRC03:27
*** vnogin has joined #openstack-rpm-packaging05:24
*** vnogin has quit IRC05:29
*** pcaruana has joined #openstack-rpm-packaging06:50
*** vnogin has joined #openstack-rpm-packaging11:16
*** vnogin has quit IRC13:46
*** openstackgerrit has joined #openstack-rpm-packaging14:50
openstackgerritMerged openstack/rpm-packaging master: Update osc-lib to 1.6.0  https://review.openstack.org/46022214:50
openstackgerritAdam Spiers proposed openstack/rpm-packaging master: Add initial spec for masakari  https://review.openstack.org/45987915:19
*** vnogin has joined #openstack-rpm-packaging15:25
dirkaspiers: thanks. does it really not use oslo.service?15:47
dirkthat's a chance of upstream contribution!15:47
aspiersdirk: it uses a lot of oslo stuff; not sure about oslo.service15:47
aspiersdirk: no, it does use oslo.service. missing dependency?15:48
aspiersno, the dependencies are there15:48
aspiersdirk: why did you ask?15:49
dirkaspiers: because the systemd file uses Type=simple, I think it should use a notifying type then so that systemd waits for the service to start15:58
aspiersdirk: sounds good. is there an example I can copy?15:59
dirkaspiers: openstack-nova-compute15:59
aspiersdirk: thanks. BTW now I have climbed most of the rpm-packaging learning curve, it should be much easier for me to add other packages15:59
aspiersfor example, in the fictional future where I have some free time, I would like to add Watcher16:00
aspiersit's a pretty cool project which shouldn't be hard to add and would bring some quite shiny capabilities16:00
aspiersin the same fictional future I can also fix all Jenkins failures and rewrite SOC in ansible16:01
aspiersI'm 13 points away from 10k reputation on StackOverflow and the suspense is killing me16:01
aspiersdirk: I've looked in latest nova and can't find nova-compute calls to oslo_service.systemd APIs anywhere, even though they must be there16:17
aspiershttps://docs.openstack.org/developer/oslo.service/api/systemd.html16:17
aspiershttps://openstack.nimeyo.com/1990/openstack-dev-do-all-openstack-daemons-support-sd_notify16:19
aspiersI see systemd.notify_once() in neutron though16:20
aspiersin wsgi.py and ovs_neutron_agent.py16:21
aspiersbut none of those APIs are in masakari, so it will have to stick with Type=simple for now16:22
aspiersbut we could file a blueprint to add support, although it seems Dan Prince found some issues with sd_notify - not sure if they're resolved yet16:22
* cousin_luigi doesn't quite understand how things work between renderspec, the existing spec templates and the dist templates.17:33
cousin_luigiAre the dist templates only used to identify the former or also to generate them?17:33
*** apevec has joined #openstack-rpm-packaging18:08
*** apevec has joined #openstack-rpm-packaging18:08
dirkcousin_luigi: what does "dist_template" refer to?18:20
cousin_luigidirk: https://github.com/openstack/renderspec/blob/e96e65c8c897d4d3379c24163fd79c30062eb1b2/renderspec/dist-templates/suse.spec.j218:21
dirkcousin_luigi: ah, they're used for generation18:47
dirkBy default it chooses the host distribution flavor unless you're using cmdline override18:48
cousin_luigidirk: Ok. Suppose that I want to add a Provides line only to suse specs, do I create a new function in renderspec that converts or deletes the line {{ py2pvd(name) }} ? Or am I approaching this the wrong way?18:57
dirkcousin_luigi: if it's always the same provides i guess you could just add it to the dist template..19:11
*** pcaruana has quit IRC19:16
cousin_luigidirk: I mean, I wanted to fix the single-spec dependency with a Provides: python2-%{name} = %{version}19:16
cousin_luigisorry, pypy_name19:16
cousin_luigior whatever19:16
cousin_luigidirk: Won't that require all .spec.j2 to be regenerated?19:16
dirkcousin_luigi: ah, ok, for single spec compatibility19:19
dirkcousin_luigi: just add it to the dist template?19:19
cousin_luigidirk: Plain?19:19
cousin_luigiWill do I suppose.19:19
cousin_luigidirk: Do I make a fork on github and submit a pull request? How does it work?19:20
dirkThere was actually​ a discussion whether we're just going to rename to python2 globally19:20
cousin_luigidirk: That's going to screw up things elsewhere.19:20
cousin_luigiMeanwhile there are packages I can't submit to factory because the redhat guys don't want to make a decision.19:21
dirkcousin_luigi: what is currently blocked from factory submission and ehy?19:34
cousin_luigidirk: singlespec stuff depending on python-stevedore for example19:34
cousin_luiginot very important, but it's my stuff, isn't it?19:35
dirkcousin_luigi: well, I'm certainly not against making things work19:35
cousin_luigialso other stuff I've encountered. I can find it if it's important.19:35
dirkcousin_luigi: can you try a provides python2-{{pypiname }} ?19:36
dirkcousin_luigi: provides python2-{{pypiname }} = %version I mean of course19:36
cousin_luigidirk: exactly what I meant. But I'm not sure how to proceed.19:36
cousin_luigidirk: Fork and pr?19:37
dirkcousin_luigi: just post a review against renderspec or the rpm-packaging git template?19:37
cousin_luigidirk: I have no idea how to do that.19:47
cousin_luigiI mean, this is how I would do it https://github.com/openstack/renderspec/compare/master...luigino:master19:48
cousin_luigiBut I'm going to have to ask some handholding for the rest.19:48
dirkcousin_luigi: lets give it a try.. try running renderspec locally against a spec.j2 template and see what gets generated20:23
*** apevec has quit IRC20:26
cousin_luigidirk: No change whatsoever.20:50
cousin_luigiThat's why I wanted an expert:/20:50
aspiersdirk: any chance you could do me a big favour and give me 5 mins of your keystone troubleshooting expertise?21:11
aspierssorry, off topic for this channel21:12

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!