[Airship-discuss] dev_single_node behind proxy

須賀文哉 fumiya.suga at as.ntt-at.co.jp
Wed Jan 30 07:17:31 UTC 2019


Hello Roman,

Thanks for the advice!

I could run airship-in-a-bottle behind a proxy by using a patch.
However, deploy_site action was completed with some failed steps.

Following is the list of failed steps.

****snip****
step/01D29DMT22JZA35MQWEDY9CWS7/armada_build                      failed                                  
step/01D29DMT22JZA35MQWEDY9CWS7/armada_post_apply                 failed                                  
step/01D29DMT22JZA35MQWEDY9CWS7/armada_get_releases               upstream_failed                         
********


Also, heat_stack is not created.

Following is the snippet of the error.

****snip****
Creating KeyPair
+ error 'creating heat stack'
+ set +x
Error when creating heat stack.
+ exit 1
+ clean
+ set +x
To remove files generated during this script's execution, delete /root/deploy.
This VM is disposable. Re-deployment in this same VM will lead to unpredictable results.
********

Are there any solutions to these problems?
Is heat_stack creation error has any relation to the steps failed during deploy_site action?

Best regards,
Fumiya Suga

-----Original Message-----
From: Roman Gorshunov <paye600 at gmail.com> 
Sent: Friday, January 25, 2019 4:55 PM
To: airship-discuss at lists.airshipit.org
Subject: Re: [Airship-discuss] dev_single_node behind proxy

Yes, sorry for mistype, Fumiya.

1) https://github.com/openstack/airship-in-a-bottle/tree/master/manifests/dev_single_node
this one is not set up for proxy, however this https://review.openstack.org/#/c/615387/
patch might allow it.
Git clone AIAB repository, cd airship-in-a-bottle/, and then copy and run commands listed in top right corner here https://review.openstack.org/#/c/615387/ in Download -> Checkout field.

2) https://github.com/openstack/airship-in-a-bottle/tree/master/manifests/dev_minimal
seems to have instructions for proxy set up, but looks to be a bit outdated. I will look into it later.

3) https://github.com/openstack/airship-in-a-bottle/tree/master/tools/multi_nodes_gate
I don't really have more details rather than provided in the README in this directory. setup_gate.sh script imports proxy-related environment variables and sets up at least docker and apt to use proxy for images and pachage downloads.

Why it's so hard to get it running behind the proxy? - because most developers either have direct access to the Internet, or they use internal repositories of containers and packages. I understand that not everyone has access to big VMs running not behind proxy.

Best regards,
--
Roman Gorshunov

On Fri, Jan 25, 2019 at 3:01 AM 須賀文哉 <fumiya.suga at as.ntt-at.co.jp> wrote:
>
> Hello Roman,
>
> Thank you for your reply.
> I`ll try it, but
>
> > This one 
> > https://github.com/openstack/airship-in-a-bottle/tree/master/manifes
> > ts/dev_single_nodeis not set up for proxy at the moment, however 
> > there is a patch which This one 
> > https://github.com/openstack/airship-in-a-bottle/tree/master/manifes
> > ts/dev_single_nodeis set up for proxy, I'm running a test on it now.
>
> These URL are same and I think there is typo in the url, is it okay?
>
> I would be gratefull if you can explain me how to apply patch to deploy airship-in-a-bottle behind proxy for demo site.
>
>
> > This one 
> > https://github.com/openstack/airship-in-a-bottle/tree/master/tools/m
> > ulti_nodes_gate is set up for running behind the proxy (I did not 
> > try it yet). There is also README with some info.
>
> Would you also give me details about multi_node_gates?
> What does it do? Its prerequisites, installation process, proxy configuration etc..
>
>
> Best regards,
> Fumiya Suga
>
> -----Original Message-----
> From: Roman Gorshunov <paye600 at gmail.com>
> Sent: Friday, January 25, 2019 12:16 AM
> To: airship-discuss at lists.airshipit.org
> Subject: Re: [Airship-discuss] dev_single_node behind proxy
>
> Hello Fumiya,
>
> This one 
> https://github.com/openstack/airship-in-a-bottle/tree/master/manifests
> /dev_single_nodeis not set up for proxy at the moment, however there 
> is a patch which possibly solves it: https://review.openstack.org/#/c/615387/ (it hasit's own issues, though).
> This one 
> https://github.com/openstack/airship-in-a-bottle/tree/master/manifests
> /dev_single_nodeis set up for proxy, I'm running a test on it now. 
> Note the README file and instructions in it.
> This one 
> https://github.com/openstack/airship-in-a-bottle/tree/master/tools/mul
> ti_nodes_gateis set up for running behind the proxy (I did not try it 
> yet). There is also README with some info.
>
> -- Roman Gorshunov
>
> On Thu, Jan 24, 2019 at 5:08 AM 須賀文哉 <fumiya.suga at as.ntt-at.co.jp> wrote:
> >
> > Hi Drew,
> >
> > I have been trying to install airship-in-a-bottle behind proxy.
> > I am trying to run airship-in-a-bottle.sh script located in 
> > ../manifest/dev_single_node/ behind proxy.
> >
> > Best Regards,
> > Fumiya Suga
> >
> > -----Original Message-----
> > From: Drew Walters <drewwalters96 at gmail.com>
> > Sent: Thursday, January 24, 2019 12:23 PM
> > To: 須賀文哉 <fumiya.suga at as.ntt-at.co.jp>
> > Cc: Roman Gorshunov <paye600 at gmail.com>; 
> > airship-discuss at lists.airshipit.org
> > Subject: Re: [Airship-discuss] dev_single_node behind proxy
> >
> > > Hello Roman,
> > >
> > > Thanks for the advice.
> > > I tried exporting proxy environment variables as per your advice, 
> > > However my airship-in-a-bottle installation ended on same error as
> > mentioned before.
> > > Am I missing something?Does airship-in-a-bottle installation works 
> > > behind
> > the proxy?
> > >
> > > Any help would be appreciated.
> > >
> > > Best regards,
> > > Fumiya Suga
> >
> >
> > Hi Fumiya,
> >
> > May you specify which Airship-in-a-Bottle setup (e.g. dev minimal) 
> > you are using? Some of them are not yet compatible with proxy servers.
> >
> > Thanks!
> >
> > Drew Walters
> >
> >
> >
>
> _______________________________________________
> Airship-discuss mailing list
> Airship-discuss at lists.airshipit.org
> http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss
>
>
>

_______________________________________________
Airship-discuss mailing list
Airship-discuss at lists.airshipit.org
http://lists.airshipit.org/cgi-bin/mailman/listinfo/airship-discuss






More information about the Airship-discuss mailing list