Landlord seeks to avoid capital gains tax on rental-house sale

Property must be converted to principal residence