Hmmmm.... so you are sure that it was different some time ago?

So I see the mount in the statefulset of sdnc in oom master

https://gerrit.onap.org/r/gitweb?p=oom.git;a=blob;f=kubernetes/sdnc/templates/statefulset.yaml;h=d252c9a3fb5c2f3f27afe4d3639ed6e6f01b16a7;hb=refs/heads/master

in line 344-346 which is then referenced in 426. So I think this is used
since I do not see any if condition near that. But this hasn't changed
for a while and the fix for log4j Dan has commited did not change
anything on that.

https://gerrit.onap.org/r/gitweb?p=oom.git;a=commit;h=1426fed07453672a80dae47416fbf256d58b95f2

So I am really not sure what the problem is. Since we also have not
touched anything on the users inside of the sdnc-image or their base
images. So if the only change is the odl version and within this the
karaf version, maybe an older version was able to handle this.

Should be easy to verify with a simple docker run including a volume for
only this file with an older sdnc-image. I can try this if you like to,
but then it would happen tomorrow. Or easier with the docker-compose in
the sdnc/oam here:

https://gerrit.onap.org/r/gitweb?p=sdnc/oam.git;a=blob;f=installation/sdnc/src/main/dc/docker-compose.yaml;h=71f28159bbace967c7beba87e941b5d31eb90b54;hb=refs/heads/master

Kind regards,
Michael

On 07.04.22 18:49, Hesam Rahimi via lists.onap.org wrote:
>
> Hi Michael,
>
>  
>
> Thanks for your response. However, I used the exact image version
> mentioned below but I still have the same problem. User rights for
> org.ops4j.pax.logging.cfg is not correct, and I cannot change it to
> “odl” from “root”. All other files are ok except this single one:
>
>  
>
> I used the same sdnc-image version as you mentioned:
>
>  
>
> When I used some older SDNC images I did not have this problem, but I
> can no longer use those older images due to other restrictions.
>
>  
>
> Do you have any other suggestions? BTW, we deployed ONAP using OOM
> master branch.
>
>  
>
> Thanks,
>
>  
>
> Hesam
>
>  
>
>  
>
> *From:* Michael Dürre <[email protected]>
> *Sent:* Thursday, April 7, 2022 2:33 AM
> *To:* [email protected]; Hesam Rahimi <[email protected]>
> *Subject:* Re: [onap-discuss] log4j error: can no longer change log
> level or tail in karaf console
>
>  
>
> Hi Hesam,
>
> on my side this problem does not appear with the
> sdnc-image:2.3.1-STAGING-20220405T124112Z. I mean I was able to
> execute log:set command. User rights are also looking quite good.
>
> Do you may use this file as a container volume?
>
> Kind regards,
> Michael
>
> On 06.04.22 19:48, Hesam Rahimi via lists.onap.org wrote:
>
>     Hi all,
>
>      
>
>     I’m having trouble to “tail” the logs in karaf console inside sdnc
>     pod. It looks like log4j config file is now a “readOnly” file
>     system and so I can neither do “tail” nor change any log level
>     inside karaf console. Below is the error I’m getting when trying
>     to do log:tail or log:set.
>
>      
>
>     Anyone can please help me on how to resolve this issue? BTW, it
>     looks like this issue is relatively new and possibly after the
>     recent submissions around log4j.
>
>      
>
>     Thanks,
>
>      
>
>     Hesam
>
>      
>
>      
>
> -- 
>
> *Michael Dürre*
>
> Software Engineer
>
>  
>
> highstreet technologies GmbH
>
> Hähnelstraße 6
>
> 12159 Berlin
>
> Skype: [email protected]
>
> E-Mail: [email protected]
> <mailto:[email protected]>
>
> Web: http://www.highstreet-technologies.com
> <http://www.highstreet-technologies.com>
>
>  
>
> Geschäftsführer: Dipl.-Ing. (FH) Alfons Mittermaier
>
> Handelsregister: Amtsgericht Charlottenburg, HRB 114905 B
>
> Firmensitz: Berlin
>
> USt-IdNr.: DE261090513
>
>  
>
>  
>
> 
-- 

*Michael Dürre*

Software Engineer

 

highstreet technologies GmbH

Hähnelstraße 6

12159 Berlin

Skype: [email protected]

E-Mail: [email protected]
<mailto:[email protected]>

Web: http://www.highstreet-technologies.com
<http://www.highstreet-technologies.com>

 

Geschäftsführer: Dipl.-Ing. (FH) Alfons Mittermaier

Handelsregister: Amtsgericht Charlottenburg, HRB 114905 B

Firmensitz: Berlin

USt-IdNr.: DE261090513

 

 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#24007): https://lists.onap.org/g/onap-discuss/message/24007
Mute This Topic: https://lists.onap.org/mt/90295546/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to