[Engine-devel] Trusted Compute Pools
by Wei, Gang
------=_NextPart_000_0388_01CDC762.DCFD1B70
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Hi,
I am an engineer working in Intel Open Source Technology Center, interested
in integrating Intel initiated OpenAttestation(OAT) project
(https://github.com/OpenAttestation/OpenAttestation.git) into oVirt to
provide a way for Administrator to deploy VMs on trusted hosts hardened with
H/W-based security features, such as Intel TXT.
I made a draft feature page for this:
http://wiki.ovirt.org/wiki/Trusted_compute_pools
My draft idea is to provide trust_level requirement while doing vm creation
like below:
curl -v -u "vdcadmin(a)qa.lab.tlv.redhat.com"
-H "Content-type: application/xml"
-d '<vm><name>my_new_vm</name>
<cluster id="99408929-82cf-4dc7-a532-9d998063fa95" />
<template id="00000000-0000-0000-0000-000000000000"/>
<trust_level>trusted</trust_level></vm>'
'http://10.35.1.1/rhevm-api/vms'
Then oVirt Engine should query attestation server built with OAT via RESTful
API to get all trusted hosts and select one to create the VM.
Attestation server performs host verification through following steps:
1. Hosts boot with Intel TXT technology enabled
2. The hosts' BIOS, hypervisor and OS are measured
3. These measured data is sent to Attestation server when challenged by
attestation server
4. Attestation server verifies those measurements against good/known
database to determine hosts' trustworthiness
Hosts need to be installed with OAT host agent to report host integrity to
attestation server.
By far, I am still in process of getting familiar with oVirt code and not
get solid idea yet on how the oVirt Engine should be modified to support
this feature.
Any kind of comments or suggestions will be highly appreciated.
Thanks
Gang (Jimmy) Wei
------=_NextPart_000_0388_01CDC762.DCFD1B70
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIdxjCCAyAw
ggKJoAMCAQICBDXe9M8wDQYJKoZIhvcNAQEFBQAwTjELMAkGA1UEBhMCVVMxEDAOBgNVBAoTB0Vx
dWlmYXgxLTArBgNVBAsTJEVxdWlmYXgg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GVybmFs
IEJhc2ljIElzc3VpbmcgQ0EgM0ECChSZ5sYAAQAAU9UwdQYLKoZIhvcNAQkQAgsxZqBkMFYxCzAJ
BgNVBAYTAlVTMRowGAYDVQQKExFJbnRlbCBDb3Jwb3JhdGlvbjErMCkGA1UEAxMiSW50ZWwgRXh0
ZXJuYWwgQmFzaWMgSXNzdWluZyBDQSAzQQIKFJnmxgABAABT1TCBqwYJKoZIhvcNAQkPMYGdMIGa
MAsGCWCGSAFlAwQBKjALBglghkgBZQMEARYwCgYIKoZIhvcNAwcwCwYJYIZIAWUDBAECMA4GCCqG
SIb3DQMCAgIAgDAHBgUrDgMCBzANBggqhkiG9w0DAgIBQDANBggqhkiG9w0DAgIBKDAHBgUrDgMC
GjALBglghkgBZQMEAgMwCwYJYIZIAWUDBAICMAsGCWCGSAFlAwQCATANBgkqhkiG9w0BAQEFAASC
AQCEJdPLzc141NjrlWdB5U+28z5AxlqYhO5ref55IUvaW/jP1hJJbR6K/qiTraQ5GGq1reH4zs7R
vK7QUZRGa4S8dhqJ6fx0uTF7U61uPaPdtzHaafu55Gw6YePRov9IyiJOh5GCKamcLCdyOa3tYG09
9gIp7bWnA7Y/YGgzfwhUWmJKkDl7htOPr0ez4Fy01gFGiCH26n1xHUcG22YgwnoRx/Qih863KGnV
kvtvNrj6Iixo4y8ZF3bQmPhZSn6zPzd99mAPUdwuV78bP/Cexy7UyUP00u9gydnr+YkkWnmOHc2E
jnVX8aZdhugP/pR0HbNCof4RXTX6UZ1ge0SUKsrzAAAAAAAA
------=_NextPart_000_0388_01CDC762.DCFD1B70--
11 years, 8 months
[Engine-devel] Error building ovirt engine rpm.
by snmishra@linux.vnet.ibm.com
Hi,
I tried building an ovirt engine RPM for the first time on my
Fedora17 machine using the wiki instructions. I get the following
error -
# make rpm
sed -e 's/@PACKAGE_VERSION(a)/3.3.0/g' \
-e 's/@PACKAGE_RELEASE(a)/0.1.20130208174746/g'
packaging/fedora/spec/
ovirt-engine.spec.in >
ovirt-engine.spec
git ls-files | tar --files-from /proc/self/fd/0 -czf
ovirt-engine-3.3.0.tar.gz o
virt-engine.spec
rm -f ovirt-engine.spec
You can use rpmbuild -tb ovirt-engine-3.3.0.tar.gz to produce rpms
rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
mkdir -p
/home/guest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,B
UILDROOT}
mkdir -p output
rpmbuild -ts --define="_topdir /home/guest/ovirt-engine/tmp.rpmbuild"
ovirt-engi
ne-3.3.0.tar.gz
Wrote:
/home/guest/ovirt-engine/tmp.rpmbuild/SRPMS/ovirt-engine-3.3.0-0.1.201302
08174746.fc17.src.rpm
mv /home/guest/ovirt-engine/tmp.rpmbuild/SRPMS/*.rpm output
rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
srpm is ready at output
rm -rf /home/guest/ovirt-engine/tmp.rpmbuild
mkdir -p
/home/guest/ovirt-engine/tmp.rpmbuild/{SPECS,RPMS,SRPMS,SOURCES,BUILD,B
UILDROOT}
mkdir -p output
rpmbuild --define="_topdir /home/guest/ovirt-engine/tmp.rpmbuild"
--rebuild out
put/ovirt-engine-3.3.0*.src.rpm
Installing output/ovirt-engine-3.3.0-0.1.20130208172931.fc17.src.rpm
error: Failed build dependencies:
ovirt-host-deploy-java is needed by
ovirt-engine-3.3.0-0.1.2013020817293
1.fc17.noarch
make: *** [rpm] Error 1
-Sharad
11 years, 8 months
[Engine-devel] Import/snapshots duplicate MAC support
by Mike Kolesnik
------=_Part_14223209_123477223.1360131191449
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi,
The current situation dictates that if the configuration value AllowDuplicateMacAddresses
is set to false (this is the default setting), then we block import or switching snapshots where
a MAC address in one or more of the snapshot/ovf's virtual NICs is already used.
Given that we don't currently give the admin any option to select otherwise, I'm not sure
that's a very robust behaviour..
First of all the MAC address should be unique per network and not in the whole system (like
it is currently).
Furthermore, as long as in the same network there are no two virtual NIC s running with the
same address, it is not such a bad situation.
Therefore, I would like to propose a couple of solutions (from backend perspective):
1. Keep blocking.
2. Keep blocking but fix the mac pools to be per network basis.
3. Don't block, and allow duplicate MACs in these scenarios, but block on activating a NIC
with duplicate MAC address. Warn the user that the NIC is with duplicate MAC, and
perhaps even unplug or unwire it so that it would be obvious that it's using someone else's
MAC.
4. Don't block, and give the problematic NIC a new MAC from the pool.
Solution 1 is obviously not the greatest (hence this email).
In my opinion, 4 is sort of a cat in a bag, since I'm not sure changing the HWADDR for the
guest OS is really a good idea.
Solution 2 would be nice going forward, but it just reduces the chances of an admin to come
across this situation and doesn't solve it entirely.
Hence, I would favour solution 3 which seems to solve the problem and allow the admin to
choose what to do.
Please voice your opinion, or propose an alternate solution.
Regards,
Mike
------=_Part_14223209_123477223.1360131191449
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,new york,times,serif; font-size: =
12pt; color: #000000'>Hi,<br><br>The current situation dictates that if the=
configuration value AllowDuplicateMacAddresses <br>is set to false (this i=
s the default setting), then we block import or switching snapshots where<b=
r>a MAC address in one or more of the snapshot/ovf's virtual NICs is alread=
y used.<br><br>Given that we don't currently give the admin any option to s=
elect otherwise, I'm not sure <br>that's a very robust behaviour..<br>First=
of all the MAC address should be unique per network and not in the whole s=
ystem (like<br>it is currently).<br>Furthermore, as long as in the same net=
work there are no two virtual NICs running with the <br>same address, it is=
not such a bad situation.<br><br>Therefore, I would like to propose a coup=
le of solutions (from backend perspective):<br> 1. Keep blocking.<br>=
2. Keep blocking but fix the mac pools to be per network basis.<br>&=
nbsp; 3. Don't block, and allow duplicate MACs in these scenarios, but bloc=
k on activating a NIC <br> with duplicate MAC=
address. Warn the user that the NIC is with duplicate MAC, and <br> &=
nbsp; perhaps even unplug or unwire it so that it would b=
e obvious that it's using someone else's<br> =
MAC.<br> 4. Don't block, and give the problematic NIC a new MAC from =
the pool.<br><br>Solution 1 is obviously not the greatest (hence this email=
).<br>In my opinion, 4 is sort of a cat in a bag, since I'm not sure changi=
ng the HWADDR for the<br>guest OS is really a good idea.<br>Solution 2 woul=
d be nice going forward, but it just reduces the chances of an admin to com=
e<br>across this situation and doesn't solve it entirely.<br>Hence, I would=
favour solution 3 which seems to solve the problem and allow the admin to<=
br>choose what to do.<br><br>Please voice your opinion, or propose an alter=
nate solution.<br><br><div><span name=3D"x"></span>Regards,<br>Mike<span na=
me=3D"x"></span><br></div><br></div></body></html>
------=_Part_14223209_123477223.1360131191449--
11 years, 8 months
[Engine-devel] NPE during addStorageServer command
by Deepak C Shetty
Hi All,
I am trying to compile ovirt engine after applying sharad's
glusterfs domain support patches @
http://gerrit.ovirt.org/#/q/project:ovirt-engine+branch:master+topic:glus...
After compiling, deploying the engine ( by following the steps in
wiki.ovirt.org/Building_Ovirt_Engine )
I connect to the weadmin GUI, add a VDSM host ( this is my own vdsm host
with VDSM glsuter domain support ) and the host is "Up" state.
Then I select New SD->None in DC -> select my vdsm host->provide the
args (remote path = volfileserver:volume, vfstype=glusterfs, mount =>
left blank) and click on OK
I see NPE in the engine side during addStorageServer cmd ( IIUC ) and
then engine tries to send disconnectStorageServer, which reaches my VDSM
host and it throws a excp, since the domain is not mounted at all.
I have captured the logs on the engien and vdsm side and attached here.
I am looking for some help on why the NPE is being seen on the engien
side during adding a new SD ?
thanx,
deepak
11 years, 8 months
[Engine-devel] Proposing Kiril nesenko as power user for "ovirt engine tools"
by Eyal Edri
Hi,
I would like to propose kiril nesenko as 'jenkins power user' for ovirt engine tools.
These tools indlude iso uploader, log collector, image uploader and others.
Kiril is very involved in building and running Jenkins jobs on the rhevm product,
and maintains & package the ovirt tools currently.
As part of being power user on jenkins.ovirt.org, he will create new jobs to build and release tools for the various OS supported.
I vote +1 as i personally know kiril and he's experience.
Thansk,
Eyal.
11 years, 8 months
[Engine-devel] engine-config behaviour on -g by alternateKey
by Martin Betak
Hi All,
I've been working on the ability to set keyboard layout for VNC server as per each individual VM. Currently the only option is to use engine-config to set the value globally, e.g. engine-config -s VncKeyboardLayout=en-us. After adding this option to database and respective entities there were raised valid concerns about why is this option called VncKeyboardLayout and not just KeyboardLayout as it applies to SPICE equally (note that also VDSM calls this config value as 'keyboardLayout').
So to achieve consistency I also renamed it in engine-config.properties and set KeyboardLayout.alternateKey=VncKeyboardLayout. This indeed works for setting (engine-config -s VncKeyboardLayout=en-us sets KeyboardLayout and engine-config -g KeyboardLayout works but it is unable to read the value by the alternateKey)
engine-config -g VncKeyboardLayout fails with "no such entry with default version" in the method EngineConfigLogic.printAllValuesForKey as it is passing the user given key name directly to database which returns zero results. Setter methods such as EngineConfigLogic.persistValue use the entity ConfigKey constructed from the user given key-name which correctly constructs appropriate ConfigKey even when given alternateKey name.
So I wanted to ask whether this is the desired behaviour (set by alternateKey name but get only by the primary) or is this a bug? I have also simple patch that fixes this and enables also getting the config value by alternateKey.
Thank you
11 years, 8 months
[Engine-devel] Instance Types Feature
by Tomas Jelinek
Hi All,
this is the proposed new feature called instance types:
http://www.ovirt.org/Features/Instance_Types
Long story short - it should basically split the VM template into:
- "hardware profile" called instance types
- "software profile" called image
This should enable to do something like: Create a new "small" VM and attach a disk with "RHEL + Postgres" installed.
Any comments are more than welcome!
Tomas
11 years, 8 months
[Engine-devel] Current oVirt 3.2 blockers
by Moran Goldboim
This is a multi-part message in MIME format.
--------------030001010501000107010308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
attached is the list of current blockers as appears on version tracker
bug [1]
maintainers please see that the below issues are fixed (unless not
really blockers).
users, if there are any additional blockers you are facing - let's
discuss it in the meeting today.
network
=======
Bug ID Product Whiteboard Component Assignee Status
Resolution Summary
906289 oVirt network ovirt-engine-webadmin
alkaplan(a)redhat.com POST --- [oVirt-webadmin] [network] Non-VM
networks shown as VM networks on cluster attachment dialog
906291 oVirt network ovirt-engine-webadmin lpeer(a)redhat.com
POST --- [oVirt-webadmin] [network] Non-VM networks not being
detached from cluster
906383 oVirt network vdsm danken(a)redhat.com POST ---
[vdsm] [setupNetworks] Error while attaching non-VM network to interface
on Fedora 18
DWH/integration
=============
oVirt integration ovirt-dwh ydary(a)redhat.com POST --- dwh
setup fails to create db on fedora18
Gluster
======
oVirt gluster ovirt-engine-core shireesh(a)redhat.com MODIFIED
--- Deleting one gluster volume from gluster cli triggers deletion of
all volumes in engine
oVirt gluster ovirt-engine-installer avishwan(a)redhat.com
MODIFIED --- engine-setup should prompt for application mode
oVirt-node
========
oVirt ovirt-node fdeutsch(a)redhat.com ASSIGNED ---
configure kdump fail
oVirt ovirt-node mburns(a)redhat.com POST --- problem to
make /etc/hosts persistent
oVirt ovirt-node fdeutsch(a)redhat.com NEW --- DNS info
is missed after reboot rhev-h
oVirt ovirt-node mburns(a)redhat.com NEW --- Migrate Node
to Fedora 18
oVirt ovirt-node jboggs(a)redhat.com POST --- [F18]
Firewalld problem
oVirt ovirt-node jboggs(a)redhat.com POST --- [F18]
Failed to copy EFI files, no EFI Support will be included.
oVirt ovirt-node mburns(a)redhat.com POST --- [F18]
snmpd.conf wasn't found
oVirt ovirt-node jboggs(a)redhat.com POST --- [F18]
useradd: group 'sfcb' does not exist
oVirt ovirt-node jboggs(a)redhat.com POST --- [F18]
SELinux problems
oVirt ovirt-node fdeutsch(a)redhat.com POST --- [F18] All
qemu architectures are pulled in and increase the size of the image /
What arches are required?
oVirt ovirt-node mburns(a)redhat.com NEW --- [F18]
journal is full of collectd messages
please be ready with it's status for today's weekly meeting, packages
should be built by the end of this week fixing the above bugs
I'm still missing some packages on the beta repo:
-dwh/reports
-docs
-engine-sdk-java
please let us know it's status with respect to 3.2 release.
[1]
https://bugzilla.redhat.com/showdependencytree.cgi?id=881006&hide_resolved=1
thanks,
Moran.
--------------030001010501000107010308
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">
attached is the list of current blockers as appears on version
tracker bug [1]<br>
maintainers please see that the below issues are fixed (unless not
really blockers).<br>
users, if there are any additional blockers you are facing - let's
discuss it in the meeting today.<br>
<br>
network<br>
=======<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
<style>
<!--
BODY,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Liberation Sans"; font-size:x-small }
-->
</style>Bug ID Product Whiteboard Component Assignee
Status Resolution Summary<br>
906289 oVirt network ovirt-engine-webadmin
<a class="moz-txt-link-abbreviated" href="mailto:alkaplan@redhat.com">alkaplan(a)redhat.com</a> POST --- [oVirt-webadmin] [network]
Non-VM networks shown as VM networks on cluster attachment dialog<br>
906291 oVirt network ovirt-engine-webadmin
<a class="moz-txt-link-abbreviated" href="mailto:lpeer@redhat.com">lpeer(a)redhat.com</a> POST --- [oVirt-webadmin] [network] Non-VM
networks not being detached from cluster<br>
906383 oVirt network vdsm <a class="moz-txt-link-abbreviated" href="mailto:danken@redhat.com">danken(a)redhat.com</a> POST
--- [vdsm] [setupNetworks] Error while attaching non-VM network
to interface on Fedora 18<br>
<br>
DWH/integration<br>
=============<br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
oVirt integration ovirt-dwh <a class="moz-txt-link-abbreviated" href="mailto:ydary@redhat.com">ydary(a)redhat.com</a> POST
--- dwh setup fails to create db on fedora18<br>
<br>
Gluster<br>
======<br>
oVirt gluster ovirt-engine-core <a class="moz-txt-link-abbreviated" href="mailto:shireesh@redhat.com">shireesh(a)redhat.com</a>
MODIFIED --- Deleting one gluster volume from gluster cli
triggers deletion of all volumes in engine<br>
oVirt gluster ovirt-engine-installer <a class="moz-txt-link-abbreviated" href="mailto:avishwan@redhat.com">avishwan(a)redhat.com</a>
MODIFIED --- engine-setup should prompt for application mode<br>
<br>
oVirt-node<br>
========<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:fdeutsch@redhat.com">fdeutsch(a)redhat.com</a> ASSIGNED ---
configure kdump fail<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:mburns@redhat.com">mburns(a)redhat.com</a> POST ---
problem to make /etc/hosts persistent<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:fdeutsch@redhat.com">fdeutsch(a)redhat.com</a> NEW --- DNS
info is missed after reboot rhev-h<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:mburns@redhat.com">mburns(a)redhat.com</a> NEW ---
Migrate Node to Fedora 18<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:jboggs@redhat.com">jboggs(a)redhat.com</a> POST --- [F18]
Firewalld problem<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:jboggs@redhat.com">jboggs(a)redhat.com</a> POST --- [F18]
Failed to copy EFI files, no EFI Support will be included.<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:mburns@redhat.com">mburns(a)redhat.com</a> POST --- [F18]
snmpd.conf wasn't found<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:jboggs@redhat.com">jboggs(a)redhat.com</a> POST --- [F18]
useradd: group 'sfcb' does not exist<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:jboggs@redhat.com">jboggs(a)redhat.com</a> POST --- [F18]
SELinux problems<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:fdeutsch@redhat.com">fdeutsch(a)redhat.com</a> POST ---
[F18] All qemu architectures are pulled in and increase the size of
the image / What arches are required?<br>
oVirt ovirt-node <a class="moz-txt-link-abbreviated" href="mailto:mburns@redhat.com">mburns(a)redhat.com</a> NEW --- [F18]
journal is full of collectd messages<br>
<br>
<br>
please be ready with it's status for today's weekly meeting,
packages should be built by the end of this week fixing the above
bugs<br>
<br>
I'm still missing some packages on the beta repo:<br>
-dwh/reports<br>
-docs<br>
-engine-sdk-java<br>
<br>
please let us know it's status with respect to 3.2 release.<br>
<br>
<br>
[1]
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/showdependencytree.cgi?id=881006&hide_res...">https://bugzilla.redhat.com/showdependencytree.cgi?id=881006&hide_res...</a><br>
<br>
thanks,<br>
Moran.<br>
</body>
</html>
--------------030001010501000107010308--
11 years, 8 months
[Engine-devel] UI Plugin API: Introducing optional arguments object
by Vojtech Szocs
Hi guys,
as we're planning to improve some plugin API functions [1,2] I'd like to introduce the concept of optional arguments ('options') object, very similar to jQuery 'settings' object [3].
Each API function will declare only mandatory (required) arguments as part of its signature, with any optional arguments embedded within the 'options' object. The 'options' object itself will be optional (can be omitted) and will always be the last argument of each API function.
For example:
// Without 'options' object, all optional arguments fall back to their default values
showDialog('My Dialog', 'my-dialog', 'http://www.example.com/', '800px', '600px')
// With empty 'options' object, all optional arguments fall back to their default values
showDialog('My Dialog', 'my-dialog', 'http://www.example.com/', '800px', '600px', {})
// With non-empty 'options' object, overriding default 'resizeEnabled' optional argument value
showDialog('My Dialog', 'my-dialog', 'http://www.example.com/', '800px', '600px', { resizeEnabled: true })
Support for this concept should be part of [1].
Vojtech
[1] http://gerrit.ovirt.org/#/c/11717/
[2] http://gerrit.ovirt.org/#/c/11273/
[3] http://api.jquery.com/jQuery.ajax/
11 years, 8 months