Thanks Bharath,
I have tried your way, and it is working ...

>From what I noticed is that the Dockerfile for sdc-be has modified since
the last code I had. At present, the base docker are mentioned as "FROM
onap/base_sdc-jetty:1.4.0-SNAPSHOT-latest". But the older code(which
successfully installed python in docker) has the line as "FROM
onap/base_sdc-jetty:*1.3.0*-SNAPSHOT-latest"

On changing the dockerfile to 1.3.0-SNAPSHOT-latest, and rerunning *mvn
install -P docker*, I was able to run Python inside docker again.. Not sure
if this is the right way of doing ...


Regards,
Satyaki Mallick
Huawei


On Thu, Aug 2, 2018 at 7:41 PM Kranthi Guttikonda <
[email protected]> wrote:

> In OOM beijing this will be handled by sdc-be-config job. Sdc-fe will only
> get up after completion of sdc-be-config job
>
>
>
> Thanks,
> Kranthi
>
>
>
> *From: *<[email protected]> on behalf of bharath thiruveedula <
> [email protected]>
> *Reply-To: *"[email protected]" <[email protected]>, "
> [email protected]" <[email protected]>
> *Date: *Wednesday, August 1, 2018 at 2:01 PM
> *To: *"[email protected]" <[email protected]>, "
> [email protected]" <[email protected]>
> *Subject: *Re: [onap-discuss] issue with Python inside SDC-BE Docker
>
>
>
> Hi Satyaki,
>
>
>
> I faced similar issue. Actually sdc-config-be job will take care of
> importing normative types to sdc-be. But in my case it was not happening.
>
>
>
> So I tried the following steps:
>
>    - Clone "https://git.onap.org/sdc"; into the machine where you can
>    access the sdc-be.
>    - Change to the directory
>    "sdc/catalog-be/src/main/resources/scripts/import/tosca/"
>    - If it is heat based deployment run "*python **importNormativeAll.py
>    -i <sdc-ip> -p 8080*"
>    - If it is OOM based deployment run "*python* *importNormativeAll.py
>    -i <oom-ip> -p 30205"*
>
>
>
> This hack solved my issue.
>
>
>
> Best Regards
>
> Bharath T
>
>
>
>
> ------------------------------
>
> *From:* [email protected] <[email protected]> on
> behalf of Satyaki Mallick <[email protected]>
> *Sent:* Wednesday, August 1, 2018 7:54 PM
> *To:* [email protected]
> *Subject:* [onap-discuss] issue with Python inside SDC-BE Docker
>
>
>
> Hello,
>
>
>
> For importing the data-types and normative-types, we need to run the
> python scripts present inside BE docker.
>
>
>
> But recently, the BE docker container is *not* generating pre-installed
> with Python.
>
>
>
> We also weren't very much successful in installing Python inside the
> docker..
>
>
>
> A look into the Dockerfile didn't help much
>
>
>
> Can somebody point out where are things going wrong  ..? We have been
> stuck up in this for quite a while now ..
>
>
>
>
>
> Thank You,
>
> Satyaki Mallick
>
>
>
> 
>

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

View/Reply Online (#11620): https://lists.onap.org/g/onap-discuss/message/11620
Mute This Topic: https://lists.onap.org/mt/24005635/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to