Re: [ovirt-users] oVirt 3.5 & NAT
by Phil Daws
Well, in fact have got something to work now! Left ovirtmgmt and em1 alone but ran:
$ ovs-vsctl add-br ovsbr0
$ ip link add name veth0 type veth peer name veth1
$ brctl addif ovirtmgmt veth0
$ ovs-vsctl add-port ovsbr veth1
$ ip add add XXX.XXX.XXX.XXX/29 dev veth1
$ ip link set veth0 up && ip link set veth1 up
and now veth1 is responding as-well as veth0.
ovs-vsctl show
08554d11-3ba7-4303-b9d5-6a09f23c9057
Bridge "ovsbr0"
Port "veth1"
Interface "veth1"
Port "ovsbr0"
Interface "ovsbr0"
type: internal
so what I think should do now is create a custom parameter on the Engine Manager that allows one to define an OVS bridge name and VLAN so when a virtual guest is created it can be assigned to the new bridge; with the use of a custom hook.
Thanks, Phil
----- Original Message -----
From: "Phil Daws" <uxbod(a)splatnix.net>
To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
Cc: users(a)ovirt.org
Sent: Monday, 27 October, 2014 2:10:34 PM
Subject: Re: [ovirt-users] oVirt 3.5 & NAT
Darn, looks like this will not work :( the problem is that oVirt creates the bridge ovirtmgmt and binds that to your interface eg. em1. So at that point you have network running. If you then try to add that to the OVS stack your networking stop :( I tried to add it as a port using ovs-vsctl add-port ovsbr0 ovirtmgmt which is accepted but then networking stops. As soon as I remove again networking comes back to life. There does not seem to be a way to have two co-existing bridges :( Thanks, Phil
----- Original Message -----
From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
To: "Phil Daws" <uxbod(a)splatnix.net>
Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
Sent: Monday, 27 October, 2014 12:13:30 PM
Subject: Re: [ovirt-users] oVirt 3.5 & NAT
----- Original Message -----
> From: "Phil Daws" <uxbod(a)splatnix.net>
> To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> Sent: Monday, October 27, 2014 11:41:56 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
>
> Hi Antoni:
>
> Yes, prior to the reboot it did work okay. This is how it should look I
> believe:
>
> Bridge "ovirtmgmt"
> Port "mgmt0"
> Interface "mgmt0"
> type: internal
> Port "ovsbr0"
> Interface "ovsbr0"
> type: internal
>
> So the bridge would be defined by oVirt then I guess with a custom hook that
> would then be added to the OVS stack ?
exactly! You could just make a hook script that runs an after_network_setup
hook that does the ovs-vsctl for you ;-)
Here you can see the presentation I gave last February at devconf about extending
with configurators and hooks.
http://blog.antoni.me/devconf14/#/8/1
I linked directly to a before_network_setup hook sample, because it works just like
the after_network_setup hook. Instead of logging to systemd, just add that if
'remove' is not in data and network == 'ovirtmgmt', it adds the network bridge to
the vswitch with python's subprocess.call or subprocess.check_output.
You can send it if you want me to take a look ;-)
PS: It is possible to write the hooks in bash, c, perl, etc. But we only have the
convenience read_json methods and such for python. If you wanted to, you could have
a simple bash hook that just checked if there was an ovirtmgmt bridge and it would
add it doing ovs-vsctl in the before_vdsm_start hooking point. That would have the
drawback that changing the ovirtmgmt bridge with oVirt UI would leave it disconnected
again.
>
> Thanks, Phil
>
> ----- Original Message -----
> From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> To: "Phil Daws" <uxbod(a)splatnix.net>
> Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> Sent: Monday, 27 October, 2014 9:56:38 AM
> Subject: Re: [ovirt-users] oVirt 3.5 & NAT
>
>
>
> ----- Original Message -----
> > From: "Phil Daws" <uxbod(a)splatnix.net>
> > To: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> > Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> > Sent: Monday, October 27, 2014 10:37:18 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> >
> > That is what I tried but oVirt appears to overwrite the bridge information
> > on
> > boot :( Thanks, Phil
>
> But before rebooting, does it work as you intended? If so, you could just
> make
> a vdsm hook that adds ovirtmgmt to the ovs bridge after it is set up. (I
> could
> give more directions into how to do it).
>
> >
> > ----- Original Message -----
> > From: "Antoni Segura Puimedon" <asegurap(a)redhat.com>
> > To: "Phil Daws" <uxbod(a)splatnix.net>
> > Cc: "Dan Kenigsberg" <danken(a)redhat.com>, users(a)ovirt.org
> > Sent: Monday, 27 October, 2014 8:00:33 AM
> > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> >
> >
> >
> > ----- Original Message -----
> > > From: "Phil Daws" <uxbod(a)splatnix.net>
> > > To: "Dan Kenigsberg" <danken(a)redhat.com>
> > > Cc: users(a)ovirt.org
> > > Sent: Saturday, October 25, 2014 5:02:59 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > >
> > > Hmmm, this is becoming difficult ..
> > >
> > > I have added into the engine the custom hook and understand how that will
> > > work. The issue is how can a single NIC use two different bridges ?
> > > Example with OVS would be that one requires:
> > >
> > > em1 -+ ovirtmgmt (bridge) -> management IP (public)
> > > + ovs (bridge) -> firewall IP (public)
> > > |
> > > + vlan 1
> > > + vlan 2
> > >
> > > this works fine when using OVS and KVM, without oVirt, so there must be a
> > > way
> > > to hook the two together without a Neutron appliance.
> > >
> > > Any thoughts ? Thanks, Phil.
> >
> > I haven't tried this, and it may not work, but what happens if you add the
> > ovirtmgmt
> > bridge as a port of the ovs bridge?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dan Kenigsberg" <danken(a)redhat.com>
> > > To: "Phil Daws" <uxbod(a)splatnix.net>
> > > Cc: users(a)ovirt.org
> > > Sent: Wednesday, 22 October, 2014 3:54:46 PM
> > > Subject: Re: [ovirt-users] oVirt 3.5 & NAT
> > >
> > > On Wed, Oct 22, 2014 at 03:12:09PM +0100, Phil Daws wrote:
> > > > Thanks Dan & Antoni:
> > > >
> > > > I wonder then if I could replace the standard libvirt defined network
> > > > with
> > > > an OpenVSwitch one like I have on my dev system? That is just straight
> > > > KVM with OVS integrated. Maybe a bit more overhead in administration
> > > > but
> > > > possibly less than having to spin up a Neutron Appliance.
> > >
> > > Once you start to use the vdsm-hook-extnet, all that you need to do is
> > > to replace the libvirt-side definition of the "external network". This
> > > may well be an OpenVSwitch-based network e.g.
> > > http://libvirt.org/formatnetwork.html#elementVlanTag
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
10 years
all-in-one updated from 3.4.4 to 3.5.0 ok with reinstall of host part
by Gianluca Cecchi
On a fedora 19 system where I had 3.4.4 all-in-one, I was able to upgrade
to 3.5.
vdsm part had problems I was able to solve reinstalling host from the
webadmin gui
Steps were:
- follow instructions for engine part --> ok
- verify connectivity of engine via new webadmin
- put host into maintenance
- stop vdsmd service
- yum update vdsm part and all other packages related to ovirt
When trying to start vdsm again I got
[root@tekkaman vdsm]# systemctl status vdsmd
vdsmd.service - Virtual Desktop Server Manager
Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
Active: failed (Result: start-limit) since Sat 2014-10-25 16:01:29 CEST;
2min 54s ago
Process: 14448 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh
--pre-start (code=exited, status=1/FAILURE)
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Failed to start
Virtual Desktop Server Manager.
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Unit vdsmd.service
entered failed state.
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: vdsmd.service
holdoff time over, scheduling restart.
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Stopping Virtual
Desktop Server Manager...
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Starting Virtual
Desktop Server Manager...
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: vdsmd.service start
request repeated too quickly, refusing to start.
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Failed to start
Virtual Desktop Server Manager.
Oct 25 16:01:29 tekkaman.localdomain.local systemd[1]: Unit vdsmd.service
entered failed state.
I was not able to check wich part of --pre-start functions had failed..
I see inside the script
case "$1" in
--pre-start)
run_tasks " \
mkdirs \
configure_coredump \
configure_vdsm_logs \
run_init_hooks \
check_is_configured \
validate_configuration \
prepare_transient_repository \
syslog_available \
nwfilter \
dummybr \
load_needed_modules \
tune_system \
test_space \
test_lo \
unified_network_persistence_upgrade \
restore_nets \
upgrade_300_nets \
"
;;
In logs I had only supervdsm.log
MainThread::DEBUG::2014-10-25
16:34:34,021::supervdsmServer::451::SuperVdsm.Server::(main) Terminated
normally
MainThread::DEBUG::2014-10-25
16:35:21,836::netconfpersistence::134::root::(_getConfigs) Non-existing
config set.
MainThread::DEBUG::2014-10-25
16:35:21,836::netconfpersistence::134::root::(_getConfigs) Non-existing
config set.
MainThread::DEBUG::2014-10-25
16:35:21,898::supervdsmServer::411::SuperVdsm.Server::(main) Making sure
I'm root - SuperVdsm
MainThread::DEBUG::2014-10-25
16:35:21,899::supervdsmServer::420::SuperVdsm.Server::(main) Parsing cmd
args
MainThread::DEBUG::2014-10-25
16:35:21,899::supervdsmServer::423::SuperVdsm.Server::(main) Cleaning old
socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-10-25
16:35:21,899::supervdsmServer::427::SuperVdsm.Server::(main) Setting up
keep alive thread
MainThread::DEBUG::2014-10-25
16:35:21,899::supervdsmServer::433::SuperVdsm.Server::(main) Creating
remote object manager
MainThread::DEBUG::2014-10-25
16:35:21,901::fileUtils::192::Storage.fileUtils::(chown) Changing owner for
/var/run/vdsm/svdsm.sock, to (36:36)
MainThread::DEBUG::2014-10-25
16:35:21,901::supervdsmServer::444::SuperVdsm.Server::(main) Started
serving super vdsm object
sourceRoute::DEBUG::2014-10-25
16:35:21,901::sourceroutethread::75::root::(_subscribeToInotifyLoop)
sourceRouteThread.subscribeToInotifyLoop started
in vdsm.conf I have retained
net_persistence = ifcfg
even after reboot only supervdsm.log was populated...
Nevertheless a host reinstall from webadmin gui seemed to fix the problem
and after that it was able to start vdsm ad host part.
I was also able to upgrade DC/Cluster from 3.4 to 3.5 version.
Now that I'm on 3.5 next days I'll try to pass from F19 to F20... we'll see
Gianluca
10 years
oVirt 3.5 & NAT
by Phil Daws
Hello All!
Am really enjoying experimenting with oVirt but have come across a question; how does one enable NAT for a VM ? Would like my guests to be able to update their software by bridging the host public IP. I could not see anything in the WUI to allow this ?
Thanks, Phil
10 years
Re: [ovirt-users] oVirt Node 3.5 20140912 for the TestDay
by Raul Laansoo
Hi.
I have got the same issue (filesystems read-only) when provisioning CentOS 6.5 as node host (installed base OS and added vdsm package). multipathd shows wwids file reaed-only. Cant't write wwid.
Fore some reason filesystem gets corrupted when installing vdsm.
Regards.
Raul
>
>
> ----- Original Message -----
> > From: "Raul Laansoo" <raul.laansoo(a)bigbank.ee>
> > To: "Fabian Deutsch" <fdeutsch(a)redhat.com>
> > Cc: "users" <users(a)ovirt.org>, devel(a)ovirt.org
> > Sent: Monday, 29 September, 2014 11:31:11 AM
> > Subject: Re: [ovirt-users] oVirt Node 3.5 20140912 for the TestDay
> >
> > Hi.
> >
> > Disabling SELinux did not help. I have attached dmesg output.
> >
> > Thank you.
> >
> > ----- Original Message -----
> > > From: "Fabian Deutsch" <fdeutsch(a)redhat.com>
> > > To: "Raul Laansoo" <raul.laansoo(a)bigbank.ee>
> > > Cc: "Daniel Helgenberger" <daniel.helgenberger(a)m-box.de>, "users"
> > > <users(a)ovirt.org>, devel(a)ovirt.org
> > > Sent: Monday, 29 September, 2014 9:22:15 AM
> > > Subject: Re: [ovirt-users] oVirt Node 3.5 20140912 for the TestDay
> > >
> > > ----- Original Message -----
> > > > Hi.
> > > >
> > > > I have a issue with 3.1.0_master (20140912.0) on following hardware:
> > > >
> > > > ProLiant BL460c Gen8
> > > > FLB Adapter 1: HP FlexFabric 10Gb 2-port 554FLB Adapter
> > > >
> > > > I can install node but when booting the server I get I/O errors as if
> > > > LUN
> > > > is
> > > > offline.
> > >
> > > Hey Raul,
> > >
> > > can you describe these errors or provide a screenshot/log?
> > >
> > > > Logging into admin (TUI) console is not possible.
> > > >
> > > > If I reboot and set the rootpw I can log in and see that /var/log is
> > > > mounted
> > > > read-only:
> > > >
> > > > mount: cannot remount block device /dev/mapper/HostVG-Logging
> > > > read-write,
> > > > is
> > > > write-protected
> > > >
> > > > multipath -ll shows that all paths are OK, but if I look at dmesg
> > > > ouput,
> > > > I
> > > > see device-mapper: multipath: Failing path x:xx. was logged at boot for
> > > > all
> > > > paths.
> > > >
> > > > I have successfully installed previous node iso version (3.0) and plain
> > > > CentOS on this hardware.
> > >
> > > Did you try booting in permissive mode (appending enforcing=0 to the
> > > kernel
> > > cmdline).
> > >
> > > Greetings
> > > fabian
> > >
> > > > Can you help?
> > > >
> > > > ----- Original Message -----
> > > > > From: "Daniel Helgenberger" <daniel.helgenberger(a)m-box.de>
> > > > > To: "Fabian Deutsch" <fdeutsch(a)redhat.com>
> > > > > Cc: "users" <users(a)ovirt.org>, devel(a)ovirt.org
> > > > > Sent: Wednesday, 17 September, 2014 2:50:19 PM
> > > > > Subject: Re: [ovirt-users] oVirt Node 3.5 20140912 for the TestDay
> > > > >
> > > > >
> > > > > On 17.09.2014 13:23, Fabian Deutsch wrote:
> > > > > > Hey Daniel,
> > > > > >
> > > > > > ----- Original Message -----
> > > > > >> Hello Fabian,
> > > > > >>
> > > > > >> I do not know if the feature has made it - can I run a hosted
> > > > > >> engine
> > > > > >> with node?
> > > > > > Yep - That is one of the things under test :)
> > > > > Great! This is a major node feature for me. Sadly I can't make it in
> > > > > time for the 3rd test day, but latest next week I'll give it a shot
> > > > > (and
> > > > > maybe there will be a 4th test day, since I have FC HBAs in my lab
> > > > > machines - Sven complained about that)
> > > > >
> > > > > Cheers.
> > > > > > The iso below includes hosted engine support, that means, Node
> > > > > > contains
> > > > > > a
> > > > > > page which you can use to start the hosted engine setup.
> > > > > >
> > > > > > Please note that the appliance which is intended for hosted-engine
> > > > > > (ovirt-engine-appliance) is currently broken, but hosted-engine
> > > > > > setup
> > > > > > can
> > > > > > be run without using that appliance.
> > > > > > You just need to setup your own OS and oVirt.
> > > > > >
> > > > > > - fabian
> > > > > >
> > > > > >> Thanks!
> > > > > >>
> > > > > >> On 16.09.2014 21:57, Fabian Deutsch wrote:
> > > > > >>> Hey,
> > > > > >>>
> > > > > >>> to be able to give Node a go on the oVirt 3.5 TestDay, we provide
> > > > > >>> a
> > > > > >>> fresh
> > > > > >>> build of Node including the 3.5rc2 package here:
> > > > > >>>
> > > > > >>> http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/ovirt-node-iso-3.5.0.ovi...
> > > > > >>>
> > > > > >>> We did not see any SELinux denials, but if you experience any
> > > > > >>> problems,
> > > > > >>> please try to install Node in permissive mode by appending
> > > > > >>> enfcoring=0
> > > > > >>> during the installation.
> > > > > >>>
> > > > > >>> Any feedback and bug reports are welcome.
> > > > > >>>
> > > > > >>> On behalf of the Node team
> > > > > >>> - fabian
> > > > > >>> _______________________________________________
> > > > > >>> Users mailing list
> > > > > >>> Users(a)ovirt.org
> > > > > >>> http://lists.ovirt.org/mailman/listinfo/users
> > > > > >>>
> > > > > >> --
> > > > > >> Daniel Helgenberger
> > > > > >> m box bewegtbild GmbH
> > > > > >>
> > > > > >> P: +49/30/2408781-22
> > > > > >> F: +49/30/2408781-10
> > > > > >>
> > > > > >> ACKERSTR. 19
> > > > > >> D-10115 BERLIN
> > > > > >>
> > > > > >>
> > > > > >> www.m-box.de www.monkeymen.tv
> > > > > >>
> > > > > >> Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> > > > > >> Handeslregister: Amtsgericht Charlottenburg / HRB 112767
> > > > > >>
> > > > > >> _______________________________________________
> > > > > >> Users mailing list
> > > > > >> Users(a)ovirt.org
> > > > > >> http://lists.ovirt.org/mailman/listinfo/users
> > > > > >>
> > > > >
> > > > > --
> > > > > Daniel Helgenberger
> > > > > m box bewegtbild GmbH
> > > > >
> > > > > P: +49/30/2408781-22
> > > > > F: +49/30/2408781-10
> > > > >
> > > > > ACKERSTR. 19
> > > > > D-10115 BERLIN
> > > > >
> > > > >
> > > > > www.m-box.de www.monkeymen.tv
> > > > >
> > > > > Geschäftsführer: Martin Retschitzegger / Michaela Göllner
> > > > > Handeslregister: Amtsgericht Charlottenburg / HRB 112767
> > > > >
> > > > > _______________________________________________
> > > > > Users mailing list
> > > > > Users(a)ovirt.org
> > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users(a)ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> > _______________________________________________
> > Users mailing list
> > Users(a)ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
10 years
Deleting large snapshots blocks the whole cluster
by Stefan Wendler
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--WvJXSM0TULQwmuWL0sQNHhbN8U0LDFtiQ
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
we have some really large snapshots left from a migration. Since our
store is almost full now we have to delete them now.
Some snapshots are around 1TB already.
The last time we tried to delete a ~500GB snapshot the delete task
blocked the whole diskstore's IO and the whole cluster and all hosts
became unavailable.
Is there a way to delete large snapshots in a "humane" way that will not
block everything?
Cheers,
Stefan
--WvJXSM0TULQwmuWL0sQNHhbN8U0LDFtiQ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlROFw0ACgkQ01vvrYDXSqvzPACfUpQaEhRCNpuUwJfuwkPWV2GR
QYkAnjKzxyXlbn+ZSXWAl1SNlzZnkTvj
=KimT
-----END PGP SIGNATURE-----
--WvJXSM0TULQwmuWL0sQNHhbN8U0LDFtiQ--
10 years
how to attach ISO to VM use SDK
by Leaboy
> ŽËÓÊŒþʹÓà MIME žñÊœ¡£ÓÉÓÚÓÊŒþÔĶÁ³ÌÐò²»ÄÜʶ±ð
ŽËžñÊœ£¬ÒòŽË£¬¿ÉÄÜÎÞ·šÊ¶±ðžÃÓÊŒþµÄ·Ö²¿»ò²¿·ÖÄÚÈÝ¡£
--B_3497283992_2061846
Content-type: text/plain;
charset="GB2312"
Content-transfer-encoding: quoted-printable
Hi,all:
I want to attach ISO to vm use sdk,
I tried use this command
curl -X POST -H "Accept: application/xml" -H "Content-Type: application/xml=
"
-u admin@internal:jhadmin --cacert /tmp/ca.crt -d "<cdrom><file
id=3D'vmdispatch.iso'/></cdrom>"
https://rhel65-1.jhinno.com:443/api/vms/a0b7ad46-0889-4a79-ae0d-d5ea69655f6=
0
/cdroms
, but I can=A1=AFt view the iso in the vm.
--B_3497283992_2061846
Content-type: text/html;
charset="GB2312"
Content-transfer-encoding: quoted-printable
<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; font-size: 14px; font-family: =CB=
=CE=CC=E5, sans-serif;"><p style=3D"margin: 0px 0px 0px 122.4px; text-indent: -122.4=
px; font-size: 12px; font-family: Courier;">Hi,all:</p><p style=3D"margin: 0px=
0px 0px 122.4px; text-indent: -122.4px; font-size: 12px; font-family: Couri=
er;"> I want to attach ISO to vm use sdk,</p><p style=3D"margin: =
0px 0px 0px 122.4px; text-indent: -122.4px; font-size: 12px; font-family: Co=
urier;">I tried use this command</p><p style=3D"margin: 0px 0px 0px 122.4px; t=
ext-indent: -122.4px; font-size: 12px; font-family: Courier;">curl -X POST -=
H "Accept: application/xml" -H "Content-Type: application/xml" -u admin@inte=
rnal:jhadmin --cacert /tmp/ca.crt -d "<cdrom><file id=3D'vmdispatch.i=
so'/></cdrom>" <a href=3D"https://rhel65-1.jhinno.com:443/api/vms/a0b=
7ad46-0889-4a79-ae0d-d5ea69655f60/cdroms">https://rhel65-1.jhinno.com:443/ap=
i/vms/a0b7ad46-0889-4a79-ae0d-d5ea69655f60/cdroms</a></p><p style=3D"margin: 0=
px 0px 0px 122.4px; text-indent: -122.4px; font-size: 12px; font-family: Cou=
rier;">, but I can’t view the iso in the vm.</p></body></html>
--B_3497283992_2061846--
10 years
Problem installing hosted engine on CentOS 7 host
by Justin Clacherty
Hi,
I'm just trying to set up ovirt 3.5 for testing and am unable to get hosted engine installed. The problem appears to be something to do with multipath iscsi setup. I run 'hosted-engine --deploy' and answer all the questions. See the config preview below.
--== CONFIGURATION PREVIEW ==--
Engine FQDN : ovirt.domain.local
Bridge name : ovirtmgmt
SSH daemon port : 22
Firewall manager : iptables
Gateway address : 192.168.42.254
Host name for web application : hosted_engine
iSCSI Target Name : iqn.2014-10.storage.domain.san0:iscsi0
iSCSI Portal port : 3260
Host ID : 1
iSCSI LUN ID : 0
Image size GB : 25
iSCSI Portal IP Address : 10.50.0.200
iSCSI Portal user : myuser
Console type : vnc
Memory size MB : 4096
MAC address : 00:16:3e:23:b4:c2
Boot type : cdrom
Number of CPUs : 2
ISO image (for cdrom boot) : /tmp/CentOS-7.0-1406-x86_64-DVD.iso
CPU Type : model_Nehalem
At the iscsi target question it shows both target names (for each of the multipath options) but you only seem to be able to choose one. After confirming the settings above I get the following.
[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO ] Stage: Transaction setup
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Configuring libvirt
[ INFO ] Configuring VDSM
[ INFO ] Starting vdsmd
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Creating Volume Group
[ ERROR ] Failed to execute stage 'Misc configuration': Failed to initialize physical device: ("['/dev/mapper/36001405fbaac4f30dd647b083c6a0116']",)
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO ] Answer file '/etc/ovirt-hosted-engine/answers.conf' has been updated
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
The /dev/mapper leads me to believe it's a multipath issue. I noticed this Bugzilla entry when looking into the issue so it appears at least one other person is experiencing the same issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1154353
Cheers,
Justin.
10 years
Infrastructure-as-a-Service (IaaS) Devroom at FOSDEM 15: Call for Participation
by Itamar Heim
FOSDEM '15 Infrastructure-as-a-Service devroom
-------------------------
Important Dates and Info!
-------------------------
Submission deadline: 1 December 2014
Acceptance notifications: 15 December 2014
Final schedule announcement: 9 January 2015
Devroom: 31 January 2015
-------------------------
Call for Participation
-------------------------
The open source IaaS devroom will host sessions around open source
Infrastructure-as-a-Service projects such as (but not limited to)
Apache CloudStack, OpenStack, oVirt, OpenNebula, and Ganeti.
This room will focus on collaboration between projects on common
problems and software, such as shared storage, virtualized networking,
interfacing with multiple hypervisors, and scaling across hundreds or
thousands of servers.
Organizers are seeking topics that are interesting to multiple projects,
and hope to encourage developers to share experience solving problems
with their own projects.
-------------------------
Call for Volunteers
-------------------------
We are also looking for volunteers to help run the devroom. We need
assistance watching time for the speakers, and helping with video
for the devroom. Please contact Joe Brockmeier (jzb at redhat.com) for
more information here.
-------------------------
Details: READ CAREFULLY
-------------------------
This year at FOSDEM there will be a one-day devroom to focus on IaaS
projects. If your project is related to IaaS, we would love to see
your submissions.
Please note that we expect more proposals than we can possibly accept,
so it is vitally important that you submit your proposal on or before
the deadline. Late submissions are unlikely to be considered.
All slots are 40 minutes, with 30 minutes planned for presentations, and
10 minutes for Q&A.
All presentations *will* be recorded and made available under Creative
Commons licenses. Please indicate when submitting your talk that your
presentation will be licensed under the CC-By-SA-4.0 or CC-By-4.0
license when submitting the talk and that you agree to have your
presentation recorded. For example:
"If my presentation is accepted for FOSDEM, I hereby agree to license
all recordings, slides, and other associated materials under the
Creative Commons Attribution Share-Alike 4.0 International License.
Sincerely, <NAME>."
Also, in the notes field, please confirm tnat if your talk is accepted
that you *will* be able to attend FOSDEM and deliver your presentation.
We will not consider proposals from prospective speakers unsure whether
they will be able to secure funds for travel and lodging to attend
FOSDEM. (Sadly, we are not able to offer travel funding for prospective
speakers.)
-------------------------
How to Submit
-------------------------
All submissions are made via the Pentabarf event planning site:
https://penta.fosdem.org/submission/FOSDEM15
If you have not used Pentabarf before, you will need to create an account.
After creating the account, select "Create Event" and then be sure to
select "Infrastructure as a service devroom" from the options under
"Track."
-------------------------
Questions
-------------------------
If you have any questions about this devroom, please send your questions
to:
iaas-virt-devroom(a)lists.fosdem.org
We will respond as quickly as possible. Thanks!
10 years
Import FC Storage as iSCSI
by Raul Laansoo
Hello.
I have created an FC Storage Domain and made snapshots of all LUNs on the SAN. Now I want to use those snapshots on another Data Center over iSCSI connection to test recovery. I can import the domain, but the domains Storage Type is FC and I can't attach it to host. Is it possible to change domain type to iSCSI or some other way to import storage domain.
Thank you.
Raul
10 years
Re: [ovirt-users] vmware type functionality
by Sven Kieske
On 24/10/14 15:31, Bill Dossett wrote:
> Hi, Thanks for that. I understand I can see that, but in vmware we sometimes get orphaned VMs that the portal loses for one reason or another and you have to register the with the system again. Or If I move to some new storage and have to copy the VMs to the new storage and then reregister them with a new storage domain - I normally browse the datastore in VMware for the vmx config file and then I can reregister it... But maybe Ovirt when you present a new storage domain just sees the VMs and you don't have to register? I haven't been down this route - well I sort of was, but also if I have VMs on a storage domain and say want to connect it to another data center, can I non-destructively do that? Sorry, kind of a steep learing curve I've been on for the last couple of weeks.
You should keep the users list cc'ed so everybody with the same
questions can find the answers too :)
Well I never have seen "lost" vms in ovirt, but if you want to move
vms between storage domains afaik the only way to currently do so
is to export a vm from a data domain to an export domain and than
import from this export domain to another data domain.
export domains are basically nfs storage systems, so you want to make
sure your firewall and selinux settings are correct.
it's also possible to detach export domains, tar them
and then untar them in another ovirt einvironment and import
this whole export domain (use the "-S" flag if you have "sparse" vms!).
this should also be possible for data domains somehow:
http://www.ovirt.org/Features/ImportStorageDomain
but I didn't try this myself yet, so I don't know if this really
works yet (new features tend to need a point release until they
are matured enough ;) )
HTH
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
10 years