Hello
To summarize all actions taken so far :
1. We installed onap using helm charts
2. We had created an ODL plugin using a separate standard ODL Florine
instance and it was working perfectly as expected.
3. We created the .kar files for the plugin
4. The next step was to install this plugin to the ONAP SDN-C using the
.kar files.
5. As first step we copied the files to the SDN-C deploy folder and tried
to use ODL "feature:install" command to install it and faced below behavior :
a. Session to ODL karaf was disconnected and we were not able to connect
again.
b. Logs showed stopping bundles and "Destroying BlueprintContainer" for
all bundles
c. In few mins, connection to ODL is restored with several bundles in
Graceperiod state and missing dependencies
6. To isolate the issue we tried to install any other feature that came
with the SDN-C distribution (bgp for example), same behavior was observed.
7. Trying to uninstall any feature also resulted in the same behavior.
8. We managed to bring SDNC container up without all features included in
the "org.apache.karaf.features.cfg" file (by manipulating the startODL.sh
script), then started adding them one-by-one
"odl-restconf-all,odl-netconf-clustered-topology,odl-mdsal-all,odl-mdsal-clustering,odl-mdsal-apidocs,
odl-daexim-all,
odl-restconf-nb-rfc8040,ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all,sdnc-northbound-all,
sdnr-northbound-all":
a. All installed normally until we tried to install ccsdk-sli-plugins-all
& ccsdk-features-all, previous behavior was observed.
9. Same behavior was observed on SDN-C images starting 1.5.x up to 1.7.x
Finally to be able to get our plugin installed we had to follow the below
procedure :
1. On a fresh SDN-C installation, we copied the .kar files to
"/opt/opendaylight/deploy/"
2. Replace the "/opt/opendaylight/etc/org.apache.karaf.features.cfg" with
a new one that has our plugin details in prepended in both
"featuresRepositories" & "featuresBoot"
3. Clear the cache folder "opt/opendaylight/data/cache/"
4. Restart the docker container
Only at this point the odl container started with our plugin started
successfully and all other bundles working normally
Brgds
Mohamed Waly
Orange Labs Egypt
Email : [email protected]<mailto:[email protected]>
This e-mail (including any attachments) is confidential and may be legally
privileged. If you are not an intended recipient or an authorized
representative of an intended recipient, you are prohibited from using, copying
or distributing the information in this e-mail or its attachments. If you have
received this e-mail in error, please notify the sender immediately by return
e-mail and delete all copies of this message and any attachments. Thank you.
From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Thursday, October 31, 2019 15:45
To: SEAUDI Abd El Muhaimen O-EG/HRCS; [email protected]
Cc: MOHAMED WALY Mohamed O-EG/HRCS
Subject: RE: Unable to install features in SDNC Dublin and Elalto
BTW - /opt/onap/ccsdk/data/properties/template-node.properties
Are you using the onap helm charts for the install with all the mounted
directories etc ?
Seems like ODL cant find the properties files for ccsdk. (from karaf.log)
Brian
From: [email protected] <[email protected]>
Sent: Thursday, October 31, 2019 6:55 AM
To: FREEMAN, BRIAN D <[email protected]>; [email protected]
Cc: MOHAMED WALY Mohamed O-EG/HRCS <[email protected]>
Subject: RE: Unable to install features in SDNC Dublin and Elalto
Hi,
The only way we were able to install features, is to start with SDNC without
CCSDK, so we updated the features.cfg file.
We also tried reinstall CCSDK features manually one by one, but they won't
complete, they crash ODL.
Updated feature :
# Comma separated list of features to install at startup
#
featuresBoot =
ee197ccf-3af7-4adc-a047-5eb910fc5525,odl-restconf-all,odl-mdsal-all,odl-mdsal-apidocs,
odl-daexim-all, odl-restconf-nb-rfc8040,
Original
featuresBoot =
ee197ccf-3af7-4adc-a047-5eb910fc5525,odl-restconf-all,odl-mdsal-all
,odl-mdsal-apidocs, odl-daexim-all,
odl-restconf-nb-rfc8040,ccsdk-sli-core-all,ccsdk-sli-adaptors-all,ccsdk-sli-northbound-all,ccsdk-sli-plugins-all,ccsdk-features-all,sdnc-northbound-all,
sdnr-northbound-all
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
From: SEAUDI Abd El Muhaimen O-EG/HRCS
Sent: Tuesday, October 29, 2019 3:14 PM
To: 'FREEMAN, BRIAN D';
[email protected]<mailto:[email protected]>
Cc: MOHAMED WALY Mohamed O-EG/HRCS
Subject: RE: Unable to install features in SDNC Dublin and Elalto
Hi Brian, I attach the logs.
Also, you can see below that ODL console kicks me off after feature:install
command, and after I login again, the netconf-topology bundle is stuck in
GracePeriod, instead of active
opendaylight-user@root>feature:install odl-netconf-topology
bash-4.4$ ./client -u karaf
./client: /opt/opendaylight/bin/setenv: line 61: EXTRA_JAVA_OPTS:: not found
Logging in as karaf
Password:
________ ________ .__ .__ .__
__
\_____ \ ______ ____ ____ \______ \ _____ ___.__.| | |__| ____ |
|___/ |_
/ | \\____ \_/ __ \ / \ | | \\__ \< | || | | |/ ___\| |
\ __\
/ | \ |_> > ___/| | \| ` \/ __ \\___ || |_| / /_/ > Y
\ |
\_______ / __/ \___ >___| /_______ (____ / ____||____/__\___ /|___|
/__|
\/|__| \/ \/ \/ \/\/ /_____/
\/
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
opendaylight-user@root>feature:list | grep netconf-topology
odl-netconf-topology | 1.6.1
| x | Started | odl-netconf-topology
| OpenDaylight :: Netconf Topology :: Netconf Conne
opendaylight-user@root>bundle:list | grep netconf-topology
372 | Active | 80 | 1.6.1 |
netconf-topology
373 | GracePeriod | 80 | 1.6.1 |
netconf-topology-singleton
462 | GracePeriod | 80 | 1.6.1 |
netconf-topology-config
opendaylight-user@root>
opendaylight-user@root>bundle:diag 373
netconf-topology-singleton (373)
--------------------------------
Status: GracePeriod
Declarative Services
Blueprint
10/29/19 1:03 PM
Missing dependencies:
(&(|(type=default)(!(type=*)))(objectClass=org.opendaylight.mdsal.binding.api.DataBroker))
(objectClass=org.opendaylight.aaa.encrypt.AAAEncryptionService)
(objectClass=org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider)
(objectClass=org.opendaylight.mdsal.binding.api.DataBroker)
(objectClass=org.opendaylight.controller.cluster.ActorSystemProvider)
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Tuesday, October 29, 2019 2:54 PM
To: [email protected]<mailto:[email protected]>; SEAUDI Abd
El Muhaimen O-EG/HRCS
Cc: MOHAMED WALY Mohamed O-EG/HRCS
Subject: RE: Unable to install features in SDNC Dublin and Elalto
No logs ?
Do you have an example of what you are trying to do a feature:install on ?
Brian
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> On Behalf Of
Abdelmuhaimen Seaudi via Lists.Onap.Org
Sent: Tuesday, October 29, 2019 4:26 AM
To: [email protected]<mailto:[email protected]>
Cc: MOHAMED WALY Mohamed O-EG/HRCS
<[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] Unable to install features in SDNC Dublin and Elalto
Hello,
If I try to feature:install anything in ODL/SDNC Dublin and ElAlto, ODL crashes.
I tried several methods, to install from the CLI, or to add to the boot feature
install, but same behavior.
Any idea why ?
Abdelmuhaimen Seaudi
Orange Labs Egypt
Email: [email protected]<mailto:[email protected]>
Mobile: +2012 84644 733
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19328): https://lists.onap.org/g/onap-discuss/message/19328
Mute This Topic: https://lists.onap.org/mt/39406803/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-