I have a similar problem, always on Ambari 184.108.40.206 but single node cluster.
I have upgrade Ambari to 220.127.116.11 for upgrade HDP from 2.3.4 to 18.104.22.168
When I have registred target version, but in Ambari -> Admin -> Stack and versions -> Versions I can only see the current version (2.3.4).
So I inserted into ambari database:
insert into cluster_version (id,repo_version_id,cluster_id,state,start_time,end_time,user_name) value (2,2,2,'INSTALLED',1452865243126,1459763540455,'admin');
Now I see the registred version (22.214.171.124) and the current version, but, after install packages from Ambari, if try to upgrade I can't select rolling or express upgrade and can't click on proceed because the proceed button is not active. (see last comment on this for the image).