-
Bug
-
Resolution: Unresolved
-
None
-
unspecified
-
None
-
Operating System: All
Platform: All
-
4003
-
High
On a re-installation of Persistence Test App, all Karaf CLI commands return execution errors.
Steps to reproduce:
1. Fresh controller installation and launch Karaf
2. Install persistence related feature and persistence Test App:
feature:install odl-persistence-all
feature:install odl-persistence-test-app
3. Enter some Test App commands to confirm that they work on first installation, like user:get-enable, networkdevice:get-reachable
4. Uninstall Persistence test app and related features:
feature:uninstall odl-persistence-test-app
feature:uninstall odl-persistence-all
5. Now enter any Test App commands return execution errors:
opendaylight-user@root>user:get-enabled
Error executing command: Not an entity: class org.opendaylight.testapp.persistence.model.persistence.jpa.entity.UserEntity
opendaylight-user@root>networkdevice:get-reachable
Error executing command: Not an entity: class org.opendaylight.testapp.persistence.model.persistence.jpa.entity.NetworkDeviceEntity
opendaylight-user@root>user:sign-up user2 mypwd user2@example.com
Error executing command: Unable to sign up
A work-around is to logout of Karaf, remove the persistence directory, re launch Karaf and install persistence test app again.