How to change ISCSI volumes IP
Hi,
I have an issue since I had to change the public IP of my server. Config file and mysql db have been updated with the new IP. ISCSI targets have been deleted (LVM volumes are still there) and remap on the new IP address.
I am using Essex ubuntu package with tgtadm as iscsi helper.
When I launch nova-compute service, he is still looking for iscsi volumes on the old IP address. In the nova-compute.log I can see:
[...]
2012-08-12 14:00:19 CRITICAL nova [-] Unable to allow access for disk path /dev/disk/
2012-08-12 14:00:19 TRACE nova Traceback (most recent call last):
2012-08-12 14:00:19 TRACE nova File "/usr/bin/
2012-08-12 14:00:19 TRACE nova service.wait()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova _launcher.wait()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova service.wait()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return self._exit_
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return hubs.get_
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return self.greenlet.
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova result = function(*args, **kwargs)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova server.start()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova self.manager.
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova self.reboot_
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return f(*args, **kw)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova function(self, context, instance_uuid, *args, **kwargs)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova sys.exc_info())
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova self.gen.next()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return function(self, context, instance_uuid, *args, **kwargs)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova reboot_type)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova return f(*args, **kw)
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova if self._soft_
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova dom.create()
2012-08-12 14:00:19 TRACE nova File "/usr/lib/
2012-08-12 14:00:19 TRACE nova if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
2012-08-12 14:00:19 TRACE nova libvirtError: Unable to allow access for disk path /dev/disk/
2012-08-12 14:00:19 TRACE nova
Old IP is 192.168.1.179 and the new one is 192.168.100.1
At which point the old IP address can still be saved ?
Thanks,
Marc
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Marc DANO for more information if necessary.