After removing var/lib/juju/agents/unit-ceph-radosgw-?/charm/hooks/*.pyc issue gets resolves it but it should work out of box.
After removing var/lib/ juju/agents/ unit-ceph- radosgw- ?/charm/ hooks/* .pyc issue gets resolves it but it should work out of box.