Re: [Users] Resizing the iscsi data domain
- Original Message - > Hi Ayal, > > I've posted in an already created bug that was pointed to me on this > matter. > > https://bugzilla.redhat.com/show_bug.cgi?id=961532 > > If you preffer I can open a new one, but I think there's no need. Well, that is an RFE to coordinate the entire flow so it's a bigger scope. What we can do relatively quickly is just update the new size in engine. But we can use the same bug to track progress. Thanks. > Regards, > > > On 21/11/13 10:57, Ayal Baron wrote: > > > > - Original Message - > >> Hi again, > >> > >> I've tried again to set the SD to mantenance and back and it didn't make > >> the trick. > >> I've posted in the bug you refered. > >> Thanks to you all. > >> Regards, > > Currently we do not update the size of the LUN in the db. > > Please file a bug on this as in 3.3 we already retrieve the lun info on > > activation of domain so it's a simple matter of updating the db when the > > data changes. > > > >> On 19/11/13 16:43, Pavel Zhukov wrote: > >>> On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: > Hi Pavel, > >>> Hi Juan, > Re electing the spm didn't update the size. I may try adding a secondary > lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits > of forcing spm election among others. > >>> Did you try to put SD to the maintenance and activate it again? > ¿Why is it so complicated to resize the storage if the change is so easy > in the hosts? > >>> It's by historical reasons :) > >>> RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 > Regards, > > Thanks for the reply. > > On 18/11/13 19:58, Pavel Zhukov wrote: > > On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: > >> Hi, > >> > >> I've resized the lun I'm using for data domain. I've changed the lun, > >> rescaned the target with iscsiadm and reloaded multipath to get the > >> new > >> size. The thins is that though all the hosts sees the new size, ovirt > >> doesn't. Do I need to run something to update the engine db? > >> I'm running ovirt 3.2 > >> Regards, > >> ___ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > > Hi Juan, > > > > Resizing of the LUN is not supported yet. > > You can extend SD with additional LUN instead (Map new LUN -> SD -> > > Edit > > -> > > check new LUN). > > > > You can try to re-elect SPM for now. > >> ___ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > >> > > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
- Original Message - > Hi again, > > I've tried again to set the SD to mantenance and back and it didn't make > the trick. > I've posted in the bug you refered. > Thanks to you all. > Regards, Currently we do not update the size of the LUN in the db. Please file a bug on this as in 3.3 we already retrieve the lun info on activation of domain so it's a simple matter of updating the db when the data changes. > > On 19/11/13 16:43, Pavel Zhukov wrote: > > On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: > >> Hi Pavel, > > Hi Juan, > >> Re electing the spm didn't update the size. I may try adding a secondary > >> lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits > >> of forcing spm election among others. > > Did you try to put SD to the maintenance and activate it again? > >> ¿Why is it so complicated to resize the storage if the change is so easy > >> in the hosts? > > It's by historical reasons :) > > RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 > >> Regards, > >> > >> Thanks for the reply. > >> > >> On 18/11/13 19:58, Pavel Zhukov wrote: > >>> On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: > Hi, > > I've resized the lun I'm using for data domain. I've changed the lun, > rescaned the target with iscsiadm and reloaded multipath to get the new > size. The thins is that though all the hosts sees the new size, ovirt > doesn't. Do I need to run something to update the engine db? > I'm running ovirt 3.2 > Regards, > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > >>> Hi Juan, > >>> > >>> Resizing of the LUN is not supported yet. > >>> You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit > >>> -> > >>> check new LUN). > >>> > >>> You can try to re-elect SPM for now. > > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi Ayal, I've posted in an already created bug that was pointed to me on this matter. https://bugzilla.redhat.com/show_bug.cgi?id=961532 If you preffer I can open a new one, but I think there's no need. Regards, On 21/11/13 10:57, Ayal Baron wrote: > > - Original Message - >> Hi again, >> >> I've tried again to set the SD to mantenance and back and it didn't make >> the trick. >> I've posted in the bug you refered. >> Thanks to you all. >> Regards, > Currently we do not update the size of the LUN in the db. > Please file a bug on this as in 3.3 we already retrieve the lun info on > activation of domain so it's a simple matter of updating the db when the data > changes. > >> On 19/11/13 16:43, Pavel Zhukov wrote: >>> On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: Hi Pavel, >>> Hi Juan, Re electing the spm didn't update the size. I may try adding a secondary lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits of forcing spm election among others. >>> Did you try to put SD to the maintenance and activate it again? ¿Why is it so complicated to resize the storage if the change is so easy in the hosts? >>> It's by historical reasons :) >>> RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 Regards, Thanks for the reply. On 18/11/13 19:58, Pavel Zhukov wrote: > On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: >> Hi, >> >> I've resized the lun I'm using for data domain. I've changed the lun, >> rescaned the target with iscsiadm and reloaded multipath to get the new >> size. The thins is that though all the hosts sees the new size, ovirt >> doesn't. Do I need to run something to update the engine db? >> I'm running ovirt 3.2 >> Regards, >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > Hi Juan, > > Resizing of the LUN is not supported yet. > You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit > -> > check new LUN). > > You can try to re-elect SPM for now. >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi again, I've tried again to set the SD to mantenance and back and it didn't make the trick. I've posted in the bug you refered. Thanks to you all. Regards, On 19/11/13 16:43, Pavel Zhukov wrote: > On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: >> Hi Pavel, > Hi Juan, >> Re electing the spm didn't update the size. I may try adding a secondary >> lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits >> of forcing spm election among others. > Did you try to put SD to the maintenance and activate it again? >> ¿Why is it so complicated to resize the storage if the change is so easy >> in the hosts? > It's by historical reasons :) > RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 >> Regards, >> >> Thanks for the reply. >> >> On 18/11/13 19:58, Pavel Zhukov wrote: >>> On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: Hi, I've resized the lun I'm using for data domain. I've changed the lun, rescaned the target with iscsiadm and reloaded multipath to get the new size. The thins is that though all the hosts sees the new size, ovirt doesn't. Do I need to run something to update the engine db? I'm running ovirt 3.2 Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users >>> Hi Juan, >>> >>> Resizing of the LUN is not supported yet. >>> You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit >>> -> >>> check new LUN). >>> >>> You can try to re-elect SPM for now. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi, I did try to put the sd to maintenance and back to active as Eduardo pointed before but it didn't work. That was with engine 3.2, today I'll try again with engine 3.3 to see if it behaves the same way. I'll let you know the results. Regards, On 19/11/13 16:43, Pavel Zhukov wrote: > On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: >> Hi Pavel, > Hi Juan, >> Re electing the spm didn't update the size. I may try adding a secondary >> lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits >> of forcing spm election among others. > Did you try to put SD to the maintenance and activate it again? >> ¿Why is it so complicated to resize the storage if the change is so easy >> in the hosts? > It's by historical reasons :) > RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 >> Regards, >> >> Thanks for the reply. >> >> On 18/11/13 19:58, Pavel Zhukov wrote: >>> On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: Hi, I've resized the lun I'm using for data domain. I've changed the lun, rescaned the target with iscsiadm and reloaded multipath to get the new size. The thins is that though all the hosts sees the new size, ovirt doesn't. Do I need to run something to update the engine db? I'm running ovirt 3.2 Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users >>> Hi Juan, >>> >>> Resizing of the LUN is not supported yet. >>> You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit >>> -> >>> check new LUN). >>> >>> You can try to re-elect SPM for now. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
On Tuesday, November 19, 2013 09:41:52 AM Juan Pablo Lorier wrote: > Hi Pavel, Hi Juan, > > Re electing the spm didn't update the size. I may try adding a secondary > lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits > of forcing spm election among others. Did you try to put SD to the maintenance and activate it again? > ¿Why is it so complicated to resize the storage if the change is so easy > in the hosts? It's by historical reasons :) RFE: https://bugzilla.redhat.com/show_bug.cgi?id=961532 > Regards, > > Thanks for the reply. > > On 18/11/13 19:58, Pavel Zhukov wrote: > > On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: > >> Hi, > >> > >> I've resized the lun I'm using for data domain. I've changed the lun, > >> rescaned the target with iscsiadm and reloaded multipath to get the new > >> size. The thins is that though all the hosts sees the new size, ovirt > >> doesn't. Do I need to run something to update the engine db? > >> I'm running ovirt 3.2 > >> Regards, > >> ___ > >> Users mailing list > >> Users@ovirt.org > >> http://lists.ovirt.org/mailman/listinfo/users > > > > Hi Juan, > > > > Resizing of the LUN is not supported yet. > > You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit > > -> > > check new LUN). > > > > You can try to re-elect SPM for now. -- Pavel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi Pavel, Re electing the spm didn't update the size. I may try adding a secondary lun, but first, I'll schedule and upgrade to 3.3.1 to get the benefits of forcing spm election among others. ¿Why is it so complicated to resize the storage if the change is so easy in the hosts? Regards, Thanks for the reply. On 18/11/13 19:58, Pavel Zhukov wrote: > On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: >> Hi, >> >> I've resized the lun I'm using for data domain. I've changed the lun, >> rescaned the target with iscsiadm and reloaded multipath to get the new >> size. The thins is that though all the hosts sees the new size, ovirt >> doesn't. Do I need to run something to update the engine db? >> I'm running ovirt 3.2 >> Regards, >> ___ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > Hi Juan, > > Resizing of the LUN is not supported yet. > You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit -> > check new LUN). > > You can try to re-elect SPM for now. > ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi Eduardo, I've tried your way without success. Plus, I'm now receiving this error in one of the hosts: Message from syslogd@virt2 at Nov 19 09:30:16 ... �<11>vdsm Storage.DomainMonitorThread ERROR Error while collecting domain 0d22a7d7-a7e0-4c17-b132-5764b7940a70 monitoring information#012Traceback (most recent call last):#012 File "/usr/share/vdsm/storage/domainMonitor.py", line 186, in _monitorDomain#012 self.domain.selftest()#012 File "/usr/share/vdsm/storage/sdc.py", line 49, in __getattr__#012 return getattr(self.getRealDomain(), attrName)#012 File "/usr/share/vdsm/storage/sdc.py", line 52, in getRealDomain#012 return self._cache._realProduce(self._sdUUID)#012 File "/usr/share/vdsm/storage/sdc.py", line 119, in _realProduce#012 self.refreshStorage()#012 File "/usr/share/vdsm/storage/misc.py", line 1073, in helper#012 return sm(*args, **kwargs)#012 File "/usr/share/vdsm/storage/misc.py", line 1058, in __call__#012 self.__lastResult = self.__func(*args, **kwargs)#012 File "/usr/share/vdsm/storage/sdc.py", line 82, in refreshStorage#012 multipath.rescan()#012 File "/usr/share/vdsm/storage/multipath.py", line 106, in rescan#012 supervdsm.getProxy().forceIScsiScan()#012 File "/usr/share/vdsm/supervdsm.py", line 81, in __call__#012 return callMethod()#012 File "/usr/share/vdsm/supervdsm.py", line 72, in #012 **kwargs)#012 File "", line 2, in forceIScsiScan#012 File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in _callmethod#012 raise convert_to_error(kind, result)#012RemoteError: #012---#012Traceback (most recent call last):#012 File "/usr/lib64/python2.6/multiprocessing/managers.py", line 216, in serve_client#012 obj, exposed, gettypeid = id_to_obj[ident]#012KeyError: '285c110'#012--- I had to set back the master to get rid of it. Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
Hi! I've done this with success. I put my domain in maintenance, used pvresize and after activated again. Try this. On 11/18/2013 07:58 PM, Pavel Zhukov wrote: On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: Hi, I've resized the lun I'm using for data domain. I've changed the lun, rescaned the target with iscsiadm and reloaded multipath to get the new size. The thins is that though all the hosts sees the new size, ovirt doesn't. Do I need to run something to update the engine db? I'm running ovirt 3.2 Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users Hi Juan, Resizing of the LUN is not supported yet. You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit -> check new LUN). You can try to re-elect SPM for now. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Resizing the iscsi data domain
On Monday, November 18, 2013 05:10:19 PM Juan Pablo Lorier wrote: > Hi, > > I've resized the lun I'm using for data domain. I've changed the lun, > rescaned the target with iscsiadm and reloaded multipath to get the new > size. The thins is that though all the hosts sees the new size, ovirt > doesn't. Do I need to run something to update the engine db? > I'm running ovirt 3.2 > Regards, > ___ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users Hi Juan, Resizing of the LUN is not supported yet. You can extend SD with additional LUN instead (Map new LUN -> SD -> Edit -> check new LUN). You can try to re-elect SPM for now. -- Pavel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Resizing the iscsi data domain
Hi, I've resized the lun I'm using for data domain. I've changed the lun, rescaned the target with iscsiadm and reloaded multipath to get the new size. The thins is that though all the hosts sees the new size, ovirt doesn't. Do I need to run something to update the engine db? I'm running ovirt 3.2 Regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users