-
Notifications
You must be signed in to change notification settings - Fork 148
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
cannot start #17
Comments
First try removing the https:// from your IDRAC_HOST like this:
If it still doesn't work run it with -it instead of -d to attach to the container and get a log output like this:
|
First of all, thanks for getting back to me so quickly. I have done as advised. This is the resulting log:
It seems that the issue is that it does not find The jviewer.jnlp file contains occurrences to a jar file, should I use one of these, and if so, how to pass it as an argument—or modify some parameter file? Thanks again for your help. |
All references to a jar file in
|
This might be related to #1 Never got a response so no idea what causes it but I assume it's an outdated iDRAC. What server are you running? |
This indeed looks quite similar. Could you tell me how to edit/modify the download link? Is is possible via the command line as an argument? |
Running iDRAC6, and the iDracView version is 2.52. I'm not sure about the other info as this is a remote dedicated server on lease. |
I see. The test branch from that issue is still available. Try with image domistyle/idrac6:dell-m610 instead. |
Getting closer! It connects to the server, and the path seems correct. However, it fails with permission denied:
The same URL (https://123.123.123.123/Applications/dellUI/Java/release/JViewer.jar) through the browser works fine, i.e., it pulls/downloads the JViewer.jar file. |
Connection refused means the server didn't respond. Can you check if iDRAC is indeed running on port 443 and if the host is correct? |
It is indeed through 443/https. I will try again today, but I've been getting |
Ok, it's working now... it must have been some network issues on my side I believe. I've re-run the command again, and this is the output:
From what I see here, there's no error. |
Try http://localhost:5800 in your browser while keeping the container running in the background. |
It dies right after being run. Don't know how to debug this, and http://localhost:5800 does not pull any data.
|
Hi, I have the same issue, I've tested it on Ubuntu 18.04, 20.04 and MacOS Catalina and Big Sur. Container dies after couple seconds while using I'm trying to connect to Dell C6220. |
Hi everyone, I had the same problem as mentioned in #1, and probably the above discussion. I have remixed various scripts to get it working on my set of M610 servers. Here is what I came up with: https://github.com/yasiupl/bootleg-idrac6-client The basic lesson learned is, that the iDRAC 6 of the M610 is in fact a iDRAC 5 with changed paths to the .jar files. EDIT: I'm running latest available iDRAC Firmware version. I don't even need docker to run any special java version, it just works with Java 7 OpenJDK installed on my machine (Manjaro Linux). All functionalities of the JViewer are working fine as far as my use case is concerned. |
To any future readers, here is how I came up with this solution: In the case of M610, the iDRAC6 is in fact iDRAC 5 .jars placed under |
I've managed to solve this in a bit of a simpler way - I think. The IDRAC self-signed certificate is not accepted by modern OSes and the 'no-check-certificates' on the wget calls in startapp.sh doesn't bypass this. If you manually try to download the jar files from your IDRAC in the browser, you'll be able to accept the certificate and get the files but via the startapp script there's no easy way to do this. The IDRAC6 also has weak key which is not trusted by modern versions of openssl either. If you try to do wget the file from a terminal you will see these errors. You could probably set up your docker container to reduce the security levels for openssl within the container but I didn't bother - instead, I just used a browser to download the files from the IDRAC and place them in the docker host's working app folder (the location they would be downloaded to via the script). This is trivial to setup if you use the provided docker-compose file. With the (3) .jar files in place, the container spun up just fine and the IDRAC was accessible flawlessly. The files can be seen in the startapp.sh file but for reference they can be downloaded via your browser here:
Hope this helps! |
Thank you for that @bhaver - helped me get over the bump of getting idrac6 working. For others the following might be necessary. I downloaded the three mentioned jar files. However, the container still complained over this 1 > My initial error in the logs of the idrac6 container was A fix for this would be great. Is there any @DomiStyle ... thank you. Also what @yasiupl mentions in his comments seems to be related and interesting. Thank you all. |
Thank you for looking into it @DomiStyle - to answer your questions. Nope, I did not build the idrac6 container image myself. I also did So that's that 👍 Looking forward to finding out what you can find. |
I was able to resolve this by changing to curl. I don't have a docker hub account but if you clone https://github.com/ssmoss/docker-idrac6 and then run the following command replacing the
I was able to connect to the iDRAC in my Dell R510. I have created a PR (#47) to merge my changed back into the mainline code. |
sorry to be late to the party but has there been any update to this regarding the idrac 6 (but really 5) systems using jviewer.jar? I have an m1000e chassis with a bunch of m610 chassis like @yasiupl mentions in his comments/link. I've used the new :dell-m610 image but it does the same thing as shown above: starts download, does nothing and then just terminates without an error. [services.d] starting app... 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 If you'd like me to try anything else, provide any other logs, etc. please let me know. |
I was able to get it working use OpenWebStart + amazon-corretto-8.232.09.1-linux-x64 |
in a container? I'm looking to spin up 12+ blades, possibly more in a lab/R&D environment so being able to spin up an instance for each that multiple engineers/techs can access would be ideal. I'm new to Docker so still trying to learn it so hoping to get this to work if possible. |
I am running an Ubuntu VM and just installed it natively. I then loaded the iDRAC web interface and clicked the connect button which downloaded the |
damn, guess i'll keep poking this for a while in the hopes someone else can help get it to work but if not that'll probably be what we have to do. if only Dell didn't bs us and label these as idrac 6 when they're really version 5, but i guess I'll just have to add it to the ever growing list of things that Dell irritates me with lol. |
Is there a reason you want to use the docker container? |
Its not just me that'll be accessing these blades. Its a test/dev thing where we're turning up a bunch of these blades (up to 16) that multiple people on the team will need access to, so i was hoping to make it simple docker container per blade that can be easily replicated for new blades. that would be a lot simpler/easier to maintain than each person on the team needing their own vm that needs to be updated every time we add a blade or chassis. If a stand alone full vm for each person is the only option I'll probably host the vms on one of our stand alone esxi hosts so we can automate their management. |
Ah yea, that is a good point. It's possible that the maybe just the Dockerfile needs to be updated to same version of java as I do in my VM.
It seems like it is using the |
@SirThunder88 I think I got it working, check out the branch I am using for this PR #47 |
Thank you very much for helping @ssmoss. As i'm quite new to docker, can you point me to documentation that shows how to apply your configuration changes? |
@SirThunder88 So you should just have to check out my branch to your machine and then run the following:
The |
@ssmoss The 'checking out' part is what I'm not familiar with, but I've found documentation explaining it so I appreciate the help. I'll let you know how it goes, if i don't get to work on it tonight I'll do so tomorrow. |
@SirThunder88 the steps in last comment check out the code to your home directory. If you have setup a SSH key with git pick the first one, if not use the second one, and finally if you don't have git installed on the CLI you download the archive. |
I apologize if my question seems dumb.
I have installed Docker Desktop for Mac, then run the said command with relevant parameters (
IDRAC_HOST
is an IP address of a remote server):docker run -d -p 5800:5800 -p 5900:5900 -e IDRAC_HOST=https://123.123.123.123 -e IDRAC_USER=root -e IDRAC_PASSWORD=1234 domistyle/idrac6
Running
docker container ls
shows the container running, but it shuts down after a few seconds:Is this the intended behavior? How to I debug this? I've tried to connect to the instance, but the time is too short for that.
Please send some help as I'd really love to use this instead of a VM with Windows...
The text was updated successfully, but these errors were encountered: