[Gluster-users] gluster as openvz backend

Xabier Elkano xelkano at hostinet.com
Thu Jan 30 15:12:31 UTC 2014



Hi,

I want to use gluster as storage backend for  OpenVZ containsers, but in
some of my containers I get errors like "doesn't exist and can't be
created: File exists". In this case when Apache tries to start inside
the container:

# apachectl -t
Syntax error on line 4 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiIpcDir /var/lib/apache2/fastcgi: doesn't exist and can't be
created: File exists

# ll /var/lib/apache2/fastcgi
total 0
drwx------ 2 www-data www-data 12 Jan 30 13:26 dynamic


# stat /var/lib/apache2/fastcgi
  File: `/var/lib/apache2/fastcgi'
  Size: 40            Blocks: 0          IO Block: 131072 directory
Device: 25h/37d    Inode: 12237283714682902837  Links: 3
Access: (0700/drwx------)  Uid: (   33/www-data)   Gid: (   33/www-data)
Access: 2014-01-30 15:03:37.108895668 +0000
Modify: 2014-01-30 13:27:18.000000000 +0000
Change: 2014-01-30 13:27:18.625494433 +0000
 Birth: -


I am using a replicated distributed volume with 4 nodes.  Each node is
acting as a client and as a server node. I just created the volume,
started and mounted with gluster native client.

The gluster versions I am using:

ii  glusterfs-client                 3.4.1-1                      
amd64        clustered file-system (client package)
ii  glusterfs-common                 3.4.1-1                      
amd64        GlusterFS common libraries and translator modules
ii  glusterfs-server                 3.4.1-1                      
amd64        clustered file-system (server package)

when I run apache command I can see these messages in the brick log:

[2014-01-30 15:08:05.886399] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 1e062053-5429-451d-8d51-7aa5daee8403: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.886487] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.932844] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 259bc2c1-3af5-4a6b-b0d3-3f5372c8b2fc: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.932859] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.941278] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: e64c0c2a-67b6-4898-bb53-81338c1cd1f9: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.941293] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.946539] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 2e36d07d-e1d2-4943-8129-b4c7bf7ec003: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.946605] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.950464] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: dde761ef-ce3e-489e-9775-0e114c7b7088: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.950500] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.959464] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: f810ce08-cf3e-4528-b782-566bd3fa8e5e: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.959483] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.968923] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: ad2522bc-4baf-4796-b343-7f672dccfe46: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.968940] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.977591] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 6582af70-2767-4669-ba72-f5bc40e99c80: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.977644] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:05.981704] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: cc8ac477-2fed-45ce-8a9d-97023ec4ead7: failed to resolve
(No such file or directory)
[2014-01-30 15:08:05.981749] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.008057] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 4a1cd394-3525-4b7b-9551-ae7325c42e53: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.008092] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.024090] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 05424522-9a8e-46bf-a0d7-b8c62169fc59: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.024109] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.030224] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 174f1fde-059c-4d3d-bc7a-5356fa18baa5: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.030328] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.036707] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 1576c64f-1c9f-42ef-925a-68e50e191a5a: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.036761] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.042836] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 3c5ac6fb-88e5-4e77-b416-ec04f4edef6b: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.042892] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.045606] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 3697e934-04b7-4068-9979-947f5f6fffb7: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.045643] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.048566] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: e21082ab-2cdf-446a-abbd-ff68f69f6a91: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.048586] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.051344] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 56297da6-3177-4500-ac9c-a67c286f0df4: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.051397] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.054034] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 11271591-8a1f-4286-8ccf-af2d9f850c6f: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.054075] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.056565] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 88d80139-8582-4c9a-bda1-e80aaf7edad4: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.056594] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.069672] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 4576cd59-5c9a-43d2-beb9-61c53bc7190e: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.069900] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1
[2014-01-30 15:08:06.083398] D [server-resolve.c:121:resolve_gfid_cbk]
0-gv0-server: 9cbaca75-f8ee-41c3-8ecb-c1e22a5d27cc: failed to resolve
(No such file or directory)
[2014-01-30 15:08:06.083450] D [server-resolve.c:211:resolve_continue]
0-gv0-server: return value of resolve_*_simple 1

Any ideas?

Thanks!





More information about the Gluster-users mailing list