Hi Viresh,

this depends on multiple things.


First: Please check if the controller is up with all bundles successfully by entering the bash inside of the sdnc container and run '/opt/opendaylight/bin/client bundle:status | grep -iv active'. If there is any bundle in failure state you have to resolve this first.

Second: So if you are running the odlux inside of the sdnc container (so without sdnc-web) you have to check now if the env ENABLE_OAUTH is set to true or false. If false then odlux uses only the basic auth header for every request. If it's set to true then another file is important. This is /opt/opendaylight/etc/opendaylight/datastore/initial/config/aaa-app-config.xml which configures the access rights for roles to urls. So if this is the case maybe you get denied because of this.

Third: It is a bug. This you can verify by checking the odlux index.html source code in your browser. Should not be very much inside, but one line with run.configureApplication(...). Inside of this there is a key authentication and this can be "basic" or "oauth" and has to be in sync with the ENABLE_OAUTH flag.


Kind regards,
Michael


On 29.03.24 12:25, Navalli, Viresh R via lists.onap.org wrote:
Hi Team,

I am currently working on setup to access sdnr using montreal release , built the ccsdk/features project locally and created the image *onap/ccsdk-odlsli-alpine-image :1.6.2-SNAPSHOT-latest, *which i have referred to create sdnc image. Able to access the restconf api docs however ODLUX UI giving un-authorised error, any pointers would be helpful.


_________________

Thanks and Regards

Viresh N

This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.

--

*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 (#24642): https://lists.onap.org/g/onap-discuss/message/24642
Mute This Topic: https://lists.onap.org/mt/105214037/21656
Mute #sdnr:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnr
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to