Bug 1537170 - [GSS] Gluster Block Down and Targets Missing
Summary: [GSS] Gluster Block Down and Targets Missing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: cns-3.6
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: CNS 3.10
Assignee: Prasanna Kumar Kalever
QA Contact: krishnaram Karthick
URL:
Whiteboard:
: 1609392 1637054 (view as bug list)
Depends On: 1524791 1565074
Blocks: 1568861 1569977 1570168 1570976 1573420
TreeView+ depends on / blocked
 
Reported: 2018-01-22 15:32 UTC by Matthew Robson
Modified: 2021-12-10 15:35 UTC (History)
13 users (show)

Fixed In Version: gluster-block-0.2.1-18.el7rhgs
Doc Type: Bug Fix
Doc Text:
Previously, when targets are not loaded due to block hosting volume being down or not ready or target_core_user module not loaded on host or targets loading failed, the preceding gluster-block operations calling global target saveconfig would override the non-loaded target's configuration. This resulted in loss of previously non-loaded targets configuration. With this update, the issue is addressed by introducing a target/block-volume level save configuration option.
Clone Of:
Environment:
Last Closed: 2018-09-12 09:25:26 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2691 0 None None None 2018-09-12 09:26:55 UTC

Description Matthew Robson 2018-01-22 15:32:56 UTC
Description of problem:

After a variety of gluster issues from BZ1535732, gluster block was left in an inoperable state.

Gluster block was working fine, there are provisioned block volumes that were in use.

Services, dependencies and iptables tables rules were all good:

[root@server ~]# lsmod | egrep 'dm_thin_pool|dm_multipath|target_core'
target_core_pscsi      19269  0
target_core_file       27502  0
target_core_iblock     27510  0
dm_thin_pool           65968  67
dm_persistent_data     74708  1 dm_thin_pool
dm_bio_prison          18209  1 dm_thin_pool
dm_multipath           27427  4 dm_service_time
target_core_user       23936  0
target_core_mod       367918  6 target_core_iblock,target_core_pscsi,iscsi_target_mod,target_core_file,target_core_user
uio                    19259  2 cnic,target_core_user
crc_t10dif             12714  2 target_core_mod,sd_mod
dm_mod                123303  441 dm_multipath,dm_log,dm_persistent_data,dm_mirror,dm_bufio,dm_thin_pool,dm_service_time

[root@server ~]# systemctl status multipathd.service
* multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/usr/lib/systemd/system/multipathd.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-01-17 10:46:23 PST; 2 days ago
  Process: 1241 ExecStart=/sbin/multipathd (code=exited, status=0/SUCCESS)
  Process: 1232 ExecStartPre=/sbin/multipath -A (code=exited, status=0/SUCCESS)
  Process: 1218 ExecStartPre=/sbin/modprobe dm-multipath (code=exited, status=0/SUCCESS)
 Main PID: 1264 (multipathd)
   Memory: 4.2M
   CGroup: /system.slice/multipathd.service
           `-1264 /sbin/multipathd

[root@server ~]# systemctl status rpcbind.socket
* rpcbind.socket - RPCbind Server Activation Socket
   Loaded: loaded (/usr/lib/systemd/system/rpcbind.socket; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-01-17 10:46:26 PST; 2 days ago
   Listen: /var/run/rpcbind.sock (Stream)
           [::]:111 (Stream)
           0.0.0.0:111 (Stream)

Jan 17 10:46:26 server.dmz systemd[1]: Listening on RPCbind Server Act....
Jan 17 10:46:26 server.dmz systemd[1]: Starting RPCbind Server Activat....


gluster block in gluster pods was not running:

[root@server ~]# ps -ef | grep gluster-blockd
root      21757 128598  0 12:44 pts/3    00:00:00 grep --color=auto gluster-blockd

saveconfig is empty:

sh-4.2# cat /etc/target/saveconfig.json
{
  "fabric_modules": [],
  "storage_objects": [],
  "targets": []
}



Version-Release number of selected component (if applicable):

CNS 3.6

oc exec glusterfs-hf25h -- rpm -qa glusterfs
glusterfs-3.8.4-44.el7rhgs.x86_64


How reproducible:

Random

Actual results:

Can no longer use or create block vols.

Expected results:


Additional info:

Comment 19 Prasanna Kumar Kalever 2018-08-21 11:50:31 UTC
*** Bug 1609392 has been marked as a duplicate of this bug. ***

Comment 23 errata-xmlrpc 2018-09-12 09:25:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2691

Comment 24 Prasanna Kumar Kalever 2019-02-07 13:23:56 UTC
*** Bug 1637054 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.