eyal edri [Administrator] created OVIRT-651: -----------------------------------------------
Summary: fix deploy.sh script on resources.ovirt.org to deploy ovirt-release rpm Key: OVIRT-651 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-651 Project: oVirt - virtualization made easy Issue Type: Bug Components: Jenkins Reporter: eyal edri [Administrator] Assignee: infra Priority: Highest Currently the deploy to experimental uses a deploy.sh script under: resources.ovirt.org:/home/deploy-ovirt-experimental/ dir which is triggered by the deploy job [1] (for master in this case, but applies to all versions). The current code [2] doesn't work for non versioned RPMs like ovirt-release [3] and fails on [4]. repoman knows already how to handle this and [~sbonazo...@redhat.com] used it on another flow. The relevant params in the conf is: store.RPMStore.to_all_distros=ovirt-release* the param: on_wrong_distro with 'fail' as default value might also be related, and should probably have 'copy_to_all' value. See [5] for full doc on repoman. This is currently blocking from NG & Appliance to use the tested repo since they need the 'ovirt-release' rpm to work and its not deployed to experimental due to this. Also, once this is working we can probably drop the old publish artifacts jobs and use the experimental repo instead (we'll rename it to snapshot after softlinking the nightlies repos for a test period) [1] http://jenkins.ovirt.org/job/deploy-to-ovirt_experimental_master [2] repoman \ --verbose \ --temp-dir generate-in-repo \ --option main.allowed_repo_paths=/srv/resources/repos/ovirt/experimental \ --create-latest-repo \ '/srv/resources/repos/ovirt/experimental' \ add conf:stdin [3] http://jenkins.ovirt.org/job/ovirt-release_master_build-artifacts-el7-x86_64/ [4] http://jenkins.ovirt.org/job/deploy-to-ovirt_experimental_master/1265/console 2016-07-25 05:32:03,693::INFO::repoman.cmd.do_add:353:: 2016-07-25 05:32:03,693::INFO::repoman.common.stores.RPM._save:269::Saving new added rpms into /srv/resources/repos/ovirt/experimental/master/ovirt-release_el7_75 Traceback (most recent call last): File "/usr/bin/repoman", line 10, in <module> sys.exit(main()) File "/usr/lib/python2.7/site-packages/repoman/cmd.py", line 455, in main exit_code = do_add(args, config, repo) File "/usr/lib/python2.7/site-packages/repoman/cmd.py", line 355, in do_add repo.save() File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 42, in _func return func(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/repoman/common/repo.py", line 201, in save store.save() File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 261, in save self._save(**args) File "/usr/lib/python2.7/site-packages/repoman/common/stores/RPM/__init__.py", line 280, in _save 'No distros found in the repo and no packages with ' Exception: No distros found in the repo and no packages with any distros added. [5] http://repoman.readthedocs.io/ -- This message was sent by Atlassian JIRA (v1000.184.1#100008) _______________________________________________ Infra mailing list Infra@ovirt.org http://lists.ovirt.org/mailman/listinfo/infra