You're making some very preposterous judgements while choosing to forget the history of Indian foreign policy.
1. Even at the worst of times, we were never part of any military organisation.
2. Indian always favoured having an independent foreign policy. There is a reason for this. After 300 years of serving the white man, a majority of Indians not so exposed to the world, justifiably or unjustifiably, were vary of dealings with the white man. That is why Indian politicians, to this day, have to go to extra lenghts to make it clear to their public that they are not doing things under the pressure of the capitalist white man. This explains why it is so important for Indian policymakers to not be over-pressured by the US and make their policies independently and also seem to be doing it. This is also wy Indian policymakers will never want to seem to be another poodle of the US like Auz or the UK.
3. You are assuming that India 'urgently' needs a powerful ally. That is simply incorrect. India is progressing well and is in a position to negotiate terms of engagement with any country it chooses to ally with. India has time on its side. That's why I said that a decade later, it is bound to happen.