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

proactive-client fails to remove a nodesource when using non-interactive mode #3099

Open
paraita opened this issue Jan 23, 2018 · 0 comments

Comments

@paraita
Copy link
Contributor

paraita commented Jan 23, 2018

Expected: remove a node source from the proactive-client using non-interactive mode
Actual: the node is not removed, and I have the following trace:

 paraita@jily  ~/Bureau/nightlies/activeeon_enterprise-pca_server-linux-x64-7.35.0-SNAPSHOT/bin  ./proactive-client -u http://localhost:8080 -c ../config/authentication/rm.cred -r "dsqdsq" -X
[ERROR] Failed to construct terminal; falling back to unsupported
java.lang.NumberFormatException: For input string: "0x100"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.valueOf(Integer.java:766)
        at jline.internal.InfoCmp.parseInfoCmp(InfoCmp.java:59)
        at jline.UnixTerminal.parseInfoCmp(UnixTerminal.java:242)
        at jline.UnixTerminal.<init>(UnixTerminal.java:65)
        at jline.UnixTerminal.<init>(UnixTerminal.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at jline.TerminalFactory.getFlavor(TerminalFactory.java:211)
        at jline.TerminalFactory.create(TerminalFactory.java:102)
        at jline.TerminalFactory.get(TerminalFactory.java:186)
        at jline.TerminalFactory.get(TerminalFactory.java:192)
        at jline.console.ConsoleReader.<init>(ConsoleReader.java:243)
        at jline.console.ConsoleReader.<init>(ConsoleReader.java:235)
        at jline.console.ConsoleReader.<init>(ConsoleReader.java:227)
        at org.ow2.proactive_grid_cloud_portal.cli.console.JLineDevice.<init>(JLineDevice.java:66)
        at org.ow2.proactive_grid_cloud_portal.cli.console.AbstractDevice.getConsole(AbstractDevice.java:60)
        at org.ow2.proactive_grid_cloud_portal.cli.EntryPoint.getCommandFactory(EntryPoint.java:145)
        at org.ow2.proactive_grid_cloud_portal.cli.EntryPoint.run(EntryPoint.java:72)
        at org.ow2.proactive_grid_cloud_portal.cli.CommonEntryPoint.main(CommonEntryPoint.java:39)

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/paraita/Bureau/nightlies/activeeon_enterprise-pca_server-linux-x64-7.35.0-SNAPSHOT/dist/lib/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/paraita/Bureau/nightlies/activeeon_enterprise-pca_server-linux-x64-7.35.0-SNAPSHOT/addons/infrastructure-azure-scale-set-7.35.0-SNAPSHOT-all.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
An error occurred while deleting node source: dsqdsq
Error message:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /rm/nodesource/remove. Reason:
<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>

I used a 7.35.0-SNAPSHOT, but it also happens on 7.36.0-SNAPSHOT. I used the default settings and reproduced the issue with multiple nodesources (SSH infrastructure V2, default empty infrastructure, etc). I ran this snapshot on Archlinux x64 with Oracle's Java 8.

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

1 participant