xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Anthony PERARD <anthony.perard@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH v14 12/24] ts-openstack-deploy: Ignore libvirt-python version and use latest
Date: Fri, 28 Jul 2017 14:56:13 +0100	[thread overview]
Message-ID: <20170728135625.30263-13-anthony.perard@citrix.com> (raw)
In-Reply-To: <20170728135625.30263-1-anthony.perard@citrix.com>

Devstack is going to try to install a specific version of libvirt-python
(currently 2.5.0) but this fail with libvirt installed by osstest.
Remove the requirement and use the latest available instead.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ts-openstack-deploy | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/ts-openstack-deploy b/ts-openstack-deploy
index befe3d3..00f262f 100755
--- a/ts-openstack-deploy
+++ b/ts-openstack-deploy
@@ -93,6 +93,21 @@ END
         }
     );
 
+    target_editfile($ho,
+        "$builddir/requirements/upper-constraints.txt",
+        sub {
+            while (<EI>) {
+                # Ignore libvirt-python requirement and install latest,
+                # otherwise it's not going to work with latest libvirt
+                # installed by osstest.
+                if (m/^libvirt-python===.*$/) {
+                    next;
+                }
+                print EO or die $!;
+            }
+        }
+    );
+
     # Package python-systemd does not exist in Debian installed by osstest
     target_editfile($ho, "$builddir/devstack/files/debs/general", sub {
         while (<EI>) {
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2017-07-28 14:16 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-28 13:56 [OSSTEST PATCH v14 00/24] Have OpenStack tested on top of xen's master and libvirt's master Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 01/24] ts-openstack-deploy: Deploy OpenStack on a host with devstack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 02/24] ts-openstack-tempest: Run Tempest to check OpenStack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 03/24] ts-openstack-deploy: Set http proxy Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 04/24] TestSupport: provide target_https_mitm_proxy_cert_path Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 05/24] ts-openstack-deploy: set CURL_CA_BUNDLE Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 06/24] ts-openstack-deploy: Keep CURL_CA_BUNDLE when sudo is called Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 07/24] ts-openstack-deploy: Try to disable use of SYSTEMD Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 08/24] ts-kernel-build: Enable network related modules for Neutron Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 09/24] ts-openstack-deploy: Switch to Neutron for network Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 10/24] ts-openstack-deploy: Increase open fd limit for RabbitMQ Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 11/24] ts-openstack-deploy: Apply a Tempest patch Anthony PERARD
2017-07-28 13:56 ` Anthony PERARD [this message]
2017-07-28 13:56 ` [OSSTEST PATCH v14 13/24] ts-openstack-tempest: Fix tempest invocation Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 14/24] ts-openstack-tempest: Update list of skipped tests Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 15/24] ts-openstack-deploy: Move logs to /var/log/openstack Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 16/24] ts-logs-capture: Capture OpenStack logs Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 17/24] ts-openstack-deploy: Increase devstack timeout Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 18/24] TestSupport: Introduce target_cmd_stashed Anthony PERARD
2017-07-28 14:19   ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 19/24] TestSupport: Implement target_subunit_cmd a subunit stream parser into substeps Anthony PERARD
2017-07-28 14:21   ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 20/24] ts-openstack-tempest: Use target_subunit_cmd Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 21/24] make-flight: Prepare devstack jobs on "openstack*" branches only Anthony PERARD
2017-07-28 14:27   ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 22/24] New branch openstack-ocata Anthony PERARD
2017-07-28 14:26   ` Ian Jackson
2017-07-28 13:56 ` [OSSTEST PATCH v14 23/24] make-flight: Increase dom0_mem for openstack flight Anthony PERARD
2017-07-28 13:56 ` [OSSTEST PATCH v14 24/24] openstack tests: Don't run them on arm* Anthony PERARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170728135625.30263-13-anthony.perard@citrix.com \
    --to=anthony.perard@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).