Comments (9)
Any chance you have your pre-upgrade config available?
from ceph-iscsi.
It looks like the gw fqdn updater could not figure out the domain name so it did not update the gateways. The lun owner value is stuck as the host name only.
Is your networking/dns/hostname setup so that the nodes can have a fully qualified domain name or do you by any chance just have a local only setup and instead of doing something like myhost.something.local you just have myhost?
from ceph-iscsi.
Or do you maybe just have myhost.local?
from ceph-iscsi.
Running a local test , i.e. hostname -s and -f return the same short hostname.
Nothing special in the old config, but I didn‘t save it
from ceph-iscsi.
It’s just a local setup with no domain name setup, correct? Or is hostname -f incorrectly retuning only the host name? The Ceph iscsi tools/daemon perform the same syscalls so that is why I am asking if the system is just not setup with a domain or if hostname -f is reporting the wrong info.
It looks like we have to have a fqdn (it can just be a local one like bogus.local) or the code will fail. This was intentional right?
from ceph-iscsi.
$ python
>>> import socket
>>> print(socket.getfqdn())
server-1
(this seems to be the code used to get the fqdn, right?)
/etc/hosts:
127.0.0.1 localhost
10.0.0.101 server-1
from ceph-iscsi.
I opened PR #118 to hopefully prevent this issue in the future. There is a WIP build that includes this fix located here [1] if you are able to test it.
from ceph-iscsi.
Jason, I replicated the bug here, tested your patch, merged it and made a new release 3.2 hoping other people will see 3.2 and not get their setups hosed.
[edit - fix formatting]
To start up your system again you are going to to have to do the following:
- Stop the rbd-target-api daemons on all gateways.
systemctl stop rbd-target-api
-
Install ceph-iscsi-3.2 on all the gateways.
-
Delete the gateway.conf. From one of the gateways do:
rados -p rbd rm gateway.conf
- Restart all the systems/daemon with ceph-iscsi-3.2. Either reboot the system with your normal reboot command or start the daemon
systemctl start tbd-target-api
- Re-add gateways, targets, images, etc with gwcli.
For the images since they are already created, you just need to add them by not passing in the size argument. Instead of doing:
/disks> create rbd test1 100G
do
/disks> create rbd test1
from ceph-iscsi.
thanks for the quick fix!
from ceph-iscsi.
Related Issues (20)
- rbd-target-api / Unable to decode password for iqn.1998-01.com ,,, HOT 19
- Help! The rbd-target-api service of iSCSI gw cannot be started HOT 2
- ceph-iscsi / tcmu-runner bad pefromance with vmware esxi HOT 1
- I can't get return from method _add_dev_to_lio_user_rbd in ARM environment, it seems to be hang HOT 1
- Unable to remove / disassociate a disk from initiator HOT 1
- rbd-target-api will not start on Ubuntu Impish and later
- Failed to deploy iscsi service HOT 1
- Is ceph iscsi still being maintained?Or has it been abandoned? HOT 5
- gwcli error: REST API failure, code: 500
- rbd-target-api: concurrent requests are not supported HOT 6
- About using cephadm to deploy iSCSI Gateway
- Cannot remove a non-existent gatway by confirm=true HOT 1
- rbd-target-api fails to start : error : Failed to run ceph osd blocklist ls HOT 1
- rbd-target-api stuck, tcmu-runner crash / iSCSI Login negotiation failed
- HELP:Failed : disk create/update failed on ceph-2. Unhandled exception: __init__() got an unexpected keyword argument 'control'
- HELP: Failed : disk create/update failed on ceph-2. LUN allocation failure
- rbd-target-api: Disk limit 256 HOT 4
- rtslib_fb: `db_root: cannot be changed because it's in use`
- PSA: Purging ceph-iscsi on Debian rendered system borked
- rbd-target-api bug in centos9 with default python 3.9.18 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceph-iscsi.