Re: [ovirt-users] Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
by Nir Soffer
On Wed, Mar 9, 2016 at 11:22 PM, Bond, Darryl <dbond(a)nrggos.com.au> wrote:
> Yes, your last example is the one we are shooting for:
> One DC multiple clusters, one being the hosted engine cluster all sharing the same storage, which has to include the hosted engine gluster storage.
> The remainder of the storage will be mainly in cinder/ceph
Please share your experience with cinder/ceph, we like to get feedback about it.
(probably in another thread)
> with for export/ISO domains.
> Our initial attempt was to attach the new non-hosted engine server to a new cluster but we also tried to add it to the same cluster as the hosted engines with the same result. It just seems to remove the complication of the second cluster to try to get it working in the hosted engine cluster.
>
> Darryl
>
> ________________________________________
> From: Nir Soffer <nsoffer(a)redhat.com>
> Sent: Wednesday, 9 March 2016 9:50 PM
> To: Bond, Darryl; users; Simone Tiraboschi; Roy Golan; Maor Lipchuk
> Subject: Re: [ovirt-users] Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
>
> On Wed, Mar 9, 2016 at 11:48 AM, Bond, Darryl <dbond(a)nrggos.com.au> wrote:
>> Nir,
>> The run and protect was the line above, I have included it above the rest.
>> My comments about not creating a extra data centre agree with yours. I want:
>> 1 data centre which includes:
>> 1 set of storage domains
>
> What do you mean by "set of storage domains?"
>
>> 3 hosted engine ha hosts
>> 4 extra hosts
>
> I don't know about hosted engine limitations, but generally a host can be only
> part of one DC and cluster.
>
> So you can have 3 hosts serving as hosted engine nodes, with their own
> storage, used only for hosted engine, and you can have another DC for
> vms, using other storage domains.
>
> Or you can have one DC, with all the storage domains, and several clusters,
> one for hosted engine nodes, and one for compute nodes for other vms.
> In this case all the nodes will have to connect to all storage domains.
>
> Pick the setup that fits your needs.
>
>>
>> I cannot activate an additional (non ha) host as it errors mounting the gluster hosted engine domain as it does not pass the -t glusterfs. I don't really care if they didn't (as it is only there for the hosted-engine ha hosts) but that does not seem possible.
>> ________________________________________
>> From: Nir Soffer <nsoffer(a)redhat.com>
>> Sent: Wednesday, 9 March 2016 6:17 PM
>> To: Bond, Darryl; Ala Hino
>> Cc: users(a)ovirt.org
>> Subject: Re: [ovirt-users] Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
>>
>> On Wed, Mar 9, 2016 at 7:54 AM, Bond, Darryl <dbond(a)nrggos.com.au> wrote:
>>> I have a 3 node 3.6.3 hosted engine cluster (Default) with a number of VMs. The hosted engine is stored on gluster.
>>>
>>> Adding an additional server to the Default cluster that isn't a hosted-engine ha server fails.
>>>
>>> Looking at the vdsm.log, the host attempts to mount the gluster as NFS with the gluster options which fails.
>>>
>>>
>>
>> Please add the logs above the log you posted, with the string "Run and
>> protect, connectStorageServer"
>>
>> This log contains the arguments received from engine, revealing what
>> is going on.
>> jsonrpc.Executor/4::INFO::2016-03-09 16:05:02,002::logUtils::48::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=7, spUUID=u'00000001-0001-0001-0001-000000000229', conList=[{u'id': u'19fb9b3b-79c1-48e8-9300-d0d52ddce7b1', u'connection': u'ovirt36-h1:/hosted-engine', u'iqn': u'', u'user': u'', u'tpgt': u'1', u'password': '********', u'port': u''}], options=None)
>>
>
> There must be vfs_type parameter here, with the value "glusterfs".
>
> Kind of redundant since we have a domType=7, which is glusterfs, but this is the
> current API, and we must keep it for backward compatibility.
>
> The owner of the code sending this value should take a look.
>
> Nir
>
>>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::fileUtils::143::Storage.fileUtils::(createdir) Creating directory: /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine mode: None
>>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::storageServer::357::Storage.StorageServer.MountConnection::(_get_backup_servers_option) Using bricks: ['ovirt36-h1', 'ovirt36-h2', 'ovirt36-h3']
>>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::mount::229::Storage.Misc.excCmd::(_runcmd) /usr/bin/taskset --cpu-list 0-11 /usr/bin/sudo -n /usr/bin/systemd-run --scope --slice=vdsm-glusterfs /usr/bin/mount -o backup-volfile-servers=ovirt36-h2:ovirt36-h3 ovirt36-h1:/hosted-engine /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine (cwd None)
>>
>> -t glusterfs is missing here
>>
>> This line can be generated only by the GlusterfFSConnection, used when
>> connecting
>> to gluster storage domain, but this connection type ads the "glustefs" type.
>>
>>> jsonrpc.Executor/6::ERROR::2016-03-09 15:10:01,042::hsm::2473::Storage.HSM::(connectStorageServer) Could not connect to storageServer
>>> Traceback (most recent call last):
>>> File "/usr/share/vdsm/storage/hsm.py", line 2470, in connectStorageServer
>>> conObj.connect()
>>> File "/usr/share/vdsm/storage/storageServer.py", line 236, in connect
>>> six.reraise(t, v, tb)
>>> File "/usr/share/vdsm/storage/storageServer.py", line 228, in connect
>>> self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)
>>> File "/usr/share/vdsm/storage/mount.py", line 225, in mount
>>> return self._runcmd(cmd, timeout)
>>> File "/usr/share/vdsm/storage/mount.py", line 241, in _runcmd
>>> raise MountError(rc, ";".join((out, err)))
>>> MountError: (32, ';Running scope as unit run-18808.scope.\nmount.nfs: an incorrect mount option was specified\n')
>>>
>>> I noticed the hosted-engine servers perform the same mount but pass the -t glusterfs correctly.
>>>
>>> A bug or am I doing something wrong??
>>>
>>> I do not want to create a new datacentre without the hosted engine storage as I want to use the same storage domains.
>>
>> Same storage domains? Maybe you mean same bricks?
>>
>> You cannot use the same storage domain from different DC. You can
>> create new gluster volume
>> using the same bricks.
>>
>> Nir
>>
>> ________________________________
>>
>> The contents of this electronic message and any attachments are intended only for the addressee and may contain legally privileged, personal, sensitive or confidential information. If you are not the intended addressee, and have received this email, any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. Any legal privilege or confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of delivery to any person other than intended addressee. If you have received this message and are not the intended addressee you should notify the sender by return email and destroy all copies of the message and any attachments. Unless expressly attributed, the views expressed in this email do not necessarily represent the views of the company.
8 years, 8 months
Fwd: Re: Slow after add 2 Nic
by Taste-Of-IT
Hello,
any help for using 2 nics in 2 networks?
thx
-------- Originalnachricht --------
Betreff: Re: [ovirt-users] Slow after add 2 Nic
Datum: 2016-03-08 11:33
Von: Taste-Of-IT <kontakt(a)taste-of-it.de>
An: oVirt Userlist <Users(a)ovirt.org>
Hello,
i simply add the nic and i think CentOS configure these by itself. Ok, i
can change that. Short to my intentions. I want to use nic1 for my lan
and nic2 for the wan route into the internet. in ovirt i want to install
a firewall and configure both nics, nic for lan and nic2 for wan. in the
other vm's i want to install only nic1 as bridge and configure the
firwall as gateway which also service the dhcp. at all it must be safe
that the vms cant break out of this and go around the firewall. so as i
understand i would do this:
- set in centos nic1 as default gatway wich has 192.168.0.1 as gateway
- set in centos nic2 without default route
- add in ovirt a new network / nic
- create the vm for the firwall and assign nic1 and nic2
- in the other vms i would only assign nic1
is that the way to do or what do you think?
thx
Taste
Am 2016-03-08 09:45, schrieb Yaniv Kaul:
> Most likely (we've had something like that in FOSDEM) issue with DNS
> resolving.
> Make sure all IP addresses are correctly resolved.
> Y.
>
> On Tue, Mar 8, 2016 at 12:44 AM, Taste-Of-IT <kontakt(a)taste-of-it.de>
> wrote:
>
>> Hello,
>> i have a question about adding a second Nic. After adding a second
>> one the WebGUI and oVirt is very slow. The situation is as follow.
>> Each nic has its own network and are seperated from each other. nic1
>> - 192.168.0.x for internal and nic2 192.168.1.x through the wan. if
>> i use trace from the client i call the WebGUI, it goes over
>> 192.168.0.x, the right way. but if i trace the engine self on
>> localhost with its hostname it goes over 192.168.1.x, the wrong way
>> and takes longer.
>>
>> i am not sure if its an ovirt problem or from hostsystem centos,
>> but i didnt find any solution.
>>
>> # ip route show
>> default via 192.168.0.3 dev ovirtmgmt
>> default via 192.168.1.1 dev enp0s29u1u2c2 proto static metric
>> 100
>> 169.254.0.0/16 [1] dev ovirtmgmt scope link metric 1006
>> 192.168.0.0/24 [2] dev ovirtmgmt proto kernel scope link src
>> 192.168.0.153
>> 192.168.1.0/24 [3] dev enp0s29u1u2c2 proto kernel scope link
>> src 192.168.1.2 metric 100
>>
>> thx for help
>> Taste
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users [4]
>
>
>
> Links:
> ------
> [1] http://169.254.0.0/16
> [2] http://192.168.0.0/24
> [3] http://192.168.1.0/24
> [4] http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
8 years, 8 months
changing vm's product serial
by Nathanaël Blanchet
This is a multi-part message in MIME format.
--------------000101010705050708030005
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Hi all,
We've been using templates for months before we realized that "ocs=20
report" used Serial Number given into "demidecode -t system" to identify=20
a VM as unique.
This Serial Number is located into=20
/sys/devices/virtual/dmi/id/product_serial, and we'd really want each vm=20
to have its own Serial Number instead of the template's one.
We tried to generate a new id with uuidgen, but it can't be written into=20
the product_serial file.
Is there a simple way to do such a thing?
Thank you.
--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
blanchet(a)abes.fr
--------------000101010705050708030005
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
Hi all,<br>
<br>
We've been using templates for months before we realized that "ocs
report" used Serial Number given into "demidecode -t system" to
identify a VM as unique.<br>
This Serial Number is located into <i class=3D"moz-txt-slash"><span
class=3D"moz-txt-tag">/</span>sys/devices/virtual/dmi/id<span
class=3D"moz-txt-tag">/product_serial,=C2=A0 </span></i><span
class=3D"moz-txt-slash"><span class=3D"moz-txt-tag">and we'd really
want each vm to have its own Serial Number instead of the
template's one.<br>
We tried to generate a new id with uuidgen, but it can't be
written into the product_serial file.<br>
Is there a simple way to do such a thing?<br>
Thank you.<br>
</span></span>
<pre class=3D"moz-signature" cols=3D"72">--=20
Nathana=C3=ABl Blanchet
Supervision r=C3=A9seau
P=C3=B4le Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 =09
T=C3=A9l. 33 (0)4 67 54 84 55
Fax 33 (0)4 67 54 84 14
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:blanchet@abes.fr">bl=
anchet(a)abes.fr</a> </pre>
</body>
</html>
--------------000101010705050708030005--
8 years, 8 months
User cannot add a disk to a VM - permission error
by Will Dennis
Trying to understand the oVirt user permissions system… I have a user who I have granted the “PowerUserRole” role to, with the role description being “User Role, allowed to create VMs, Templates and Disks.”
When I log into the User Portal with this user, I try to create a VM with a disk, but when I click the OK button, I get the message, “Cannot add Virtual Machine Disk. The user doesn’t have permissions to attach Disk Profile to the Disk.
What other permission(s) do I need to grant this user in order to have it be able to create VMs?
8 years, 8 months
Logs Error
by Budur Nagaraju
Getting below logs for some reason, in the engine
[root@pscloud ~]# tail -f /var/log/ovirt-engine/engine.log
, sharedLocks= ]
2016-02-08 14:28:42,325 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsProxyData]
(org.ovirt.thread.pool-8-thread-43) Removing domain
fb15c568-f237-4de6-8954-5bcf0de2043f from the domains in maintenance cache
2016-02-08 14:28:42,533 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-17)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:42,605 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-17)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:47,551 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-3)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:47,561 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-3)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:52,511 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-18)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:52,524 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-18)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:57,597 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-12)
Query execution failed due to insufficient permissions.
2016-02-08 14:28:57,608 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-12)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:02,510 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-17)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:02,520 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-17)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:07,539 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-16)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:07,576 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-16)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:12,538 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-11)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:12,548 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-11)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:13,948 INFO
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
(DefaultQuartzScheduler_Worker-14) [5a3093d4] Setting new tasks map. The
map contains now 3 tasks
2016-02-08 14:29:14,040 INFO
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
(DefaultQuartzScheduler_Worker-36) [171bad22] Polling and updating Async
Tasks: 3 tasks, 2 tasks to poll now
2016-02-08 14:29:14,168 INFO
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
(DefaultQuartzScheduler_Worker-36) [171bad22] Finished polling Tasks, will
poll again in 10 seconds.
2016-02-08 14:29:17,568 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-13)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:17,578 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-13)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:22,506 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:22,530 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-5)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:27,548 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-14)
Query execution failed due to insufficient permissions.
2016-02-08 14:29:27,585 ERROR
[org.ovirt.engine.core.bll.GetVdsByVdsIdQuery] (ajp--127.0.0.1-8702-14)
Query execution failed due to insufficient permissions.
^C
[root@pscloud ~]#
8 years, 8 months
Storage Issues
by Budur Nagaraju
HI
I have configured two storage Lun through NFS one is Master which is having
capacity of 2TB and the other is having 1TB.
Now the issue when ever user deploy a vm automatically vm is getting
deployed in master lun which is running out of HDD space and the vm is not
getting deployed in the other Lun ,is there any setting to do that vm
should get deployed in other LUN ?
Thanks,
Nagaraju
8 years, 8 months
Re: [ovirt-users] Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
by Nir Soffer
On Wed, Mar 9, 2016 at 11:48 AM, Bond, Darryl <dbond(a)nrggos.com.au> wrote:
> Nir,
> The run and protect was the line above, I have included it above the rest.
> My comments about not creating a extra data centre agree with yours. I want:
> 1 data centre which includes:
> 1 set of storage domains
What do you mean by "set of storage domains?"
> 3 hosted engine ha hosts
> 4 extra hosts
I don't know about hosted engine limitations, but generally a host can be only
part of one DC and cluster.
So you can have 3 hosts serving as hosted engine nodes, with their own
storage, used only for hosted engine, and you can have another DC for
vms, using other storage domains.
Or you can have one DC, with all the storage domains, and several clusters,
one for hosted engine nodes, and one for compute nodes for other vms.
In this case all the nodes will have to connect to all storage domains.
Pick the setup that fits your needs.
>
> I cannot activate an additional (non ha) host as it errors mounting the gluster hosted engine domain as it does not pass the -t glusterfs. I don't really care if they didn't (as it is only there for the hosted-engine ha hosts) but that does not seem possible.
> ________________________________________
> From: Nir Soffer <nsoffer(a)redhat.com>
> Sent: Wednesday, 9 March 2016 6:17 PM
> To: Bond, Darryl; Ala Hino
> Cc: users(a)ovirt.org
> Subject: Re: [ovirt-users] Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
>
> On Wed, Mar 9, 2016 at 7:54 AM, Bond, Darryl <dbond(a)nrggos.com.au> wrote:
>> I have a 3 node 3.6.3 hosted engine cluster (Default) with a number of VMs. The hosted engine is stored on gluster.
>>
>> Adding an additional server to the Default cluster that isn't a hosted-engine ha server fails.
>>
>> Looking at the vdsm.log, the host attempts to mount the gluster as NFS with the gluster options which fails.
>>
>>
>
> Please add the logs above the log you posted, with the string "Run and
> protect, connectStorageServer"
>
> This log contains the arguments received from engine, revealing what
> is going on.
> jsonrpc.Executor/4::INFO::2016-03-09 16:05:02,002::logUtils::48::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=7, spUUID=u'00000001-0001-0001-0001-000000000229', conList=[{u'id': u'19fb9b3b-79c1-48e8-9300-d0d52ddce7b1', u'connection': u'ovirt36-h1:/hosted-engine', u'iqn': u'', u'user': u'', u'tpgt': u'1', u'password': '********', u'port': u''}], options=None)
>
There must be vfs_type parameter here, with the value "glusterfs".
Kind of redundant since we have a domType=7, which is glusterfs, but this is the
current API, and we must keep it for backward compatibility.
The owner of the code sending this value should take a look.
Nir
>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::fileUtils::143::Storage.fileUtils::(createdir) Creating directory: /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine mode: None
>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::storageServer::357::Storage.StorageServer.MountConnection::(_get_backup_servers_option) Using bricks: ['ovirt36-h1', 'ovirt36-h2', 'ovirt36-h3']
>> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::mount::229::Storage.Misc.excCmd::(_runcmd) /usr/bin/taskset --cpu-list 0-11 /usr/bin/sudo -n /usr/bin/systemd-run --scope --slice=vdsm-glusterfs /usr/bin/mount -o backup-volfile-servers=ovirt36-h2:ovirt36-h3 ovirt36-h1:/hosted-engine /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine (cwd None)
>
> -t glusterfs is missing here
>
> This line can be generated only by the GlusterfFSConnection, used when
> connecting
> to gluster storage domain, but this connection type ads the "glustefs" type.
>
>> jsonrpc.Executor/6::ERROR::2016-03-09 15:10:01,042::hsm::2473::Storage.HSM::(connectStorageServer) Could not connect to storageServer
>> Traceback (most recent call last):
>> File "/usr/share/vdsm/storage/hsm.py", line 2470, in connectStorageServer
>> conObj.connect()
>> File "/usr/share/vdsm/storage/storageServer.py", line 236, in connect
>> six.reraise(t, v, tb)
>> File "/usr/share/vdsm/storage/storageServer.py", line 228, in connect
>> self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)
>> File "/usr/share/vdsm/storage/mount.py", line 225, in mount
>> return self._runcmd(cmd, timeout)
>> File "/usr/share/vdsm/storage/mount.py", line 241, in _runcmd
>> raise MountError(rc, ";".join((out, err)))
>> MountError: (32, ';Running scope as unit run-18808.scope.\nmount.nfs: an incorrect mount option was specified\n')
>>
>> I noticed the hosted-engine servers perform the same mount but pass the -t glusterfs correctly.
>>
>> A bug or am I doing something wrong??
>>
>> I do not want to create a new datacentre without the hosted engine storage as I want to use the same storage domains.
>
> Same storage domains? Maybe you mean same bricks?
>
> You cannot use the same storage domain from different DC. You can
> create new gluster volume
> using the same bricks.
>
> Nir
>
> ________________________________
>
> The contents of this electronic message and any attachments are intended only for the addressee and may contain legally privileged, personal, sensitive or confidential information. If you are not the intended addressee, and have received this email, any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. Any legal privilege or confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of delivery to any person other than intended addressee. If you have received this message and are not the intended addressee you should notify the sender by return email and destroy all copies of the message and any attachments. Unless expressly attributed, the views expressed in this email do not necessarily represent the views of the company.
8 years, 8 months
ovirt 3.6.3.4 and VLAN are not friends
by Fabrice Bacchella
I'm trying to bring some VLAN to ovirts hosts.
I have one native vlan and two tagged vlan.
When the tagged vlan are not configured in ovirt, I can add hosts easily. As soon as I add the two tagged one, every things run amok. New hosts network are broken, network configuration is untouched and the host is marked as non operationnal.
In engine.log, I get:
2016-03-09 10:25:34,376 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HostSetupNetworksVDSCommand] (default task-20) [da910e3] FINISH, HostSetupNetworksVDSCommand, log id: 7c267202
2016-03-09 10:25:34,383 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to nb0104.prod.exalead.com/10.83.17.27
2016-03-09 10:25:34,404 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to nb0104.prod.exalead.com/10.83.17.27
2016-03-09 10:25:36,401 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-20) [da910e3] Error: org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcRunTimeException: Connection issues during send request
2016-03-09 10:25:36,401 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-20) [da910e3] Exception: java.util.concurrent.ExecutionException: org.ovirt.engine.core.vdsbroker.xmlrpc.XmlRpcRunTimeException: Connection issues during send request
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_95]
at java.util.concurrent.FutureTask.get(FutureTask.java:202) [rt.jar:1.7.0_95]
at org.ovirt.engine.core.vdsbroker.vdsbroker.FutureVDSCommand.get(FutureVDSCommand.java:72) [vdsbroker.jar:]
and a lot of them like that. I even get a :
2016-03-09 10:26:56,830 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to nb0104.prod.exalead.com/10.83.17.27
2016-03-09 10:26:56,830 ERROR [org.ovirt.vdsm.jsonrpc.client.reactors.Reactor] (SSL Stomp Reactor) [] Unable to process messages
2016-03-09 10:26:56,848 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-20) [da910e3] Error: java.lang.NullPointerException
2016-03-09 10:26:56,848 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-20) [da910e3] Exception: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_95]
at java.util.concurrent.FutureTask.get(FutureTask.java:202) [rt.jar:1.7.0_95]
at org.ovirt.engine.core.vdsbroker.vdsbroker.FutureVDSCommand.get(FutureVDSCommand.java:72) [vdsbroker.jar:]
at org.ovirt.engine.core.bll.network.host.HostSetupNetworkPoller.poll(HostSetupNetworkPoller.java:30) [bll.jar:]
at org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.invokeSetupNetworksCommand(HostSetupNetworksCommand.java:423) [bll.jar:]
at org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand.executeCommand(HostSetupNetworksCommand.java:256) [bll.jar:]
....
Caused by: java.lang.NullPointerException
at org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient.connect(ReactorClient.java:121) [vdsm-jsonrpc-java-client.jar:]
at org.ovirt.vdsm.jsonrpc.client.JsonRpcClient.getClient(JsonRpcClient.java:114) [vdsm-jsonrpc-java-client.jar:]
at org.ovirt.vdsm.jsonrpc.client.JsonRpcClient.call(JsonRpcClient.java:73) [vdsm-jsonrpc-java-client.jar:]
at org.ovirt.engine.core.vdsbroker.jsonrpc.FutureMap.<init>(FutureMap.java:87) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.jsonrpc.JsonRpcVdsServer$3.call(JsonRpcVdsServer.java:1016) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.jsonrpc.JsonRpcVdsServer$3.call(JsonRpcVdsServer.java:1012) [vdsbroker.jar:]
...
2016-03-09 10:26:56,860 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (default task-20) [da910e3] Command 'PollVDSCommand(HostName = nb0104, VdsIdVDSCommandParametersBase:{runAsync='true', hostId='8aed4c69-3a1d-4f00-95c4-79bcd3596ef9'})' execution failed: java.util.concurrent.ExecutionException: java.lang.NullPointerException
And latter:
2016-03-09 10:37:28,635 WARN [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-22) [47d52cbc] Correlation ID: 47d52cbc, Job ID: e1f27868-08c8-488a-b70c-7c9d8f06c08b, Call Stack: null, Custom Event ID: -1, Message: Host nb0104 does not comply with the cluster Default networks, the following networks are missing on host: 'DMZ,Extranet,ovirtmgmt'
I try to finish the network configuration manuall, , but some time it works, sometime it fails. When it fails I get a timeout, and operations are not possible any more on the host.
I'm getting a:
Cannot setup Networks. Another Setup Networks process in progress on the host. Please try later after refreshing the host network capabilities.
In engine.log, I get:
2016-03-09 10:38:13,470 WARN [org.ovirt.engine.core.bll.network.host.HostSetupNetworksCommand] (default task-15) [64ef0a3a] CanDoAction of action 'HostSetupNetworks' failed for user FA4@apachesso. Reasons: VAR__ACTION__SETUP,VAR__TYPE__NETWORKS,ACTION_TYPE_FAILED_SETUP_NETWORKS_IN_PROGRESS
The lock stay forever until i restart the ovirt-engine.
In the host, in mom.log, I got
2016-03-09 10:26:57,960 - mom.vdsmInterface - ERROR - Cannot connect to VDSM! [Errno 111] Connection refused
2016-03-09 10:26:57,960 - mom.GuestManager - INFO - Guest Manager starting: multi-thread
2016-03-09 10:26:57,963 - mom.vdsmInterface - ERROR - Cannot connect to VDSM! [Errno 111] Connection refused
I'm running ovirt 3.6.3.4 on Centos 7.2, I reinstalled everything, even the OS, with a empty database.
8 years, 8 months
Adding servers after hosted ending servers fail due to incorrect mount options in vdsm
by Bond, Darryl
I have a 3 node 3.6.3 hosted engine cluster (Default) with a number of VMs. The hosted engine is stored on gluster.
Adding an additional server to the Default cluster that isn't a hosted-engine ha server fails.
Looking at the vdsm.log, the host attempts to mount the gluster as NFS with the gluster options which fails.
jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::fileUtils::143::Storage.fileUtils::(createdir) Creating directory: /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine mode: None
jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::storageServer::357::Storage.StorageServer.MountConnection::(_get_backup_servers_option) Using bricks: ['ovirt36-h1', 'ovirt36-h2', 'ovirt36-h3']
jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::mount::229::Storage.Misc.excCmd::(_runcmd) /usr/bin/taskset --cpu-list 0-11 /usr/bin/sudo -n /usr/bin/systemd-run --scope --slice=vdsm-glusterfs /usr/bin/mount -o backup-volfile-servers=ovirt36-h2:ovirt36-h3 ovirt36-h1:/hosted-engine /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine (cwd None)
jsonrpc.Executor/6::ERROR::2016-03-09 15:10:01,042::hsm::2473::Storage.HSM::(connectStorageServer) Could not connect to storageServer
Traceback (most recent call last):
File "/usr/share/vdsm/storage/hsm.py", line 2470, in connectStorageServer
conObj.connect()
File "/usr/share/vdsm/storage/storageServer.py", line 236, in connect
six.reraise(t, v, tb)
File "/usr/share/vdsm/storage/storageServer.py", line 228, in connect
self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)
File "/usr/share/vdsm/storage/mount.py", line 225, in mount
return self._runcmd(cmd, timeout)
File "/usr/share/vdsm/storage/mount.py", line 241, in _runcmd
raise MountError(rc, ";".join((out, err)))
MountError: (32, ';Running scope as unit run-18808.scope.\nmount.nfs: an incorrect mount option was specified\n')
I noticed the hosted-engine servers perform the same mount but pass the -t glusterfs correctly.
A bug or am I doing something wrong??
I do not want to create a new datacentre without the hosted engine storage as I want to use the same storage domains.
Regards
Darryl
________________________________
The contents of this electronic message and any attachments are intended only for the addressee and may contain legally privileged, personal, sensitive or confidential information. If you are not the intended addressee, and have received this email, any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. Any legal privilege or confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of delivery to any person other than intended addressee. If you have received this message and are not the intended addressee you should notify the sender by return email and destroy all copies of the message and any attachments. Unless expressly attributed, the views expressed in this email do not necessarily represent the views of the company.
8 years, 8 months
regenerate libvirt-spice keys after libvirtd restart?
by Bill James
I needed to bounce libvirtd after changing a config in libvirt/qemu.conf
so import-to-ovirt.pl,
but now my VMs with Spice console complain:
libvirtError: internal error: process exited while connecting to
monitor: ((null):2791): Spice-Warning **: reds.c:3311:reds_init_ssl:
Could not use private key file
What is the proper way to sync up the key after restarting libvirtd?
I even tried rebooting host and restart ovirt-engine and ovirt-engine
setup, didn't help.
Work around is just use VNC consoles. But I'd like to get spice working
again.
centos 7.2
libvirt-client-1.2.17-13.el7_2.2.x86_64
ovirt-engine-3.6.2.6-1.el7.centos.noarch
Cloud Services for Business www.j2.com
j2 | eFax | eVoice | FuseMail | Campaigner | KeepItSafe | Onebox
This email, its contents and attachments contain information from j2 Global, Inc. and/or its affiliates which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is prohibited. If you have received this email in error please notify the sender by reply e-mail and delete the original message and any copies. (c) 2015 j2 Global, Inc. All rights reserved. eFax, eVoice, Campaigner, FuseMail, KeepItSafe, and Onebox are registered trademarks of j2 Global, Inc. and its affiliates.
8 years, 8 months