[Bugs] [Bug 1484156] New: Can't attach volume tier to create hot tier

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 22 21:15:59 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1484156

            Bug ID: 1484156
           Summary: Can't attach volume tier to create  hot tier
           Product: GlusterFS
           Version: 3.11
         Component: cli
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: fidelito17 at hotmail.com
                CC: bugs at gluster.org



Description of problem:

I can't create a hot and cold tier by using:

1.
gluster volume tier vmVolume attach replica 2
glusterfs1:/caching/.brickscaching  glusterfs2:/caching/.brickscaching 
glusterfs3:/caching/.brickscaching glusterfs4:/caching/.brickscaching  force


or

2.
gluster volume attach-tier vmVolume replica 2 
glusterfs1:/caching/.brickscaching  glusterfs2:/caching/.brickscaching 
glusterfs3:/caching/.brickscaching glusterfs4:/caching/.brickscaching  force


the ssd drives are mounted to /caching on each node.

when I run the first and current command I get output in
/var/log/glusterfs/cli.log

[2017-08-22 19:39:16.905881] I [cli.c:757:main] 0-cli: Started running gluster
with version 3.11.0rc0
[2017-08-22 19:39:17.035609] I [MSGID: 101190]
[event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started thread with
index 1
[2017-08-22 19:39:17.035712] I [socket.c:2426:socket_event_handler]
0-transport: EPOLLERR - disconnecting now
[2017-08-22 19:39:17.035920] E
[cli-cmd-parser.c:1771:cli_cmd_volume_add_brick_parse] 0-cli: Unable to parse
add-brick CLI
[2017-08-22 19:39:17.036005] I [input.c:31:cli_batch] 0-: Exiting with: -1


gluster volume attach-tier vmVolume replica 2 
glusterfs1:/caching/.brickscaching  glusterfs2:/caching/.brickscaching 
glusterfs3:/caching/.brickscaching glusterfs4:/caching/.brickscaching  force
gluster volume attach-tier <VOLNAME> [<replica COUNT>] <NEW-BRICK>... is
deprecated. Use the new command 'gluster volume tier <VOLNAME> attach [<replica
COUNT>] <NEW-BRICK>... [force]'
Do you want to Continue? (y/n) y
internet address ' glusterfs1' does not conform to standards
volume attach-tier: failed: Pre-validation failed on localhost. Please check
log file for details
Tier command failed


when I run the old version of the tier command I get:

[2017-08-22 19:37:51.439210]  : volume attach-tier vmVolume replica 2 
glusterfs1:/caching/.brickscaching glusterfs2:/caching/.brickscaching
glusterfs3:/caching/.brickscaching glusterfs4:/caching/.brickscaching force :
FAILED : Pre-validation failed on localhost. Please check log file for details

I am running gluster volumes in a bond0 on each node. I want the gluster to
have its own network for the volume so its connected to an unmanage switch for
now. while the other network 10.x.x.x routes to the internet.

My /etc/hosts in each server contains

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4 
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

#nodes ip’s (different network)
10.0.1.11 srv1.example.com
10.0.1.12 srv2.example.com
10.0.1.13 srv3.example.com
10.0.1.14 srv4.example.com


#glusterfs volumes ip’s (different network)
172.16.0.11 glusterfs1
172.16.0.12 glusterfs2
172.16.0.13 glusterfs3
172.16.0.14 glusterfs4








gluster peer status
Number of Peers: 3

Hostname: 172.16.0.13
Uuid: 87f1cfcb-bf65-4e3e-b1e6-a2859043e7bb
State: Peer in Cluster (Connected)
Other names:
glusterfs3

Hostname: 172.16.0.12
Uuid: d45ce727-4a3a-42f0-b82f-04887f81f227
State: Peer in Cluster (Connected)
Other names:
glusterfs2

Hostname: 172.16.0.14
Uuid: 2af53acc-d991-4d39-8db7-4053d6cb2a07
State: Peer in Cluster (Connected)
Other names:
glusterfs4






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

Updated:
  glusterfs-server.x86_64 0:3.11.0-0.1.rc0.el7                                  

Dependency Updated:
  glusterfs.x86_64 0:3.11.0-0.1.rc0.el7                            
glusterfs-api.x86_64 0:3.11.0-0.1.rc0.el7                       
  glusterfs-cli.x86_64 0:3.11.0-0.1.rc0.el7                        
glusterfs-client-xlators.x86_64 0:3.11.0-0.1.rc0.el7            
  glusterfs-extra-xlators.x86_64 0:3.11.0-0.1.rc0.el7              
glusterfs-fuse.x86_64 0:3.11.0-0.1.rc0.el7                      
  glusterfs-geo-replication.x86_64 0:3.11.0-0.1.rc0.el7            
glusterfs-libs.x86_64 0:3.11.0-0.1.rc0.el7                      
  python2-gluster.x86_64 0:3.11.0-0.1.rc0.el7                      


How reproducible:

create a distributed-replicated 4 nodes with one brick in each and then attach
a 4 brick ssd tier for caching. 

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Please let me know if I missed any information to provide.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list