Hide Forgot
Created attachment 555980 [details] jboss server log Description of problem: 2012-01-18 12:08:30,372 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (http--0.0.0.0-8080-3) Running command: UpdateVdsCommand internal: false. Entities affected : ID: 5a430522-41b2-11e1-8de8-001a4a231223 Type: VDS 2012-01-18 12:08:30,379 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (http--0.0.0.0-8080-3) Error doing the encryption: java.lang.RuntimeException: java.io.FileNotFoundException: .keystore (No such file or directory) This exception is raised every time a sent PUT request via REST API to configure power management. PUT http://blabla..:8080/api/hosts/<host-id...> <host> <name>vulcan01.eng.lab.tlv.redhat.com</name> <address>10.35.99.2</address> <power_management type='bladecenter'> <enabled>true</enabled> <address>10.35.35.35</address> <username>user</username> <password>password</password> <options> <option value="1" name="slot" /> <option value="false" name="secure" /> </options> </power_management> </host> Responses: 400 PUT ..... <fault> <reason>Operation Failed</reason> <detail>[]</detail> </fault>
Created attachment 555981 [details] engine log
changing component to rest api because i was able to add the same power management via webadmin, there for the exception occur only via rest api.
Avi, I assume the test is with the same management server (the rest and UI)?
I think we need to configure something on our development environment in order to avoid this failure: java.io.FileNotFoundException: .keystore (No such file or directory)
(In reply to comment #2) > changing component to rest api because i was able to add the same power > management via webadmin, there for the exception occur only via rest api. on the same system? this is probably around trying to encrypt the host power management password
(In reply to comment #5) > (In reply to comment #2) > > changing component to rest api because i was able to add the same power > > management via webadmin, there for the exception occur only via rest api. > > on the same system? > this is probably around trying to encrypt the host power management password yes, but the exception is .keystore file not found, where the file exists because the UI was able to encrypt it. after checking the logs its look like the REST is calling with different parameters or calling the wrong API.
environment configuration issue