[sheepdog-users] 0.8.1 check broken?

Hitoshi Mitake mitake.hitoshi at gmail.com
Sun Apr 6 19:19:45 CEST 2014


Hi Andrew and Gerald,

At Fri, 4 Apr 2014 05:43:29 +0200,
<richter at ecos.de> wrote:
> 
> Hi,
> 
> this is from /etc/fstab:
> 
> /dev/vga/vdataa   /var/lib/sheepdog/disc1  ext4
> errors=remount-ro,user_xattr,noatime 0 1
> /dev/vgb/vdatab   /var/lib/sheepdog/disc2  ext4
> errors=remount-ro,user_xattr,noatime 0 1
> 
> Since I saw tis xattr errors I already tested to set a xattr with setfattr
> and it works without problems, so as far as I can tell, xattr support is
> enabled for the sheepdog volumes

The logs like:

> > > Apr 02 19:36:24   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc1/data/00f6b38a00005f9e doesn't have its ec
> > > index in

are not error messages (you can find INFO prefix). It means that the
object doesn't have ec index in its xattr and need not to be
converted. The conversion from v3 to v4 only affects erasure coded
VDIs and its objects. The above message is logged when sheep finds
objects of replicated (not erasure coded) VDIs. You don't have to care
about the log.

Thanks,
Hitoshi

> 
> Regards
> 
> Gerald
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: sheepdog-users-bounces at lists.wpkg.org [mailto:sheepdog-users-
> > bounces at lists.wpkg.org] Im Auftrag von Andrew J. Hobbs
> > Gesendet: Donnerstag, 3. April 2014 14:55
> > An: sheepdog-users at lists.wpkg.org
> > Betreff: Re: [sheepdog-users] 0.8.1 check broken?
> > 
> > Curious that you're getting a number of errors related to xattr.  Can you
> show
> > the results of mount without any options?  Specifically the mounts related
> to
> > sheepdog.
> > 
> > On 04/03/2014 12:02 AM, richter at ecos.de wrote:
> > > Hi,
> > >
> > > I have changed from corosync to zookeeper before. I have done a dog
> > > cluster shutdown and then changed all nodes and brought them up again.
> > > This worked fine. This was at 19:36:22.
> > >
> > > There is nothing about the failed check in the log, as far as I can
> > > see. The message "Failed to find requested tag" was before my try to
> > check the image.
> > >
> > > I was wondering why I get still the message about the upgrade from v3 to
> > v4.
> > > I had already run sheep with -u in the past.
> > >
> > > Regards
> > >
> > > Gerald
> > >
> > >
> > > #dog cluster info
> > > Cluster status: running, auto-recovery enabled
> > >
> > > Cluster created at Fri Feb  7 23:17:20 2014
> > >
> > > Epoch Time           Version
> > > 2014-04-02 09:01:56     99 [1.1.1.1:7000, 2.2.2.2:7000, 3.3.3.3:7000]
> > > 2014-04-01 16:57:48     98 [1.1.1.1:7000, 3.3.3.3:7000]
> > > 2014-04-01 12:54:46     97 [1.1.1.1:7000, 2.2.2.2:7000, 3.3.3.3:7000]
> > > 2014-04-01 12:54:41     96 [1.1.1.1:7000, 3.3.3.3:7000]
> > > 2014-03-29 15:00:20     95 [1.1.1.1:7000, 2.2.2.2:7000, 3.3.3.3:7000]
> > >
> > >
> > > Apr 02 19:36:22   INFO [main] md_add_disk(333)
> > > /var/lib/sheepdog//disc1/data, vdisk nr 1619, total disk 1
> > > Apr 02 19:36:22   INFO [main] md_add_disk(333)
> > > /var/lib/sheepdog//disc2/data, vdisk nr 1836, total disk 2 Apr 02
> > > 19:36:22  ERROR [main] init_config_file(99) This sheep version is not
> > > compatible with the existing data layout, 3
> > > Apr 02 19:36:24   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc1/data/00f6b38a00005f9e doesn't have its ec
> > > index in
> > > xattr: No data available
> > > Apr 02 19:36:24   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc1/data/002b8afa00000679 doesn't have its ec
> > > index in
> > > xattr: No data available
> > > Apr 02 19:36:24   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc1/data/00f08a9300000da6 doesn't have its ec
> > > index in
> > > xattr: No data available
> > > ....
> > > Apr 02 19:36:26   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc2/data/00f6b38a0000c80a doesn't have its ec
> > > index in
> > > xattr: No dat
> > > a available
> > > Apr 02 19:36:26   INFO [main] convert_ecidx_xattr2path(446) object:
> > > /var/lib/sheepdog//disc2/data/00bb7a2500000c76 doesn't have its ec
> > > index in
> > > xattr: No dat
> > > a available
> > > Apr 02 19:36:26 NOTICE [main] get_local_addr(519) found IPv4 address
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:38:17  ERROR [io 226735]
> > > sheep_exec_req(1096) failed Waiting for other nodes to join cluster
> > > Apr 02 19:38:17  ERROR [io 226735] sheep_exec_req(1096) failed Waiting
> > > for other nodes to join cluster Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag Apr 02 19:39:53  ERROR [io 227060] sheep_exec_req(1096)
> > > failed Failed to find requested tag Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag Apr 02 19:39:53  ERROR [io 227060] sheep_exec_req(1096)
> > > failed Failed to find requested tag Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag Apr 02 19:39:53  ERROR [io 227060] sheep_exec_req(1096)
> > > failed Failed to find requested tag Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag Apr 02 19:39:53  ERROR [io 227060] sheep_exec_req(1096)
> > > failed Failed to find requested tag Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag Apr 02 19:39:53  ERROR [io 227060] sheep_exec_req(1096)
> > > failed Failed to find requested tag Apr 02 19:39:53  ERROR [io 227060]
> > > sheep_exec_req(1096) failed Failed to find requested tag Apr 02
> > > 19:39:53  ERROR [io 227060] sheep_exec_req(1096) failed Failed to find
> > > requested tag
> > >
> > >
> > >
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: Hitoshi Mitake [mailto:mitake.hitoshi at gmail.com]
> > >> Gesendet: Donnerstag, 3. April 2014 04:39
> > >> An: Gerald Richter - ECOS Technology
> > >> Cc: sheepdog-users at lists.wpkg.org
> > >> Betreff: Re: [sheepdog-users] 0.8.1 check broken?
> > >>
> > >> Hi Gerald,
> > >>
> > >> On Thu, Apr 3, 2014 at 2:50 AM, Gerald Richter - ECOS Technology
> > >> <gerald.richter at ecos.de> wrote:
> > >>> Hi,
> > >>>
> > >>>
> > >>>
> > >>> Running check (I tried with different images), I always get:
> > >>>
> > >>>
> > >>>
> > >>> #dog vdi check vm-12162-disk-1
> > >>>
> > >>>
> > >>>
> > >>> PANIC: can't find a valid vnode
> > >>>
> > >>> dog exits unexpectedly (Aborted).
> > >>>
> > >>> dog.c:351: crash_handler
> > >>>
> > >>> /lib/x86_64-linux-gnu/libpthread.so.0(+0xf02f) [0x7f880ff8d02f]
> > >>>
> > >>> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x34) [0x7f880fa0d474]
> > >>>
> > >>> /lib/x86_64-linux-gnu/libc.so.6(abort+0x17f) [0x7f880fa106ef]
> > >>>
> > >>> sheep.h:80: oid_to_vnodes
> > >>>
> > >>> vdi.c:1885: do_vdi_check
> > >>>
> > >>> dog.c:519: main
> > >>>
> > >>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfc)
> > >>> [0x7f880f9f9eac]
> > >>>
> > >>> dog() [0x403fa8]
> > >>>
> > >>>
> > >>>
> > >>> This is a working image ( I can start th VM and it's working). So
> > >>> what's wrong here?
> > >> Thanks for reporting. Can I see an output of "dog cluster info" and
> > >> log of sheep process which runs on the host you executed the above
> > >> dog vdi check?
> > >>
> > >> Thanks,
> > >> Hitoshi
> > >>
> > >>>
> > >>>
> > >>> Thanks & Regards
> > >>>
> > >>>
> > >>>
> > >>> Gerald
> > >>>
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> sheepdog-users mailing lists
> > >>> sheepdog-users at lists.wpkg.org
> > >>> http://lists.wpkg.org/mailman/listinfo/sheepdog-users
> > >>>
> > 
> > --
> > sheepdog-users mailing lists
> > sheepdog-users at lists.wpkg.org
> > http://lists.wpkg.org/mailman/listinfo/sheepdog-users
> 
> -- 
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog-users



More information about the sheepdog-users mailing list