Ho@akhtar,
There is nothing wrong. But when you launch an instance in OpenStack, it always launch in Host Only Mode. For that you have to assign gateway floating ip etc. But if you want to ping without doing all this thing you can do. For that you have to be a part of that same router. Follow the below given steps.
$ ip netns
$ ip netns exec id of the router bash
Hope you can ping your instance after this.
Thank You