Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Alexandre DERUMIER
but maybe they just delete the event when there is no connection? 

I will do tests today be sure.


If not it's possible that pvestatd catch an asyn event when doing stats, from 
an qmp command coming from pvedaemon.
Do we have some kind of cross-process memory storage in proxmox ? (It could be 
great to store last X events in central memory location)

 

- Mail original - 

De: Dietmar Maurer diet...@proxmox.com 
À: Alexandre DERUMIER aderum...@odiso.com 
Cc: pve-devel@pve.proxmox.com 
Envoyé: Mardi 19 Mars 2013 18:13:36 
Objet: RE: [pve-devel] how to catch qmp events ? 

 mmm, doc seem to say that events can be send in the response of any qmp 
 query 

but maybe they just delete the event when there is no connection? 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Dietmar Maurer
 It could be great to store last X events in central memory location

I think we should not depend on such async information in any way.
Instead, qemu command should store that info if it is really needed.

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Alexandre DERUMIER
I think we should not depend on such async information in any way. 
Yes, sure, they are only usefull to have some infos/logs. (they are no command 
ids in events, just a timestamp)



I had tried to syslog events, I can syslog resume/pause/tray eject events.
But I can't get any bloc job event



Instead, qemu command should store that info if it is really needed. 

For my specific case, I don't know how it's possible.

- I launch qmp mirror disk, to block-job-mirror start in background.
- then each second, I send a qmp block-job-status.

But on disk sector error (I have verify with qemu-img), the block-job-mirror 
just stop

and qmp block-job-status say no block-job running.

So I really don't know how to retrieve error of the block-job-mirror.



How do you manage this kind of error with backups ? (I think it's also a 
block-job ?)






- Mail original - 

De: Dietmar Maurer diet...@proxmox.com 
À: Alexandre DERUMIER aderum...@odiso.com 
Cc: pve-devel@pve.proxmox.com 
Envoyé: Mercredi 20 Mars 2013 08:35:45 
Objet: RE: [pve-devel] how to catch qmp events ? 

 It could be great to store last X events in central memory location 

I think we should not depend on such async information in any way. 
Instead, qemu command should store that info if it is really needed. 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] how to catch qmp events ?

2013-03-20 Thread Dietmar Maurer
 and qmp block-job-status say no block-job running.
 
 So I really don't know how to retrieve error of the block-job-mirror.
 
 
 
 How do you manage this kind of error with backups ? (I think it's also a 
 block-job
 ?)

I have an extra command 'backup' which starts the block-job and stores any 
errors.

I guess you should ask on the qemu-devel list how that is intended to work.

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] pve-manager : add start/stop/migrate all buttons to node

2013-03-20 Thread Alexandre DERUMIER
Any comments about theses patches ?


- Mail original - 

De: Alexandre Derumier aderum...@odiso.com 
À: pve-devel@pve.proxmox.com 
Envoyé: Mercredi 13 Mars 2013 14:27:56 
Objet: [pve-devel] pve-manager : add start/stop/migrate all buttons to node 

Hi, 

This add start/stop all buttons to node. 

I also add a new migrateall feature. 

This don't implement the HA maintenance mode, I don't known exactly how Martin 
want to manage that 


___ 
pve-devel mailing list 
pve-devel@pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] pve-manager : add start/stop/migrate all buttons to node

2013-03-20 Thread Alexandre DERUMIER
Ok, no problem, thanks :)


- Mail original - 

De: Dietmar Maurer diet...@proxmox.com 
À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com 
Envoyé: Mercredi 20 Mars 2013 17:09:32 
Objet: RE: [pve-devel] pve-manager : add start/stop/migrate all buttons to node 

 Any comments about theses patches ? 

Will try next week (currently working on the wheezy update). 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


[pve-devel] french keyboard problems?

2013-03-20 Thread Dietmar Maurer
Can somebody with fr keyboard reproduce this:

http://forum.proxmox.com/threads/9991-Keyboard-issue-PVE-1-9-OK-PVE-2-1-not-OK

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] french keyboard problems?

2013-03-20 Thread Michael Rasmussen
On Wed, 20 Mar 2013 17:58:47 +
Dietmar Maurer diet...@proxmox.com wrote:

 Can somebody with fr keyboard reproduce this:
 
 http://forum.proxmox.com/threads/9991-Keyboard-issue-PVE-1-9-OK-PVE-2-1-not-OK
 
 
See this issue:
http://forum.proxmox.com/threads/8306-Problem-numbersign-in-java-vnc

I commented Alt_L 0x38 in the file /usr/share/kvm/keymaps/modifiers
Since the AltGr working properly.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael at rasmussen dot cc
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD3C9A00E
mir at datanom dot net
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE501F51C
mir at miras dot org
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE3E80917
--
Debian is like Suse with yast turned off, just better. :)
-- Goswin Brederlow


signature.asc
Description: PGP signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


[pve-devel] Support for hot add disk/nic

2013-03-20 Thread Michael Rasmussen
Hi all,

Does proxmox support hot add of disk/nic from the gui somehow?

Manually using qmp from the monitor tab works flawlessly.

Prerequisite in VM: modprobe acpiphp
1) Add new disk in hardware tab
2) In the monitor tab
LVM
pci_add auto storage
file=/dev/mapper/vMotion_vg-vm--117--disk--2,if=virtio
Qcow2
pci_add auto storage
file=/mnt/pve/qnap_nfs/images/117/vm-117-disk-1.qcow2,if=virtio


-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael at rasmussen dot cc
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xD3C9A00E
mir at datanom dot net
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE501F51C
mir at miras dot org
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE3E80917
--
Most seminars have a happy ending.  Everyone's glad when they're over.


signature.asc
Description: PGP signature
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel