[openflowplugin-users] Issue with Uninstallation of openflowplugin


Jamo Luhrsen <jluhrsen@...>
 

Hi Vikram,
(added the -dev lists as I think those are more read)

I didn't see a reply yet, but I don't think "uninstalling" features is
something we support at this time, nor do I know of any near term plans
to support that.  Someone can correct me if I'm mistaken.

you should be able to semi-gracefully "logout" of the karaf console to
shut down, then restarting should be ok.

hope it helps,
JamO

On 07/03/2015 02:32 AM, Vikram Darsi wrote:
Hi

Followed below steps:

1. Installed Lithium Distribution
2. Installed openflow plugins and dlux using the below command
feature:install odl-openflowplugin-all odl-openflowjava-all odl-dlux-all
   Observation: Openflow ports 6633 and 6653 are up
3. started mininet with the below configuration
 sudo mn --controller=remote,ip=10.1.2.63 --topo tree,5
4. Launched the UI to view the Openflow devices (working fine)


5 Uninstalling openflow plugins with the below command
feature:uninstall odl-openflowjava-all odl-openflowplugin-all
Observation: after few seconds control is back to prompt and when checked for the availability of ports 6633 and 6653, they are still up, waited almost 5 minutes

6. I retried uninstalling the same features
feature:uninstall odl-openflowjava-all odl-openflowplugin-all

got error saying : Error executing command: No installed feature matching odl-openflowjava-all

7. when i run "feature:list -i"

odl-openflowjava-protocol             | 0.6.0-Lithium    | x         | odl-openflowjava-0.6.0-Lithium       | OpenDaylight :: Openflow Java :: Protocol
odl-openflowplugin-southbound         | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: SouthBound    
odl-openflowplugin-flow-services      | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services 
odl-openflowplugin-nsf-services       | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: OpenflowPlugin :: NSF :: Services
odl-openflowplugin-nsf-model          | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: OpenflowPlugin :: NSF :: Model   
odl-openflowplugin-flow-services-rest | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services :
odl-openflowplugin-flow-services-ui   | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services :
odl-openflowplugin-app-config-pusher  | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: app - default c
odl-openflowplugin-app-lldp-speaker   | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: app lldp-speake


it is clear that they are shown as installed


I could not understand this weird behavior , can someone please explain why the ports are still up when we uninstalled the feature, also why karaf is showing that the feature is uninstalled with one command and
shown as installed with the other command.


Thanks
Vikram


This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com

_______________________________________________
openflowplugin-users mailing list
openflowplugin-users@...
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-users


Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES@Cisco) <mirehak@...>
 

Hi Vikram,
unfortunately uninstallation of a karaf feature is not supported. Reason is:
By installing config subsystem gets notified when bundles and config xml files are being loaded. Then it wires corresponding instances/modules and eventually waits till all dependencies are loaded and initiated.

By uninstalling the situation is much more difficult as we do not have the definition of what to do if you uninstall feature which is already used by other running feature.. etc. So yes it is probably not that difficult to register config subsystem to uninstall feature event. But covering all the corner cases is the real issue here.


Regards,
Michal






From: openflowplugin-users-bounces@... [openflowplugin-users-bounces@...] on behalf of Jamo Luhrsen [jluhrsen@...]
Sent: Tuesday, July 07, 2015 01:22
To: Vikram Darsi; openflowjava-users@...; openflowplugin-users@...; openflowplugin-dev@...; openflowjava-dev@...
Subject: Re: [openflowplugin-users] Issue with Uninstallation of openflowplugin

Hi Vikram,
(added the -dev lists as I think those are more read)

I didn't see a reply yet, but I don't think "uninstalling" features is
something we support at this time, nor do I know of any near term plans
to support that.  Someone can correct me if I'm mistaken.

you should be able to semi-gracefully "logout" of the karaf console to
shut down, then restarting should be ok.

hope it helps,
JamO

On 07/03/2015 02:32 AM, Vikram Darsi wrote:
Hi

Followed below steps:

1. Installed Lithium Distribution
2. Installed openflow plugins and dlux using the below command
feature:install odl-openflowplugin-all odl-openflowjava-all odl-dlux-all
   Observation: Openflow ports 6633 and 6653 are up
3. started mininet with the below configuration
 sudo mn --controller=remote,ip=10.1.2.63 --topo tree,5
4. Launched the UI to view the Openflow devices (working fine)


5 Uninstalling openflow plugins with the below command
feature:uninstall odl-openflowjava-all odl-openflowplugin-all
Observation: after few seconds control is back to prompt and when checked for the availability of ports 6633 and 6653, they are still up, waited almost 5 minutes

6. I retried uninstalling the same features
feature:uninstall odl-openflowjava-all odl-openflowplugin-all

got error saying : Error executing command: No installed feature matching odl-openflowjava-all

7. when i run "feature:list -i"

odl-openflowjava-protocol             | 0.6.0-Lithium    | x         | odl-openflowjava-0.6.0-Lithium       | OpenDaylight :: Openflow Java :: Protocol
odl-openflowplugin-southbound         | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: SouthBound    
odl-openflowplugin-flow-services      | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services 
odl-openflowplugin-nsf-services       | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: OpenflowPlugin :: NSF :: Services
odl-openflowplugin-nsf-model          | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: OpenflowPlugin :: NSF :: Model   
odl-openflowplugin-flow-services-rest | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services :
odl-openflowplugin-flow-services-ui   | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: Flow Services :
odl-openflowplugin-app-config-pusher  | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: app - default c
odl-openflowplugin-app-lldp-speaker   | 0.1.0-Lithium    | x         | openflowplugin-0.1.0-Lithium         | OpenDaylight :: Openflow Plugin :: app lldp-speake


it is clear that they are shown as installed


I could not understand this weird behavior , can someone please explain why the ports are still up when we uninstalled the feature, also why karaf is showing that the feature is uninstalled with one command and
shown as installed with the other command.


Thanks
Vikram


This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.

Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.

Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com

_______________________________________________
openflowplugin-users mailing list
openflowplugin-users@...
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-users