[Engine-devel] agenda for todays meeting
by Livnat Peer
Hi,
Today's meeting include status of the different features.
If you want to add something for the agenda please send to the list.
Thanks, Livnat
12 years, 8 months
[Engine-devel] How to utilize Jenkins to do your dirty (build) work for you...
by Mike Kolesnik
--=_d543864b-a903-4efd-9bb5-a1966dfe6475
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi,
-- Intro --
When working on your local GIT repo you probably do a lot of:
mvn clean install
Additionally, if you're working on oVirt-engine you might be doing some of:
mvn test -Penable-dao-tests
mvn install -Pgwt-admin
etc..
This, of course, might take your development computer a while, and hog your resources.
Usually though, if you work on oVirt, you have a host that you use for testing your changes..
This host probably has a 2/4 cores CPU and at least 4Gb of RAM..
This host is sitting quietly most of the time, consuming mostly electricity but not doing much.
You're probably not even utilizing it that much even when you are testing something on it.
It is like a powerful guard dog that you keep tied in the back-yard most of the time, instead of letting it run free.
Well, I have a suggestion how to put that puppy into good use and also free up your resources..
-- End Intro --
You can install Jenkins on the host, and have it monitor your local GIT repo for changes, building your commits as necessary.
This works with every local branch you have - Jenkins will pick up the change (be it a local commit you just did, or a rebase over the origin) and generate a build for it.
This will allow you to monitor your build results just as you would monitor locally, while in the same time utilize a (probably) more powerful machine to do this for you. It will also probably speed up your build cycle, as builds will be executed in parallel.
I have written an installation guide which explains how to do it in the oVirt wiki:
http://www.ovirt.org/wiki/Local_Jenkins_For_The_People
I have also written a script that will run the installation part on the host for you,
so you just need to download the attachment and run it as root on the host, but you will still need to do some manual work so make sure to check the wiki.
-- Example Jobs --
I am also attaching sample jobs to import to Jenkins.
Make sure to replace the GIT repo URL, you can do this before importing with sed:
# sed -i 's#[git-repo-url]#ssh://[user]@[git-host]/[git-repo-location]#' oVirt-engine.*
For example:
# sed -i 's#[git-repo-url]#ssh://mkolesni@myhost/~/git/ovirt-engine#' oVirt-engine.*
You can import them with the command:
# cat [job].xml | java -jar /tmp/jenkins-cli.jar -s http://localhost:8080 create-job [job-name]
For example:
# cat oVirt-engine.xml | java -jar /tmp/jenkins-cli.jar -s http://localhost:8080 create-job oVirt-engine
-- End Example Jobs --
Of course, this might not be ideal in cases when you need 100% percent of your host..
But in such a case you can simply turn off Jenkins, and turn it back on later. ;)
Regards,
Mike
--=_d543864b-a903-4efd-9bb5-a1966dfe6475
Content-Type: application/x-shellscript; name=jenkins.sh
Content-Disposition: attachment; filename=jenkins.sh
Content-Transfer-Encoding: base64
IyEgL2Jpbi9iYXNoCiMKIyBDb3B5cmlnaHQgKGMpIDIwMTIgUmVkIEhhdCwgSW5jLgojCiMgTGlj
ZW5zZWQgdW5kZXIgdGhlIEFwYWNoZSBMaWNlbnNlLCBWZXJzaW9uIDIuMCAodGhlICJMaWNlbnNl
Iik7CiMgeW91IG1heSBub3QgdXNlIHRoaXMgZmlsZSBleGNlcHQgaW4gY29tcGxpYW5jZSB3aXRo
IHRoZSBMaWNlbnNlLgojIFlvdSBtYXkgb2J0YWluIGEgY29weSBvZiB0aGUgTGljZW5zZSBhdAoj
CiMgICAgICAgICAgIGh0dHA6Ly93d3cuYXBhY2hlLm9yZy9saWNlbnNlcy9MSUNFTlNFLTIuMAoj
CiMgVW5sZXNzIHJlcXVpcmVkIGJ5IGFwcGxpY2FibGUgbGF3IG9yIGFncmVlZCB0byBpbiB3cml0
aW5nLCBzb2Z0d2FyZQojIGRpc3RyaWJ1dGVkIHVuZGVyIHRoZSBMaWNlbnNlIGlzIGRpc3RyaWJ1
dGVkIG9uIGFuICJBUyBJUyIgQkFTSVMsCiMgV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElP
TlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuCiMgU2VlIHRoZSBMaWNl
bnNlIGZvciB0aGUgc3BlY2lmaWMgbGFuZ3VhZ2UgZ292ZXJuaW5nIHBlcm1pc3Npb25zIGFuZAoj
IGxpbWl0YXRpb25zIHVuZGVyIHRoZSBMaWNlbnNlLgojCgp1c2FnZSgpIHsKIyAgICBl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qZW5r
aW5zLXVwZGF0ZS1jZW50ZXIuanNvbgoKY3VybCAtWCBQT1NUIC1kIEAvdG1wL2plbmtpbnMtdXBk
YXRlLWNlbnRlci5qc29uIGh0dHA6Ly9sb2NhbGhvc3Q6ODA4MC91cGRhdGVDZW50ZXIvYnlJZC9k
ZWZhdWx0L3Bvc3RCYWNrCgpwcmludFN1Y2Nlc3MgIlxuSW5pdGlhbGl6ZWQgSmVua2lucyB1cGRh
dGUgY2VudGVyIiAkPwoKaW5zdGFsbFBsdWdpbiBnaXQKaW5zdGFsbFBsdWdpbiBjaGVja3N0eWxl
Cmluc3RhbGxQbHVnaW4gZmluZGJ1Z3MKaW5zdGFsbFBsdWdpbiBidWlsZC1uYW1lLXNldHRlcgpp
bnN0YWxsUGx1Z2luIHNhZmVyZXN0YXJ0CgpqYXZhIC1qYXIgL3RtcC9qZW5raW5zLWNsaS5qYXIg
LXMgaHR0cDovL2xvY2FsaG9zdDo4MDgwIHNhZmUtcmVzdGFydAoKcHJpbnRTdWNjZXNzICJSZXN0
YXJ0ZWQgSmVua2lucyBhZnRlciBwbHVnaW5zIGluc3RhbGxlZCIgJD8KCmVjaG8gIkplbmtpbnMg
c2hvdWxkIG5vdyBiZSBpbnN0YWxsZWQgJiB3b3JraW5nLCBlbmpveSEiCgpleGl0IDAKCg==
--=_d543864b-a903-4efd-9bb5-a1966dfe6475
Content-Type: application/x-compressed-tar; name=oVirt-engine.jobs.tar.gz
Content-Disposition: attachment; filename=oVirt-engine.jobs.tar.gz
Content-Transfer-Encoding: base64
H4sIAFRvcE8AA+0ba2/bODKf8yuE3uIKBGfJzqsFztUisdM2u3nBTpo7LBYFLdGyGkoUSCrZYLH/
/YYvvazE6W4et60mQCzOjMjhcMh5SKKfYiZ6OI3iFLvjvVNXYC64+1tC1h4N+gC729vqF6D5u7nT
31kbDN5sbfd332zvbK31B9vbm1trTv/xRLgbci4Qc5w1Rqm4j28V/W8Kwx9hqZ1rzHhM03evB27/
tYPTgIZxGr17f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XkoBp4FTWAzUYN
wOT/k4NxJf1X5toyhDH5asrx0rnStwi1/P8Jnv1LWJH/77x502/W//tb/S7/fw54mvz/fQ4Rh3oi
Cptb1f9lCKJszVQ/u6f7XYmgKxF0JYKuRNCVCLoSwdeXCNwActl76gTmMeXKUoFsnp0eF28bFW8W
WUJZT5D+vKsKdFWBP1sV8Lpc+v8vl67lf4+e+Wm4P/8bDDZ3dxv5H2C697+eBbrnv99xckchapGV
/m8rxfO6HO/FczwTinUp3ved4sHvaCEfLuZiggW7HdE8Ff6g31csLaQnzAvbvj95obTQKM8+iDJM
LviC5rub6vTdcN72NvvOBvz1e9ugusqpdX8fEPMawpMlok/8rLpLOLuE86EJZ31bWVcRyFOGy0V3
1YGj1n9i7ilDDIyIWNzCQPbKUtQsDK28tlQ9ijr5fhl9PBj9PD3/79HBr/IZckkpMlX7kvNRDD7Y
J/Sm8uKzxllWeezl6Wn6HkyqtIQGthCRw1oTgWBh8tIKGtglIQqUmiTsPDCtcwh8yR4haq4N1B3c
H+No0WRXuDv4TyhL0NIABnvHPUf0pnmDRC1zn+CbuvQG0crZkNxiWnmXpC5xrfx1iQ2i5JyrBaxo
u4Fo5TTyNjGtvIW8y7hWfi1vA9HkLLRba7Zw1SRd1muBb0jZptOCUpWwrs/KJirNPKQpBD1Jlgup
/TKMrmHrTvTBJ4Y8YStnzoo3X2Td1N0z/ge0W3zbWHyeWAhtgiy9vZXb4RV/tERqxABfNdpf+3BE
vSnwL+fOrwcapOLDwm/qO5OuevnS1csOOuiggw466KCDDjrooIMOHgr/AzZt6DAAUAAA
--=_d543864b-a903-4efd-9bb5-a1966dfe6475--
12 years, 8 months
[Engine-devel] Extend host_nics action with UpdateNetworks
by avi tal
This is a multi-part message in MIME format.
--------------040202050707070305020800
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I am checking the SetupNetwork feature in 3.1 (si01) and I think we are
missing a very important implementation.
SetupNetworks in vdsm layer is able to receive a nics collection which
describe which nics will be updated and handle only those nics.
This implementation is missing from engine-backend because backend
automatically treat missing nics as nics we would like to remove.
A very buggy scenario would be, missing mgmt network.
The idea is to send (via REST API) a collection which contain only the
interfaces (nics) we would like to update.
This is actually an UPDATE collection procedure. it could be added as a
different action:
http://engine ip:port/hosts/id/nics/*updatenetworks*
I believe it is a part of the SetupNetwork feature that needs to be in 3.1.
Thanks
--------------040202050707070305020800
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
I am checking the SetupNetwork feature in 3.1 (si01) and I think we
are missing a very important implementation.<br>
SetupNetworks in vdsm layer is able to receive a nics collection
which describe which nics will be updated and handle only those
nics.<br>
This implementation is missing from engine-backend because backend
automatically treat missing nics as nics we would like to remove. <br>
A very buggy scenario would be, missing mgmt network.<br>
<br>
The idea is to send (via REST API) a collection which contain only
the interfaces (nics) we would like to update. <br>
<br>
This is actually an UPDATE collection procedure. it could be added
as a different action:<br>
<a class="moz-txt-link-freetext" href="http://engine">http://engine</a> ip:port/hosts/id/nics/<b>updatenetworks</b> <br>
<br>
I believe it is a part of the SetupNetwork feature that needs to be
in 3.1.<br>
<br>
Thanks<br>
<br>
</body>
</html>
--------------040202050707070305020800--
12 years, 8 months
[Engine-devel] Bridgeless Networks api design
by Michael Pasternak
Hi,
First of all i would like to understand the exact meaning of the vm_network,
from the wiki [1] - "a "Vm network" is implemented over a bridge, otherwise bridgeless",
if so, why not calling network property <bridged>true|false</bridged>?
from the other hand i understand that this is only current implementation and it
may change in a future,
anyway adding <vm_network>true|false</vm_network> property to <network> entity in api
(as was suggested) doesn't sound good cause vm_network sounds as a network type, but then
the question is Management/Migration/Storage/Display should be also network's types? and if single
network can be used for the Management|Migration|Storage|Display simultaneously? if the answer is
yes, network modelling probably should look like:
<network>
<bridged>true|false</bridged>
<type>Management/Migration/Storage/Display</type>
</network>
or
<network>
<bridged>true|false</bridged>
<designation>Management|Migration|Storage|Display</designation>
</network>
your thoughts?
[1] http://www.ovirt.org/wiki/Features/Design/Network/Bridgeless_Networks
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
12 years, 8 months
[Engine-devel] Forward comp[atibility of OVF
by Mike Kolesnik
--=_bc9b6b95-2d7c-4155-b37b-029c2446b231
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi,
I wanted to know if we want to support forward compatibility of OVF format, which is used for export/import of VMs/VM Templates.
For example,
I create a VM in a 3.1 system, export it to an export Domain.
Should I be able to import this VM on a 3.0 system?
Obviously, backwards compatibility (from older version to newer) is desired and is kept , but do we really need forward compatibility also?
The reason I'm asking is some changes that need to be done in current OVF format to support new features. These new changes will be backwards-compatible with old OVF formats, but is it desirable for them to be forward compatible?
Regards,
Mike
--=_bc9b6b95-2d7c-4155-b37b-029c2446b231
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D'text/css'>p { margin: 0; }</style></head><body><=
div style=3D'font-family: Times New Roman; font-size: 12pt; color: #000000'=
>Hi,<br><br>I wanted to know if we want to support forward compatibility of=
OVF format, which is used for export/import of VMs/VM Templates.<br><br>Fo=
r example, <br>I create a VM in a 3.1 system, export it to an export Domain=
.<br>Should I be able to import this VM on a 3.0 system?<br><br>Obviously, =
backwards compatibility (from older version to newer) is desired and is kep=
t, but do we really need forward compatibility also?<br><br>The reason I'm =
asking is some changes that need to be done in current OVF format to suppor=
t new features. These new changes will be backwards-compatible with old OVF=
formats, but is it desirable for them to be forward compatible?<br><br><di=
v><span name=3D"x"></span>Regards,<br>Mike<span name=3D"x"></span><br></div=
><br></div></body></html>
--=_bc9b6b95-2d7c-4155-b37b-029c2446b231--
12 years, 8 months