hi
    I used private repo to dev vdsm, so I register a github in this link:
https://github.com/pencc/vdsm



   it's based on commit 25ebb5e0163ef69787975df7357a741213141d5e


Main things it did:
1.transplant vdsm to customed debian8 system.
2.when we cannot get memUsage from ovirt-guest-agent, we get it from memballoon.


 

it's works need many other dependency packages and configurations, etc, so we 
made a install script.

And Maybe the customed debian8 system have a little different with debian8 like 
some packages's version,
so if there's some one interest in it, I will upload others dependencys and 
test it in debian8. 








在 2017-09-06 16:14:11,"Yaniv Kaul" <[email protected]> 写道:





On Wed, Sep 6, 2017 at 4:39 AM, pengyixiang <[email protected]> wrote:

hi 

   I think Ovirt is great, but our application scenarios is some different, our 
vm's client is embedded system with spice in mini linux,client is a QT,

using hdmi connect to display. And we need specifics users/admins func, user 
can register, admins can received in e-mail, set group ... etc.

And our node is customed debian8 system(company's system), after we transplant 
vdsm to debian, we need offline's install, so we achieved
a "deploy" func in engine, and i think ovirt-node's no status is a good idea, 
may be everytime after debian-node reboot, we execute deploy func

is a good idea too? because if we changed some code, it's easier to lot size 
install.

   In the end, i think gwt is great in geek, but not well in company, because 
have html/css/js/jsp skill's frond-ender is easier to find, it may cut the 
costs.



It seems like you have forked oVirt. While it's quite possible to do so, I urge 
you to contribute back the features and fixes you have made. As an example from 
above, I know there is interest in the users community to run Debian based 
hosts - so we'll be happy to see VDSM working on Debian.


Is there at least a public repository where we can see the changes made?
Y.








在 2017-09-05 17:31:40,"Yaniv Kaul" <[email protected]> 写道:





On Tue, Sep 5, 2017 at 6:14 AM, pengyixiang <[email protected]> wrote:

hello, everyone!
    We need to customed ovirt, and now I need to know which api been called and 
transport's params after button been pushed in engine, I try to add logs like 
this in vdsm:


Can you explain what you are trying to achieve? What customization are you 
looking for?
It'd be great if you can contribute your changes so the community can benefit 
from them.
Y.
 


 455     @api.method
 456     def hotplugDisk(self, params):
 457         syslog.syslog("---in VM hotplugDisk")
 458         syslog.syslog("params:%s" % (params))
 459         try:
 460             utils.validateMinimalKeySet(params, ('vmId', 'drive'))
 461         except ValueError:
 462             self.log.error('Missing one of required parameters: vmId, 
drive')
 463             return {'status': {'code': 
errCode['MissParam']['status']['code'],
 464                                'message': 'Missing one of required '
 465                                           'parameters: vmId, drive'}}
 466         return self.vm.hotplugDisk(params)


but the number of api method is too much,  where should I add is better to 
print called api method name and params?







 


_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel







 


_______________________________________________
Devel mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to