Re: journal based mirroring works but snapshot based not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 24, 2020 at 7:49 AM <yveskretzschmar@xxxxxx> wrote:
>
> Hi,
>
> i have a working journal based mirror setup initially created with nautilus.
> I recently upgraded to octopus (15.2.4) to use snapshot based mirroring.
> After that I disabled mirroring for the first image and reenabled it snapshot based.
>
> The remote Image is created but it never starts syncing.
> Network usage is only about some kb/s.
> And after disabling mirroring on the image the remote images doesn't get deleted.
>
> The same is with a new test pool and new images.
> I also remove the peer from the pools and disabled mirroring on the pools and recreated it from scratch, because I've found this:
> https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/LRBDKQ2YXQNPZYBYS6RD65OIWJIEAGQR/ bit it didn't resolved it.
>
>
> Mirroring daemon shows the follwing after enabling snapshot based mirroring on an image:
>
>
> 2020-07-24T13:45:40.253+0200 7f33dae1d700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 update_images: peer_uuid=3d2164b5-96ca-4ad6-9fe3-4eb1f6c02f3e, added_count=1, removed_count=0
> 2020-07-24T13:45:40.253+0200 7f33dae1d700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 update_images_added: peer_uuid=3d2164b5-96ca-4ad6-9fe3-4eb1f6c02f3e, global_image_ids=[d7f7d308-d18b-488f-9dcc-87f8e77f05cc]
> 2020-07-24T13:45:40.253+0200 7f33dae1d700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 add_image: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc
> 2020-07-24T13:45:41.254+0200 7f33da61c700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 start_action: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, state=ASSOCIATING, action_type=MAP_UPDATE
> 2020-07-24T13:45:41.254+0200 7f33da61c700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 execute_policy_action: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, policy_action=MAP
> 2020-07-24T13:45:41.254+0200 7f33da61c700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 map: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, instance_id=10464477
> 2020-07-24T13:45:41.254+0200 7f33da61c700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 update_image_mapping: updates=[{global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, instance_id=10464477}], removes=[]
> 2020-07-24T13:45:41.258+0200 7f33dae1d700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 finish_action: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, state=ASSOCIATING, action_type=MAP_UPDATE, r=0
> 2020-07-24T13:45:41.294+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc7c1bd40 handle_acked: instance_ids=[10464466]
> 2020-07-24T13:45:41.402+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc9424240 handle_acked: instance_ids=[10464470]
> 2020-07-24T13:45:41.502+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcac66240 handle_acked: instance_ids=[10464474]
> 2020-07-24T13:45:41.606+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcc4c0360 handle_acked: instance_ids=[10464477]
> 2020-07-24T13:45:42.258+0200 7f33da61c700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 start_action: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, state=ASSOCIATING, action_type=ACQUIRE
> 2020-07-24T13:45:42.258+0200 7f33da61c700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 notify_listener_acquire_release_images: acquire=[{global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, instance_id=10464477}], release=[]
> 2020-07-24T13:45:42.258+0200 7f33da61c700  5 rbd::mirror::NamespaceReplayer: 0x55cfcc4c6000 handle_acquire_image: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, instance_id=10464477
> 2020-07-24T13:45:42.258+0200 7f33dae1d700  5 rbd::mirror::image_map::Policy: 0x55cfc8825a40 finish_action: global_image_id=d7f7d308-d18b-488f-9dcc-87f8e77f05cc, state=ASSOCIATING, action_type=ACQUIRE, r=0
> 2020-07-24T13:45:42.306+0200 7f33dae1d700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 update_images: peer_uuid=, added_count=1, removed_count=0
> 2020-07-24T13:45:42.306+0200 7f33dae1d700  5 rbd::mirror::ImageMap: 0x55cfcc4c0480 update_images_added: peer_uuid=, global_image_ids=[d7f7d308-d18b-488f-9dcc-87f8e77f05cc]
> 2020-07-24T13:45:42.330+0200 7f33a3daf700 -1 rbd::mirror::image_replayer::snapshot::Replayer: 0x55cfcd28c800 init: failed to retrieve mirror peer uuid from remote pool

Can you provide the output from "rbd mirror pool info" on both sides?
The site-names need to align across both sides so that the two sites
know who-is-who.

> 2020-07-24T13:45:42.330+0200 7f33dae1d700 -1 rbd::mirror::image_replayer::snapshot::Replayer: 0x55cfcd28c800 get_replay_status: replay not running
> 2020-07-24T13:45:46.298+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc7c1bd40 handle_acked: instance_ids=[10464466]
> 2020-07-24T13:45:46.402+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc9424240 handle_acked: instance_ids=[10464470]
> 2020-07-24T13:45:46.506+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcac66240 handle_acked: instance_ids=[10464474]
> 2020-07-24T13:45:46.606+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcc4c0360 handle_acked: instance_ids=[10464477]
> 2020-07-24T13:45:51.298+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc7c1bd40 handle_acked: instance_ids=[10464466]
> 2020-07-24T13:45:51.406+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc9424240 handle_acked: instance_ids=[10464470]
> 2020-07-24T13:45:51.506+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcac66240 handle_acked: instance_ids=[10464474]
> 2020-07-24T13:45:51.610+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcc4c0360 handle_acked: instance_ids=[10464477]
> 2020-07-24T13:45:52.330+0200 7f33dae1d700 -1 rbd::mirror::image_replayer::snapshot::Replayer: 0x55cfcd28c800 get_replay_status: replay not running
> 2020-07-24T13:45:56.298+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc7c1bd40 handle_acked: instance_ids=[10464466]
> 2020-07-24T13:45:56.406+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc9424240 handle_acked: instance_ids=[10464470]
> 2020-07-24T13:45:56.506+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcac66240 handle_acked: instance_ids=[10464474]
> 2020-07-24T13:45:56.610+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcc4c0360 handle_acked: instance_ids=[10464477]
> 2020-07-24T13:46:01.303+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc7c1bd40 handle_acked: instance_ids=[10464466]
> 2020-07-24T13:46:01.407+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfc9424240 handle_acked: instance_ids=[10464470]
> 2020-07-24T13:46:01.511+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcac66240 handle_acked: instance_ids=[10464474]
> 2020-07-24T13:46:01.611+0200 7f33dae1d700  5 rbd::mirror::Instances: 0x55cfcc4c0360 handle_acked: instance_ids=[10464477]
> 2020-07-24T13:46:02.331+0200 7f33dae1d700 -1 rbd::mirror::image_replayer::snapshot::Replayer: 0x55cfcd28c800 get_replay_status: replay not running
>
>
> Regards,
> Yves
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>


-- 
Jason
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux