xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH OSSTEST v2 4/6] ts-openstack-devstack: Deploy OpenStack on a host
Date: Fri, 25 Sep 2015 13:35:14 +0100	[thread overview]
Message-ID: <20150925123513.GF1623@perard.uk.xensource.com> (raw)
In-Reply-To: <1441717439.24450.87.camel@citrix.com>

On Tue, Sep 08, 2015 at 02:03:59PM +0100, Ian Campbell wrote:
> On Thu, 2015-08-06 at 18:03 +0100, Anthony PERARD wrote:
> > This script also install packages needed and clone every OpenStack trees to
> > be use by devstack to deploy OpenStack.
> 
> How about:
> 
> This script installs any necessary packages and clones all of the OpenStack
> trees which are used by devstack to deploy OpenStack

Sounds better, I'll make the change.

> > 
> > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> > ---
> >  sg-run-job            |   5 +
> >  ts-openstack-devstack | 304
> > ++++++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 309 insertions(+)
> >  create mode 100755 ts-openstack-devstack
> > 
> > diff --git a/sg-run-job b/sg-run-job
> > index b7ab9e0..5320d62 100755
> > --- a/sg-run-job
> > +++ b/sg-run-job
> > @@ -360,6 +360,11 @@ proc run-job/test-rumpuserxen {} {
> >                   ts-guest-destroy-hard            host   $g   +
> >  }
> >  
> > +proc need-hosts/test-devstack {} { return host }
> > +proc run-job/test-devstack {} {
> > +  run-ts . = ts-openstack-devstack
> 
> I think you need " host" at the end of this line, in order that it gets
> passed to the script as an argument, don't you?

I'll add host.

> > +}
> > +
> >  #---------- builds ----------
> >  
> >  proc need-hosts/build {} { return BUILD }
> > diff --git a/ts-openstack-devstack b/ts-openstack-devstack
> > new file mode 100755
> > index 0000000..8bcd322
> > --- /dev/null
> > +++ b/ts-openstack-devstack
> > @@ -0,0 +1,304 @@
> > 
> [...]+
> > +tsreadconfig();
> > +our ($ho,$gho) = ts_get_host_guest(@ARGV);
> 
> I don't think you use $gho and sg-run-job doesn't pass one, so I think you
> just need to use selecthost.

I'll make the change.

> > [...]
> > +  my $openstack_git_base = git_massage_url('git://git.openstack.org');
> > [...]
> > +GIT_BASE="$openstack_git_base"
> 
> Does this suggest that it might try and clone anything which it can't find
> (i.e. which wasn't cloned by your list of clones), which would defeat the
> purpose of controlling the trees.
> 
> If this auto-cloning is not desirable then perhaps GIT_BASE should be set
> to some dummy value, "git://cache/this-shouldnt-exist" or some other bodge
> perhaps?

devstack have ERROR_ON_CLONE=True which achieve the same purpose. I will
remove the GIT_BASE cfg option.

> I think you also need to call store_revision for each tree (including any
> you don't explicitly clone here) at the end to record the actual versions
> which were built.
> 
> > +disable_service horizon
> > +disable_service n-novnc
> > +enable_service n-obj
> > +[[post-config|\$CINDER_CONF]]
> > +[lvmdriver-1]
> > +volume_group = $vg
> > +END
> > +
> > +  # libvirt is already install, but not as a package, so avoid
> 
> 
> "installed"

Done.

-- 
Anthony PERARD

  parent reply	other threads:[~2015-09-25 12:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 17:03 [PATCH OSSTEST v2 0/6] Have OpenStack tested on top of xen's master and libvirt's master Anthony PERARD
2015-08-06 17:03 ` [PATCH OSSTEST v2 1/6] ts-kernel-build: Enable CONFIG_NETFILTER_XT_TARGET_CHECKSUM Anthony PERARD
2015-08-06 17:03 ` [PATCH OSSTEST v2 2/6] ts-kernel-build: Compile CONFIG_CRYPTO_XTS in Anthony PERARD
2015-09-08 11:45   ` Ian Campbell
2015-08-06 17:03 ` [PATCH OSSTEST v2 3/6] ts-xen-install: Add dom0_mem runvar to control dom0 memory Anthony PERARD
2015-09-08 11:48   ` Ian Campbell
2015-09-08 12:52     ` Ian Campbell
2015-08-06 17:03 ` [PATCH OSSTEST v2 4/6] ts-openstack-devstack: Deploy OpenStack on a host Anthony PERARD
2015-09-08 13:03   ` Ian Campbell
2015-09-08 14:36     ` Ian Jackson
2015-09-25 12:36       ` Anthony PERARD
2015-09-25 12:35     ` Anthony PERARD [this message]
2015-09-25 12:45       ` Ian Campbell
2015-08-06 17:03 ` [PATCH OSSTEST v2 5/6] ts-openstack-tempest: Run Tempest to check OpenStack Anthony PERARD
2015-09-08 13:06   ` Ian Campbell
2015-09-25 13:04     ` Anthony PERARD
2015-09-25 13:17       ` Ian Campbell
2015-09-25 13:54         ` Ian Jackson
2015-08-06 17:03 ` [PATCH OSSTEST v2 6/6] Create a flight to test OpenStack with xen-unstable and libvirt Anthony PERARD
2015-09-08 13:14   ` Ian Campbell
2015-09-25 13:10     ` Anthony PERARD
2015-09-09 16:13 ` [PATCH OSSTEST v2 0/6] Have OpenStack tested on top of xen's master and libvirt's master Ian Campbell

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=20150925123513.GF1623@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.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).