Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem running dlux, l2 learning switch #75

Closed
hdb3 opened this issue Apr 16, 2015 · 6 comments
Closed

problem running dlux, l2 learning switch #75

hdb3 opened this issue Apr 16, 2015 · 6 comments

Comments

@hdb3
Copy link

hdb3 commented Apr 16, 2015

Hi
I've used the latest commit (29c6e38).
Running on a clean Centos7.
Created a very simple odl.pp and applied it:

class { 'opendaylight':
  extra_features => ['odl-restconf','odl-l2switch-switch','odl-mdsal-apidocs','odl-dlux-core'],
}

Result: ODL is running (a lot of TCP sockets opened by java, including 8181, which is the DLUX UI).
But: opening http://:8181/dlux/index.html gives a login panel which doesn't accept the usual admin/admin credentials, and the karaf log is full of interesting but not good stuff. See on dropbox: https://www.dropbox.com/s/9hx60bowmdlr1x7/karaf.log.gz?dl=0

Also, I cannot open a karaf console: /opt/opendaylight/bin/karaf just hangs after saying 'OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0'

Questions: how to login to karaf/ODL console?; what ODL app did you test?; did I miss anything out in my install process (I just sym-linked the source directory puppet-opendaylight into /etc/puppet/modules as opendaylight)?

thanks and brgds

nic

@dfarrell07
Copy link
Owner

This may be related to #76. I should have that fixed in the next few minutes.

@hdb3 hdb3 closed this as completed Apr 19, 2015
@hdb3
Copy link
Author

hdb3 commented Apr 19, 2015

I've repeated the exact same operations as described previously, and I obtain a working installation (not rigorously tested, but not at all broken as described previously.) Yes, I don't believe it's exactly the same. Only difference I can pinpoint (and I don't believe is relevant): in first case my VM was running in a large OpenStack system, this time it's a much smaller machine (under VMware).

BTW, the Java version installed (by puppet..) is OpenJDK 1.7.0_79...

I'd still like to know, however, how to run a local karaf console....

@dfarrell07
Copy link
Owner

I'd still like to know, however, how to run a local karaf console....

Sorry, almost missed this.

I think you're asking to connect to the Karaf shell. Just SSH to it with something like ssh -p 8101 karaf@localhost. To get more fancy, check out this connect.sh script.

@hdb3
Copy link
Author

hdb3 commented Apr 28, 2015

Thanks Daniel - that is exactly my question.

Can I suggest that it would be helpful to include this in the README on
github?

nic

On 27/04/15 21:05, Daniel Farrell wrote:

I'd still like to know, however, how to run a local karaf console....

Sorry, almost missed this.

I think you're asking to connect to the Karaf shell. Just SSH to it
with something like |ssh -p 8101 karaf@localhost|. To get more fancy,
check out this |connect.sh|
https://github.com/dfarrell07/vagrant-opendaylight/blob/master/scripts/connect.sh
script.


Reply to this email directly or view it on GitHub
#75 (comment).

@dfarrell07
Copy link
Owner

Can I suggest that it would be helpful to include this in the README on github?

Sure, sounds like a good addition. Thanks for the suggestion.

@dfarrell07
Copy link
Owner

@hdb3 - Raised #80 to track that docs update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants