def METHOD_NAME(pattern, crush_name):
    daemon = search(osd_hosts, pattern)
    if daemon:
        move_crush_item(
            node=cephadm,
            crush_obj=daemon,
            name="datacenter",
            value=crush_name,
        )
        log.info(
            f"Set location for OSD {daemon} onto site {crush_name}\n"
            "sleeping for 5 seconds"
        )
        time.sleep(5)