Hi,

I don’t think that is a bug. If you look at the Dockerfile on gerrit: 
https://gerrit.onap.org/r/gitweb?p=ccsdk/distribution.git;a=blob;f=ansible-server/src/main/docker/Dockerfile;h=86b368c9fd62efa6c8afb33271b9401e0371d3a4;hb=HEAD

Those apt packages should be installed. Maybe that is something issue when 
building ansible container. then apt gets failed.

Taka

From: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On 
Behalf Of jkzcristiano
Sent: Wednesday, September 19, 2018 4:20 AM
To: onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] onap-sdnc-ansible-server cannot launch


Hi all,

sdnc-ansible-server has a bug reported 
here<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_SDNC-2D439&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=MZarBBL1rqmEX8Jx5Td7lVqHk3D_bvEqCyi75-i3ZWg&s=NQgP_n__yXWgEUKga6DbSIyZA4U4A3osVOaOb2qfVq0&e=>
 for Casablanca release. However, I think 2.0.0-ONAP and Beijing releases are 
experiencing the same issue.

I tried what Abdelmuhaimen Seaudi suggested by updating the initial 
instructions to be executed in the deployment.yaml file of the pod through K8s 
UI.

[cid:image001.png@01D44FF4.A2D79940]

Now it gets all ubuntu archives but the pod is still in CrashLoopBackOff state.

The important issue is
Traceback (most recent call last):
File "RestServer.py", line 34, in &lt;module&gt;
import cherrypy
File "/usr/local/lib/python2.7/dist-packages/cherrypy/__init__.py", line 66, in 
&lt;module&gt;
from ._cperror import (
File "/usr/local/lib/python2.7/dist-packages/cherrypy/_cperror.py", line 122, 
in &lt;module&gt;
import urllib.parse
ImportError: No module named parse

which has been reported 
here<https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_29358403_no-2Dmodule-2Dnamed-2Durllib-2Dparse-2Dhow-2Dshould-2Di-2Dinstall-2Dit&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=i5VHNTZ3SDPgIii87sudZA&m=MZarBBL1rqmEX8Jx5Td7lVqHk3D_bvEqCyi75-i3ZWg&s=qalqWRzZcdK8CSqpM3kGkVz8uIk3uJS5I_rDs8jQmI4&e=>
 and it seems a compatibility issue between Python2&3. However, I don't know 
how to try the suggested change:

If you need to write code which is Python2 and Python3 compatible you can use 
the following import

try:

    from urllib.parse import urlparse

except ImportError:

     from urlparse import urlparse

I think this issue is important since, IMHO, no release is working.

Xoan


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12507): https://lists.onap.org/g/onap-discuss/message/12507
Mute This Topic: https://lists.onap.org/mt/25510544/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to