[Engine-devel] Host Network status isn't being updated
by Itzik Brown
--_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I add a network using ovirt-engine:
Adding a network to a data center then attaching the network to a cluster(N=
on required network).
Then I do the following on the host (running vdsm):
#brctl addbr mynetwork
#brctl addif mynetwork eth3
The refresh rate as indicated by ovirt-engine GUI is 5 seconds.
I don't see that the network is attached to the interface until I manually =
restart vdsm.
Any suggestion?
Thanks,
Itzik
--_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I add a network using ovirt-engine:<o:p></o:p></p>
<p class=3D"MsoNormal">Adding a network to a data center then attaching the=
network to a cluster(Non required network).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Then I do the following on the host (running vdsm):<=
o:p></o:p></p>
<p class=3D"MsoNormal">#brctl addbr mynetwork<o:p></o:p></p>
<p class=3D"MsoNormal">#brctl addif mynetwork eth3 <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">The refresh rate as indicated by ovirt-engine GUI is=
5 seconds.<o:p></o:p></p>
<p class=3D"MsoNormal">I don't see that the network is attached to the inte=
rface until I manually restart vdsm.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Any suggestion?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Itzik<o:p></o:p></p>
</div>
</body>
</html>
--_000_4488206DC085244C886DBC9E7038B68925186CD0mtrdag02mtlcom_--
12 years, 6 months
[Engine-devel] restapi: New params for import VM/Template
by Gilad Chaplik
Hi All,
I am adding the ability to import a VM or a Template to a storage-domain,
when this VM or Template already exists in the destination storage domain.
Until now, Backend failed this. Now I want to enable the user to specify
that he wishes this VM/Template will be created again by a different name,
i.e - cloned.
[feature page: http://www.ovirt.org/wiki/Features/ImportMoreThanOnce]
I plan to achieve this using a new parameter, but I want to reach an agreement
about this parameter's name. I thought simply to call it "clone".
Another thing that I'll do in the patch-set is add the currently-missing ability
to specify whether the snapshots of the VM, which is being imported, will
be collapsed into a single snapshot (we have this ability in GUI). I am also
deliberating about the name of this parameter. I thought about
"collapse_snapshots" (same as in GUI).
Does anyone think "clone" and "collapse_snapshots" are inappropriate and has
better suggestions?
Thanks,
Gilad
12 years, 6 months
[Engine-devel] network features review
by Livnat Peer
Hi All,
This is a summary of comments we(*) gathered while reviewing the current
network related functionality in oVirt, we'll open the relevant RFE/Bugs
but wanted to share first to get comments:
Default Gateway:
----------------
current status -
In the UI/API we expose to the user the possibility to configure the
default gateway for the host. We expose this option only when editing
the management network.
comments -
Apparently we do not configure the host default gateway but the
network gateway.
1. We need to fix the phrasing to gateway (not default gateway)
2. Why do we block it for networks which are not the management network
3. We need to support configuring the host default gateway.
Non VM (Bridge-less) Network:
-----------------------------
current status -
During bootstrap we configure the management network on the host. We did
not implement configuring bridge-less management network during bootstrap.
comments -
1. Supporting bridge-less network is a new feature,the design of this
feature did not include changing the bootstrap process which make this
feature non-useful when it comes to management network.
Today one can edit a network only when it is not attached to clusters,
at this point you can change the management network to be non-VM
network, the problem is that we configure the management network on the
host during bootstrap and we do not get a parameter if to create a
bridge or not (we always create a bridge).
What we end up with is - we can't change the management network once we
added clusters/hosts but if changing it before attaching a cluster we
ignore it in the bootstrap process.
Check connectivity:
--------------------
current status -
The 'check connectivity' functionality is available only when editing
the management network, it validates that we did not loose connectivity
to the host, if we did the changes are rolled backed automatically.
comments -
1. Sometimes when changing configuration of another network we can
'damage' the connectivity to the host. We want to expose the check
connectivity functionality on any network configuration change.
VLAN tagging of management Network
-----------------------------------
current status -
The user can set a VLAN tag on the management network.
comments -
1. Any configuration of the management network needs support in the
bootstrap process (see explanation above for bridge-less network)
2. In case of VLAN tagging it is even more complicated, when adding a
host to oVirt we add it's address and it can not be changed after the
host was added to the system. in the bootstrap process we set the
management network on the nic oVirt engine used to ssh through, unless
the VLAN device is already configured and the IP used for the ssh is
already on this VLAN (for which it will work) we can't set the network
to be on another IP address.
Rollback network configuration:
--------------------------------
current status -
We have the option to make changes to the host network configuration
and not persist the changes (they won't survive machine reboot)
comments -
1. We are missing the functionality of rolling back the changes (without
rebooting the machine), this functionality is the complementary behavior
of 'save network configuration'.
Predefined bonds:
-----------------
current status -
In the bootstrap process we create bonds0-5 on the hosts and then
we use them when creating a bond on the host
comments -
1. Creating the bonds in the host during the bootstrap process is not
needed and we can let the user choose the bond name (limited to bondX)
and create bonds only upon request.
Editing Network properties while Network is attached to cluster/s
------------------------------------------------------------------
current status -
Changing the network properties is blocked if the network is attached to
a cluster.
comments -
1. We should relax this approach. to start with we can enable editing
when there are no active hosts in the cluster/s.
doing more than the above requires substantially more work both in VDSM
and engine.
Thank you, Livnat
(*) we == {Dan Kenigsberg, Igor Lvovsky, Mike Kolesnik, Moti Asayag,
Muli Salem, Alona Kaplan, Livnat Peer}
(**) We have even longer list for the UI changes needed, for them we'll
open bugs directly to avoid another long email.
12 years, 6 months
[Engine-devel] F17 maven build failure
by Ofer Schreiber
Hey,
I'm trying to build ovirt-engine in Fedora 17, and getting the following error:
[INFO] oVirt Modules - manager ........................... FAILURE [1:05.421s]
....
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.6:check (default) on project manager-modules: Execution default of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.6:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: checkstyle:checkstyle:jar:5.0, antlr:antlr:jar:2.7.6, commons-beanutils:commons-beanutils-core:jar:1.7.0, com.google.collections:google-collections:jar:0.9: Could not find artifact checkstyle:checkstyle:jar:5.0 -> [Help 1]
Any idea how can I resolve it?
---
Ofer Schreiber
12 years, 6 months
[Engine-devel] port mirroring REST API
by Livnat Peer
Hi All,
After digging into the port mirroring feature I suggest a different
modeling of it in the API.
The current modeling is to add to vnic a boolean property of
port-mirroring, e.g.
api/vms/{vm-id}/nics
<nics>
<nic>
...
<network href="/api/networks/{network-id}" id="{network-id}"/>
<port-mirroring> true </port mirroring>
</nic>
</VM>
This modeling imply 2 limitations:
1. The vnic must be connected to the network it wants to monitor
2. the nic can mirror only a single network
Both of the above limitations are correct to the current implementation.
Going forward we might want to introduce the above functionalities and
the above modeling won't hold.
Instead of the above I suggest to change the port-mirroring property to
a list of networks.
<nics>
<nic>
...
<network href="/api/networks/{network-id}" id="{network-id}"/>
<port-mirroring>
<network href="/api/networks/{network-id}" id="{network-id}"/>
....
</port mirroring>
</nic>
</VM>
In this version we'll validate that the network under port-mirroring is
equal to the network the vnic is connected to, in future versions we can
remove this validation without changing the API.
Thanks, Livnat
12 years, 6 months
[Engine-devel] Engine DB - user locked
by Elad Tabak
Hi,
After an attempt to clear the DB by running './create_db_devel.sh -u
postgres', I got an error:
*Failed to create database engine*
I then run 'dropdb -U postgres engine', and then 'create_db_devel.sh'
again, but still I get the same error.
When I tried to login from the admin web interface, I get authentication
error. This is from the jboss log:
USER_FAILED_TO_AUTHENTICATE_ACCOUNT_IS_LOCKED_OR_DISABLED
I also tried running './create_db_devel.sh -u postgres -d engine_new', but
it gives the same error ("Failed to create database engine_new").
I tried restarting the posgresql service, it didn't help.
Please advice.
Thanks,
Elad
12 years, 6 months