If you read the vedas and Upanishads you will not find them, Mahabaratha is only a story and not history. Though Homosexuality is found in all parts of the world even before 3000 years that does not mean you have to follow.
Do you follow the sudhra system, un-touchability and Sati which are also ancient in nature and part of the Hindu culture?