This is a multi-part message in MIME format.
--------------020002040508080703030705
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
I pathced the code for "emergency"....
I can't find how change confguration.
But I think that's a bug:
- All work in ovirt 3.5, after upgrade stop working
- The log show a python exception.
I think a thing:
If there are chages on configuration requirements I have to be warned
during upgrade, or I have to find a specific error in log.
...remove something that non exist from a list, and leave a cryptic
python exception as error log, isn't the better solution...
Il 06/11/2015 8.12, Nir Soffer ha scritto:
בתאריך 5 בנוב׳ 2015 8:18 אחה״צ, "Stefano Danzi" <s.danzi(a)hawai.it
<mailto:s.danzi@hawai.it>> כתב:
>
> To temporary solve the problem I patched storageserver.py as
suggested on link above.
I would not patch the code but change the configuration.
> I can't find a related issue on bugzilla.
Would you file bug about this?
>
>
> Il 05/11/2015 11.43, Stefano Danzi ha scritto:
>>
>> My error is related to this message:
>>
>>
http://lists.ovirt.org/pipermail/users/2015-August/034316.html
>>
>> Il 05/11/2015 0.28, Stefano Danzi ha scritto:
>>>
>>> Hello,
>>> I have an Ovirt installation with only 1 host and self-hosted engine.
>>> My Master Data storage domain is GlusterFS type.
>>>
>>> After upgrading to Ovirt 3.6 data storage domain and default
dataceter are down.
>>> The error in vdsm.log is:
>>>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,173::task::595::Storage.TaskManager.Task::(_updateState)
Task=`86e72580-fa76-4347-b919-a73970d12682`::moving from state init ->
state preparin
>>> g
>>> Thread-6585::INFO::2015-11-04
23:55:00,173::logUtils::48::dispatcher::(wrapper) Run and protect:
connectStorageServer(domType=7,
spUUID=u'00000000-0000-0000-0000-000000000000', conLi
>>> st=[{u'id': u'dc0eaef1-8494-4e35-abea-80a4e7f37499',
u'connection': u'ovirtbk-mount.hawai.lan:data', u'iqn':
u'', u'user':
u'', u'tpgt': u'1', u'vfs_type': u'glusterfs',
u'password':
>>> '********', u'port': u''}], options=None)
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,235::fileUtils::143::Storage.fileUtils::(createdir) Creating
directory:
/rhev/data-center/mnt/glusterSD/ovirtbk-mount.hawai.lan:data mode: Non
>>> e
>>> Thread-6585::WARNING::2015-11-04
23:55:00,235::fileUtils::152::Storage.fileUtils::(createdir) Dir
/rhev/data-center/mnt/glusterSD/ovirtbk-mount.hawai.lan:data already
exists
>>> Thread-6585::ERROR::2015-11-04
23:55:00,235::hsm::2465::Storage.HSM::(connectStorageServer) Could not
connect to storageServer
>>> Traceback (most recent call last):
>>> File "/usr/share/vdsm/storage/hsm.py", line 2462, in
connectStorageServer
>>> conObj.connect()
>>> File "/usr/share/vdsm/storage/storageServer.py", line 224, in
connect
>>> self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)
>>> File "/usr/share/vdsm/storage/storageServer.py", line 323, in
options
>>> backup_servers_option = self._get_backup_servers_option()
>>> File "/usr/share/vdsm/storage/storageServer.py", line 340, in
_get_backup_servers_option
>>> servers.remove(self._volfileserver)
>>> ValueError: list.remove(x): x not in list
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,235::hsm::2489::Storage.HSM::(connectStorageServer) knownSDs:
{46f55a31-f35f-465c-b3e2-df45c05e06a7: storage.nfsSD.findDomain}
>>> Thread-6585::INFO::2015-11-04
23:55:00,236::logUtils::51::dispatcher::(wrapper) Run and protect:
connectStorageServer, Return response: {'statuslist': [{'status': 100,
'id': u'dc0eaef1-8494-4e35-abea-80a4e7f37499'}]}
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,236::task::1191::Storage.TaskManager.Task::(prepare)
Task=`86e72580-fa76-4347-b919-a73970d12682`::finished: {'statuslist':
[{'status': 100, 'id':
u'dc0eaef1-8494-4e35-abea-80a4e7f37499'}]}
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,236::task::595::Storage.TaskManager.Task::(_updateState)
Task=`86e72580-fa76-4347-b919-a73970d12682`::moving from state
preparing -> state finished
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org <mailto:Users@ovirt.org>
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org <mailto:Users@ovirt.org>
>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
--------------020002040508080703030705
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I pathced the code for "emergency".... <br>
I can't find how change confguration.<br>
<br>
But I think that's a bug: <br>
<br>
- All work in ovirt 3.5, after upgrade stop working<br>
- The log show a python exception.<br>
<br>
I think a thing:<br>
<br>
If there are chages on configuration requirements I have to be
warned during upgrade, or I have to find a specific error in log.<br>
...remove something that non exist from a list, and leave a cryptic
python exception as error log, isn't the better solution...<br>
<br>
<div class="moz-cite-prefix">Il 06/11/2015 8.12, Nir Soffer ha
scritto:<br>
</div>
<blockquote
cite="mid:CAMRbyyt0ui6FOH8TbeDcONNJ0TLwuaWPDN79NY22064eK7jQcg@mail.gmail.com"
type="cite">
<p dir="ltr"><br>
בתאריך 5 בנוב׳ 2015 8:18 אחה״צ, "Stefano Danzi" <<a
moz-do-not-send="true"
href="mailto:s.danzi@hawai.it"><a
class="moz-txt-link-abbreviated"
href="mailto:s.danzi@hawai.it">s.danzi@hawai.it</a></a>>
כתב:<br>
><br>
> To temporary solve the problem I patched storageserver.py
as suggested on link above.</p>
<p dir="ltr">I would not patch the code but change the
configuration.</p>
<p dir="ltr">> I can't find a related issue on
bugzilla.</p>
<p dir="ltr">Would you file bug about this?</p>
<p dir="ltr">><br>
><br>
> Il 05/11/2015 11.43, Stefano Danzi ha scritto:<br>
>><br>
>> My error is related to this message:<br>
>><br>
>> <a moz-do-not-send="true"
href="http://lists.ovirt.org/pipermail/users/2015-August/034316.html...
>><br>
>> Il 05/11/2015 0.28, Stefano Danzi ha scritto:<br>
>>><br>
>>> Hello,<br>
>>> I have an Ovirt installation with only 1 host and
self-hosted engine.<br>
>>> My Master Data storage domain is GlusterFS
type.<br>
>>><br>
>>> After upgrading to Ovirt 3.6 data storage domain
and default dataceter are down.<br>
>>> The error in vdsm.log is:<br>
>>><br>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,173::task::595::Storage.TaskManager.Task::(_updateState)
Task=`86e72580-fa76-4347-b919-a73970d12682`::moving from state
init -> state preparin<br>
>>> g<br>
>>> Thread-6585::INFO::2015-11-04
23:55:00,173::logUtils::48::dispatcher::(wrapper) Run and
protect: connectStorageServer(domType=7,
spUUID=u'00000000-0000-0000-0000-000000000000', conLi<br>
>>> st=[{u'id':
u'dc0eaef1-8494-4e35-abea-80a4e7f37499', u'connection':
u'ovirtbk-mount.hawai.lan:data', u'iqn': u'',
u'user': u'',
u'tpgt': u'1', u'vfs_type': u'glusterfs',
u'password':<br>
>>> '********', u'port': u''}],
options=None)<br>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,235::fileUtils::143::Storage.fileUtils::(createdir)
Creating directory:
/rhev/data-center/mnt/glusterSD/ovirtbk-mount.hawai.lan:data
mode: Non<br>
>>> e<br>
>>> Thread-6585::WARNING::2015-11-04
23:55:00,235::fileUtils::152::Storage.fileUtils::(createdir) Dir
/rhev/data-center/mnt/glusterSD/ovirtbk-mount.hawai.lan:data
already exists<br>
>>> Thread-6585::ERROR::2015-11-04
23:55:00,235::hsm::2465::Storage.HSM::(connectStorageServer)
Could not connect to storageServer<br>
>>> Traceback (most recent call last):<br>
>>> File "/usr/share/vdsm/storage/hsm.py", line
2462,
in connectStorageServer<br>
>>> conObj.connect()<br>
>>> File
"/usr/share/vdsm/storage/storageServer.py",
line 224, in connect<br>
>>> self._mount.mount(self.options, self._vfsType,
cgroup=self.CGROUP)<br>
>>> File
"/usr/share/vdsm/storage/storageServer.py",
line 323, in options<br>
>>> backup_servers_option =
self._get_backup_servers_option()<br>
>>> File
"/usr/share/vdsm/storage/storageServer.py",
line 340, in _get_backup_servers_option<br>
>>> servers.remove(self._volfileserver)<br>
>>> ValueError: list.remove(x): x not in list<br>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,235::hsm::2489::Storage.HSM::(connectStorageServer)
knownSDs: {46f55a31-f35f-465c-b3e2-df45c05e06a7:
storage.nfsSD.findDomain}<br>
>>> Thread-6585::INFO::2015-11-04
23:55:00,236::logUtils::51::dispatcher::(wrapper) Run and
protect: connectStorageServer, Return response: {'statuslist':
[{'status': 100, 'id':
u'dc0eaef1-8494-4e35-abea-80a4e7f37499'}]}<br>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,236::task::1191::Storage.TaskManager.Task::(prepare)
Task=`86e72580-fa76-4347-b919-a73970d12682`::finished:
{'statuslist': [{'status': 100, 'id':
u'dc0eaef1-8494-4e35-abea-80a4e7f37499'}]}<br>
>>> Thread-6585::DEBUG::2015-11-04
23:55:00,236::task::595::Storage.TaskManager.Task::(_updateState)
Task=`86e72580-fa76-4347-b919-a73970d12682`::moving from state
preparing -> state finished<br>
>>>
_______________________________________________<br>
>>> Users mailing list<br>
>>> <a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>>> <a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
>>><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>> <a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
>><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</p>
</blockquote>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>
--------------020002040508080703030705--