Why are you sometimes unable to raise vassals' levies? I'm not talking about low numbers being available due to opinion. The tooltip shows how many you can raise based on current opinion, etc., but for some reason the button to raise them is not active.
Maybe they are depleted? Check in the military tab.