*** dklyle has quit IRC | 00:11 | |
*** larainema has joined #starlingx | 00:22 | |
*** dklyle has joined #starlingx | 01:37 | |
*** dklyle has quit IRC | 01:54 | |
*** gkadam has joined #starlingx | 03:28 | |
dirk | marj: ah, okay, that's actually true, defining a base distribution is an admin operation. I wonder if we need that or if we could just import all of it for now | 05:39 |
---|---|---|
dirk | I can ping my favorite admin though | 05:39 |
*** jaewook_oh has joined #starlingx | 08:07 | |
*** jaewook_oh has quit IRC | 08:19 | |
*** akozyrev has quit IRC | 09:21 | |
*** boxiang has quit IRC | 09:48 | |
*** ijolliffe has joined #starlingx | 12:30 | |
*** gkadam has quit IRC | 12:40 | |
*** dklyle has joined #starlingx | 14:13 | |
*** marosales has joined #starlingx | 14:14 | |
sgw | Morning all | 14:28 |
dpenney_ | good morning, Saul! | 14:28 |
sgw | dirk: I know you setup your copy of the fault stuff to use Clould:OpenStack:Rocky, but I am not finding the magic place to do that | 14:29 |
sgw | dirk: is it via a osc meta command or directly editing the _buildconfig-SLE_12_SP4 file? | 14:29 |
sgw | dirk: I figured out how to add the Rocky packages to my SLE_12_SP4 Repo, but the build is still excluded, I added and changed the spec files yesterday and commited them to my home:saulwold/stx-fault project, suggestions welcome The local builds from command line seem to work correctly. | 14:51 |
*** marosales has quit IRC | 14:59 | |
*** marj has joined #starlingx | 15:06 | |
*** marosales has joined #starlingx | 15:23 | |
*** dklyle has quit IRC | 15:50 | |
*** dklyle has joined #starlingx | 15:52 | |
*** cfriesen has joined #starlingx | 16:00 | |
*** dklyle has quit IRC | 16:11 | |
marosales | hi team, I don't know if dirk or someone with OBS knowledge is here | 16:11 |
marosales | I'm packaging an stx projects that depends on another stx project, I have the first dependency already on OBS here https://build.opensuse.org/package/show/home:marcelarosalesj/fm-common | 16:11 |
marosales | now I need this project https://build.opensuse.org/package/show/home:marcelarosalesj/fm-mgr to see those packages | 16:12 |
*** dklyle has joined #starlingx | 16:16 | |
*** dklyle has quit IRC | 16:21 | |
*** dklyle has joined #starlingx | 16:23 | |
sgw | marosales: I worked this out for the local builds, using the osc build -p /tmp/<dir that contains fm-common-devel.rpm> SLE_12_SP4 fm-mgr.spec | 16:25 |
sgw | marosales: I have not worked it out for OBS server compile | 16:25 |
sgw | marosales: if you look at my home:saulwold/stx-fault you will see a better example | 16:26 |
sgw | https://build.opensuse.org/package/show/home:saulwold/stx-fault# | 16:27 |
marosales | did you use upstream fm-mgr.spec? | 16:28 |
sgw | marosales: see the fm-mgr.spec that I changed in the above OBS project. | 16:29 |
sgw | Also I figured out how to add the Cloud:OpenStack:Rocky Repo for some additional packages (I know it's not Stein, that will come later) | 16:31 |
sgw | marosales: start in your home page on OBS, select Repositiories, then edit the SLE_12_SP4 repo, from there "add additional path to this repoository" then enter Cloud:OpenStack:Rocky in the Project text box. | 16:33 |
marosales | oh, thanks! and that way one can add additional repositories | 16:35 |
marosales | I'm building right now the fm-mgr using your specfile | 16:36 |
sgw | marosales: locally or on OBS | 16:40 |
marosales | if I have two repository path, it will look on both, right? I've these two SUSE:SLE-12-SP4:GA/standard and Cloud:OpenStack:Rocky/SLE_12_SP4 | 16:40 |
sgw | Yes, I think so, if you are getting issues still maybe try to re-order and put OpenStack first, there's a button in the edit repo page | 16:43 |
dirk | marosales: I'm here now, whats the question? | 16:53 |
dirk | sgw: it is "excluded" because by default it looks for a file inside the package that matches the package name | 16:54 |
dirk | sgw: e.g. in your case it looks for stx-fault.spec inside the stx-fault package | 16:54 |
dirk | sgw: this file does not exist, hence it says "meh, nothing to build" and sets the state to excluded | 16:55 |
dirk | sgw: what you can do is create either a) a _multibuild file that lists the spec files explicitely that you want to have built or b) do a symbolic link package to the names that you want | 16:55 |
sgw | dirk: so the tarballs need to match the specfile names, I thought there was a way to have 1 tarball with many specs | 16:55 |
dirk | e.g. osc linkpac home:saulwold/stx-fault home:saulwold/fm-common | 16:56 |
sgw | crossed typing!! | 16:56 |
dirk | then the new package fm-common would inherit the sources from stx-fault and that other "package" would start to build fm-common.spec | 16:56 |
sgw | I think _multibuild is better | 16:56 |
dirk | sgw: see https://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.multibuild.html for details | 16:56 |
marosales | hi dirk! my question was how to setup OBS so a package fm-mgr in my repository home:marcelarosalesj can see a package fm-common in the same repository? and if it's possible to setup a different repo somewhere else | 16:57 |
dirk | marosales: so by default all packages in the same project/repository can see each other | 16:58 |
dirk | marosales: you can also inherit other project/repositories (there are multiple ways to do that= | 16:58 |
dirk | marosales: you can also inherit other project/repositories (there are multiple ways to do that) | 16:58 |
dirk | the part that is less easy to do is to import an *externally* (buidl service externally) hosted repository import. | 16:58 |
dirk | marosales: which error specifically are you currently trying to fix? this one? https://build.opensuse.org/package/live_build_log/home:marcelarosalesj/fm-mgr/SLE_12_SP4/x86_64 | 16:59 |
*** dklyle has quit IRC | 16:59 | |
*** dklyle has joined #starlingx | 17:01 | |
sgw | dirk: how do I create/psuh the _multibuild file? I tried osc ci after editing the file and it complained about it being in an inconsistent state | 17:12 |
marosales | yes, that one, let's solve one problem at a time. | 17:13 |
marosales | I have two errors now, one is with suse, the log says it didn't find g++. The other one is with debian, that one says that it cannot find fmcommon https://build.opensuse.org/package/live_build_log/home:marcelarosalesj/fm-mgr/Debian_9.0/x86_64 | 17:15 |
sgw | marosales: drop debian for now please | 17:15 |
sgw | for g++ see my fm_common.spec, your missing the buildrequires | 17:16 |
marosales | okay, let's focus on suse | 17:16 |
sgw | marosales: right, let's just remove the debian and ubuntu repos from your project for now | 17:18 |
sgw | dirk: got the multibuild figured out, building! | 17:24 |
dirk | sgw: great news. sorry was afk | 17:26 |
sgw | dirk, now I have some unresolved oslo, probably package name difference | 17:28 |
dirk | sgw: yes, packages are called python-oslo.foo rather than python-oslo-foo in SLE | 17:29 |
sgw | dirk also the fm-api failure has "an unversioned self-provide" | 17:29 |
dirk | sgw: yep, delete line 21 in your spec file | 17:30 |
dirk | you're providing the same name liek the package name is itself, which doesn't make sense as it is without versioning | 17:30 |
dirk | if you do "Provide: x = 1.2.3" then you're providing x in version 1.2.3 | 17:31 |
sgw | Got it. | 17:31 |
dirk | unversioned provides are very dangerous as they're hard to get rid of | 17:31 |
dirk | no version is higher than anything with a version | 17:32 |
sgw | Right, I understand it. | 17:33 |
sgw | dirk: where did out stash the setting of the tis_patch_ver? | 17:46 |
*** dklyle has quit IRC | 17:52 | |
*** ijolliffe has quit IRC | 17:56 | |
*** marj has quit IRC | 17:58 | |
*** ijolliffe has joined #starlingx | 18:02 | |
dirk | sgw: I played some tricks by injection the macro definition via osc meta prjconf $projectname | 18:21 |
dirk | You can list that in my branch and then copy &paste it into yours by using -e for edit | 18:21 |
*** ijolliffe has quit IRC | 18:34 | |
sgw | dpenney_: and/or others: who is a puppet person? I seem to have run into a problem with puppet and the sysadmin/sys_protected change | 18:42 |
sgw | rror: 2019-05-14 15:00:28 +0000 Evaluation Error: Error while evaluating a '->' expression, The expression <::platform::params> is not a valid type specification. at /usr/share/puppet/modules/platform/manifests/users.pp:42:3 on node localhost.localdomain | 18:42 |
sgw | marosales: check out what I have now in the OBS stx-fault package, need to get fm-doc and fm-rest-api completed fixed up now | 18:44 |
*** ijolliffe has joined #starlingx | 18:44 | |
*** ijolliffe has quit IRC | 18:47 | |
*** ijolliffe has joined #starlingx | 18:49 | |
*** marosales has quit IRC | 19:06 | |
* sgw WOOT It builds in OBS: https://build.opensuse.org/package/show/home:saulwold/stx-fault | 19:07 | |
*** dklyle has joined #starlingx | 19:16 | |
*** dklyle has quit IRC | 19:19 | |
*** david-lyle has joined #starlingx | 19:19 | |
*** david-lyle has quit IRC | 19:42 | |
ijolliffe | nice | 20:22 |
sgw | ijolliffe: baby steps! | 20:41 |
sgw | dtroyer: If I change a .zuul.yaml, does it get run when the review is pushed? | 21:20 |
dpenney_ | zuul uses the .zuul.yaml from the commit being reviewed, yes - if that's what you're asking | 21:22 |
*** dklyle has joined #starlingx | 21:27 | |
dtroyer | sgw: yes, that is how it is all self-testing | 21:31 |
sgw | dpenney_: thanks for the confirmation, I am going to send an update for the stx-fault packaging sanity check to see what happens | 21:31 |
sgw | It's my first zuul change and wanted to try and test it even before the review, but I guess that's the only way to do it, expect breakage! | 21:32 |
dtroyer | sgw: that is the fun part, that is the only way to test job definitions | 21:34 |
dtroyer | It is even more fun for those in the common job repos that can't test themselves... | 21:35 |
* sgw let the fun begin! | 21:35 | |
sgw | dtroyer: so where do I find the logs when zuul just fails, I am looking on zuul.opendev.org, on the openstack status page | 21:39 |
dtroyer | It will always report _something_ to the review. If it is a syntax/config file problem it will be a Zuul comment in the review, otherwise in the job list. Job failures that cause it ti die before the logs get copied will of course not have any logs there | 21:41 |
dtroyer | For those you can sometimes recheck it and watch the job logs in real-time via the status page to try and sort it out. I have had some luck with that. Otherwise asking for help in #-infra is your best bet. | 21:42 |
sgw | dtroyer: Ok and I kick it with a recheck comment? | 21:43 |
dtroyer | yes. | 21:44 |
*** ijolliffe has quit IRC | 21:44 | |
dtroyer | what is the review? | 21:44 |
sgw | https://review.opendev.org/#/c/659157/2 | 21:44 |
*** dklyle has quit IRC | 21:44 | |
*** dklyle has joined #starlingx | 21:44 | |
sgw | Sorry dealing zuul, puppet, tox, specfiles my head is exploding | 21:45 |
dtroyer | so line 14 of .zuul.yaml needs a trailing colon | 21:45 |
dtroyer | Besides syntactic whitespace this is one of the things I wish the most was different in yaml | 21:46 |
sgw | Thanks! | 21:47 |
dtroyer | sgw: also, once the job definition settles down we should put it with the other common stx jobs, that is currently in integ | 21:48 |
sgw | Sure, need to get past learning new syntax and deail with the failures | 21:49 |
sgw | brb | 21:49 |
*** dklyle has quit IRC | 21:50 | |
sgw | spelling mistake in packaging fixed | 21:56 |
*** marosales has joined #starlingx | 21:57 | |
sgw | and it's running!! | 21:57 |
*** thorre_se has joined #starlingx | 22:06 | |
*** thorre has quit IRC | 22:06 | |
*** thorre_se is now known as thorre | 22:06 | |
sgw | So, it fails because of no rpm or rpmspec, I will look at what openstack-rpm-packaging is using | 22:14 |
*** ijolliffe has joined #starlingx | 22:19 | |
* sgw specfile checking works ! | 22:36 | |
*** ijolliffe has quit IRC | 22:59 | |
*** irclogbot_2 has quit IRC | 23:45 | |
*** irclogbot_2 has joined #starlingx | 23:49 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!