<div dir="ltr">I am on #openstack-containers IRC<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 28 gen 2019 alle ore 10:47 feilong <<a href="mailto:feilong@catalyst.net.nz">feilong@catalyst.net.nz</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Is the heat stack creation stuck ? Can you see any error from
Heat log? It would be nice if you can pop up into
#openstack-containers IRC channel so that we can discuss more
details? Thanks.<br>
</p>
<p><br>
</p>
<div class="gmail-m_7011851590837165182moz-cite-prefix">On 28/01/19 10:42 PM, Ignazio Cassano
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hello Feilong, I need the workaround on old and
and patched version of magnum.</div>
<div><br>
</div>
<div>The old version I installed with apt is:</div>
<div><br>
</div>
<div>oot@tst2-magnum-ubu:~# dpkg -l|grep magnum<br>
ii magnum-api
6.1.0-0ubuntu1~cloud0
all OpenStack containers as a service<br>
ii magnum-common
6.1.0-0ubuntu1~cloud0
all OpenStack containers as a service -
API server<br>
ii magnum-conductor
6.1.0-0ubuntu1~cloud0
all OpenStack containers as a service -
conductor<br>
ii python-magnum
6.1.0-0ubuntu1~cloud0
all OpenStack containers as a service -
Python library<br>
ii python-magnumclient
2.8.0-0ubuntu1~cloud0
all client library for Magnum API -
Python 2.x<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Then I pached magnum with the following
commands:</div>
<div><br>
</div>
<div>cd /tmp</div>
git clone git://<a href="http://git.openstack.org/openstack/magnum" target="_blank">git.openstack.org/openstack/magnum</a></div>
cd magnum</div>
<div dir="ltr">git fetch git://<a href="http://git.openstack.org/openstack/magnum" target="_blank">git.openstack.org/openstack/magnum</a>
refs/changes/30/629130/9 && git checkout
FETCH_HEAD</div>
mv /usr/lib/python2.7/dist-packages/magnum
/usr/lib/python2.7/dist-packages/magnum.orig</div>
<div>cp -rp magnum /usr/lib/python2.7/dist-packages/</div>
<div><br>
</div>
<div>Then I applyed again my workaround because my
external network used by magnum needs a proxy for
accessing internet.</div>
<div>But on pre-patched version magnum heat stacks work
fine.</div>
<div>Magnum patched stacks hang creating kube master
Resource Group.</div>
<div>Thanks</div>
<div>Ignazio<br>
</div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail-m_7011851590837165182gmail_attr">Il giorno lun 28 gen 2019 alle
ore 10:25 feilong <<a href="mailto:feilong@catalyst.net.nz" target="_blank">feilong@catalyst.net.nz</a>> ha
scritto:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p>Hi Ignazio,</p>
<p>I'm jumping in to help. But I'd like to understand the
issue correctly. You mentioned using explicitly 'export'
you can workaround it before with old Magnum versions.
Does it still work for you now? And what's your current
Magnum version? Thanks.<br>
</p>
<p><br>
</p>
<div class="gmail-m_7011851590837165182gmail-m_-4398644521481796237moz-cite-prefix">On
22/01/19 6:32 AM, Ignazio Cassano wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">I think that the script used to write
/etc/sysconfig/heat-parms should insert an export for
any variable initialized.
<div dir="auto">Any case resourcegroup worked fine
before applying last patch.</div>
<div dir="auto">What is changed ?</div>
<div dir="auto">Thanks in Advance for any help.</div>
<div dir="auto">Regards </div>
<div dir="auto">Ignazio</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Il giorno Lun 21 Gen 2019 12:42 Ignazio
Cassano <<a href="mailto:ignaziocassano@gmail.com" rel="noreferrer
noreferrer" target="_blank">ignaziocassano@gmail.com</a>>
ha scritto:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">I am trying patches you just
released for magnum (git fetch git://<a href="http://git.openstack.org/openstack/magnum" rel="noreferrer noreferrer noreferrer" target="_blank">git.openstack.org/openstack/magnum</a>
refs/changes/30/629130/9 && git checkout
FETCH_HEAD)<br>
I got same issues on proxy. In the old version I
modified with the help of spyros the scripts
under
/usr/lib/python2.7/dist-packages/magnum/drivers/common/templates/kubernetes/fragments<br>
because PROXY variables are not
inherited <br>
in /etc/sysconfig/heat-params PROXY E NO PROXY
variables are present but we must modify
configure-kubernetes-master.sh to force
them <br>
. /etc/sysconfig/heat-params<br>
echo "configuring kubernetes (master)"<br>
_prefix=${CONTAINER_INFRA_PREFIX:-<a href="http://docker.io/openstackmagnum/" rel="noreferrer noreferrer noreferrer" target="_blank">docker.io/openstackmagnum/</a>}<br>
export HTTP_PROXY=${HTTP_PROXY}<br>
export HTTPS_PROXY=${HTTPS_PROXY}<br>
export NO_PROXY=${NO_PROXY}<br>
echo "HTTP_PROXY IS ${HTTP_PROXY}"<br>
exporting the above variables when external
network has a proxy, the master is installed but
stack hangs creating kube master Resource Group<br>
</div>
<div dir="ltr"><br>
</div>
<div>Regards</div>
<div>Ignazio<br>
</div>
<div dir="ltr"><br>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<pre class="gmail-m_7011851590837165182gmail-m_-4398644521481796237moz-signature" cols="72">--
Cheers & Best regards,
Feilong Wang (王飞龙)
------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="gmail-m_7011851590837165182gmail-m_-4398644521481796237moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz" target="_blank">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
------------------------------------------------------ </pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="gmail-m_7011851590837165182moz-signature" cols="72">--
Cheers & Best regards,
Feilong Wang (王飞龙)
------------------------------------------------------
Senior Cloud Software Engineer
Tel: +64-48032246
Email: <a class="gmail-m_7011851590837165182moz-txt-link-abbreviated" href="mailto:flwang@catalyst.net.nz" target="_blank">flwang@catalyst.net.nz</a>
Catalyst IT Limited
Level 6, Catalyst House, 150 Willis Street, Wellington
------------------------------------------------------ </pre>
</div>
</blockquote></div>