[Users] spicec not connect | SSL Error

Itamar Heim iheim at redhat.com
Sun Aug 5 22:30:07 UTC 2012


On 08/06/2012 01:24 AM, Artem wrote:
> hm... this all config... hov i get it?

you need to set it (default expiration is 120 seconds iirc).
check this thread:
http://www.mail-archive.com/engine-devel@ovirt.org/msg00611.html

and this documentation on setvmticket:
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/REST_API_Guide/sect-REST_API_Guide-VMs-Ticket.html

>
> <vms>
> <vm id="d3db360f-4ff5-46f5-b61d-db09465db52c"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c">
> <name>dns-srv</name>
> <actions>
> <link rel="shutdown"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/shutdown"/>
> <link rel="start" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/start"/>
> <link rel="stop" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/stop"/>
> <link rel="suspend"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/suspend"/>
> <link rel="export" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/export"/>
> <link rel="detach" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/detach"/>
> <link rel="move" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/move"/>
> <link rel="ticket" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/ticket"/>
> <link rel="migrate"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/migrate"/>
> <link rel="cancelmigration"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/cancelmigration"/>
> </actions>
> <link rel="disks" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/disks"/>
> <link rel="nics" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/nics"/>
> <link rel="cdroms" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/cdroms"/>
> <link rel="snapshots"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/snapshots"/>
> <link rel="tags" href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/tags"/>
> <link rel="permissions"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/permissions"/>
> <link rel="statistics"
> href="/api/vms/d3db360f-4ff5-46f5-b61d-db09465db52c/statistics"/>
> <type>server</type>
> <status>
> <state>up</state>
> </status>
> <memory>536870912</memory>
> <cpu>
> <topology cores="1" sockets="1"/>
> </cpu>
> <os type="rhel_6x64">
> <boot dev="hd"/>
> <boot dev="cdrom"/>
> <kernel/>
> <initrd/>
> <cmdline/>
> </os>
> <high_availability>
> <enabled>false</enabled>
> <priority>1</priority>
> </high_availability>
> <display>
> <type>spice</type>
> <address>192.168.0.3</address>
> <port>5900</port>
> <secure_port>5901</secure_port>
> <monitors>1</monitors>
> <allow_reconnect>true</allow_reconnect>
> </display>
> <host id="82899d36-d913-11e1-84c7-cbe4a64e9810"
> href="/api/hosts/82899d36-d913-11e1-84c7-cbe4a64e9810"/>
> <cluster id="6e6c825a-d913-11e1-af2a-bfe9e665ddb3"
> href="/api/clusters/6e6c825a-d913-11e1-af2a-bfe9e665ddb3"/>
> <template id="00000000-0000-0000-0000-000000000000"
> href="/api/templates/00000000-0000-0000-0000-000000000000"/>
> <start_time>2012-08-05T16:05:43.413+04:00</start_time>
> <creation_time>2012-08-01T03:01:12.573+04:00</creation_time>
> <origin>ovirt</origin>
> <stateless>false</stateless>
> <placement_policy>
> <affinity>migratable</affinity>
> </placement_policy>
> <memory_policy>
> <guaranteed>536870912</guaranteed>
> </memory_policy>
> <quota id="1060e438-244e-4888-ae60-c3fa754343c5"/>
> <usb>
> <enabled>false
> </enabled>
> </usb>
> </vm>
>
> 2012/8/6 Itamar Heim <iheim at redhat.com>:
>> what about setting the spice ticket/password and passing it to spice client?





More information about the Users mailing list