Hello to everybody,
I'm developing the creation of VPS both qemu and openvz using the API. Everything seems right with qemu and openvz, and it creates the VPSs, but in the second case when I try to login the password of root is not matching.
new_container_settings:
Array
(
[vmid] => 424
[hostname] => kikoXXX.es
[ostemplate] => pve-isos:vztmpl/debian-6.0-standard_6.0-6_i386.tar.gz
[cpus] => 2
[disk] => 5
[memory] => 1024
[nameserver] => XX.XXX.XXX.20 XX.XXX.XXX.21
[storage] => CT-nhshare06
[ip_address] => XX.XXX.XXX.182
[password] => sT3dBbbHFx
[description] => 424 Customer 6596 VPS 2
)
URL - https://172.17.16.42:8006/api2/json/...share06/openvz ---------------------------------------------- FULL RESPONSE: HTTP/1.1 200 OK Date: Wed, 24 Apr 2013 07:26:23 GMT Server: Apache Pragma: no-cache Cache-control: no-cache Content-Length: 79 Vary: Accept-Encoding Connection: close Content-Type: application/json;charset=UTF-8 Expires: Wed, 24 Apr 2013 07:26:23 GMT {"data":"UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam:"} END FULL RESPONSE. Headers: HTTP/1.1 200 OK Date: Wed, 24 Apr 2013 07:26:23 GMT Server: Apache Pragma: no-cache Cache-control: no-cache Content-Length: 79 Vary: Accept-Encoding Connection: close Content-Type: application/json;charset=UTF-8 Expires: Wed, 24 Apr 2013 07:26:23 GMT End Headers. Data: {"data":"UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam:"} End Headers. RESPONSE ARRAY: Array ( [data] => UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam: ) END RESPONSE ARRAY. ----------------------------------------------
I pass the password and it accepts, as I get no error, where can be the problem?
Thanks in advance.
Note that I have modified the IPs appeared, for security reasons ;-)
I'm developing the creation of VPS both qemu and openvz using the API. Everything seems right with qemu and openvz, and it creates the VPSs, but in the second case when I try to login the password of root is not matching.
new_container_settings:
Array
(
[vmid] => 424
[hostname] => kikoXXX.es
[ostemplate] => pve-isos:vztmpl/debian-6.0-standard_6.0-6_i386.tar.gz
[cpus] => 2
[disk] => 5
[memory] => 1024
[nameserver] => XX.XXX.XXX.20 XX.XXX.XXX.21
[storage] => CT-nhshare06
[ip_address] => XX.XXX.XXX.182
[password] => sT3dBbbHFx
[description] => 424 Customer 6596 VPS 2
)
URL - https://172.17.16.42:8006/api2/json/...share06/openvz ---------------------------------------------- FULL RESPONSE: HTTP/1.1 200 OK Date: Wed, 24 Apr 2013 07:26:23 GMT Server: Apache Pragma: no-cache Cache-control: no-cache Content-Length: 79 Vary: Accept-Encoding Connection: close Content-Type: application/json;charset=UTF-8 Expires: Wed, 24 Apr 2013 07:26:23 GMT {"data":"UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam:"} END FULL RESPONSE. Headers: HTTP/1.1 200 OK Date: Wed, 24 Apr 2013 07:26:23 GMT Server: Apache Pragma: no-cache Cache-control: no-cache Content-Length: 79 Vary: Accept-Encoding Connection: close Content-Type: application/json;charset=UTF-8 Expires: Wed, 24 Apr 2013 07:26:23 GMT End Headers. Data: {"data":"UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam:"} End Headers. RESPONSE ARRAY: Array ( [data] => UPID:h60-nhshare06:0007E4AE:11DA29BA:5177891F:vzcreate:424: hdms@pam: ) END RESPONSE ARRAY. ----------------------------------------------
I pass the password and it accepts, as I get no error, where can be the problem?
Thanks in advance.
Note that I have modified the IPs appeared, for security reasons ;-)