What is claimed is:1. A method comprising:receiving, by a wireless device from a first base station, at least one radio resource control, RRC, message comprising:master cell group, MCG, configuration parameters of a primary cell, PCell, of the first base station;secondary cell group, SCG, configuration parameters of a primary SCG cell, PSCell, of a second base station, for dual connectivity of the wireless device with the first base station and the second base station;determining a failure of the PCell before the PSCell configuration is applied;based on the failure of the PCell, performing a cell selection;in response to the selected cell being the PSCell, synchronizing with the PSCell based on the SCG configuration parameters.2. The method of claim 1, wherein the performing the cell selection comprises selecting the selected cell based on a received signal power value of the selected cell.3. The method of claim 1, wherein the synchronizing comprises performing a random access procedure with the PSCell based on the SCG configuration parameters.4. The method of claim 1, wherein the synchronizing does not comprise performing a random access procedure with the PSCell.5. The method of claim 4, wherein the SCG configuration parameters comprises an indication to skip the random access procedure.6. The method of claim 1, wherein the at least one RRC message comprises at least one execution condition for initiating the dual connectivity.7. The method of claim 6, wherein:the at least one execution condition is not met when the failure is determined;the synchronizing is based on the at least one execution condition for initiating the dual connectivity being met; andthe PSCell configuration is not applied based on the at least one execution not being met.8. The method of claim 1, further comprising transmitting, by the wireless device via the PSCell, a failure information message indicating the failure of the PCell.9. The method of claim 1, wherein the failure of the PCell comprises at least one of:a radio link failure;a reconfiguration with sync failure;a mobility failure from new radio;an integrity check failure indication from a lower layer concerning signaling radio bearer 1, SRB1, or signaling radio bearer 2, SRB2; andan RRC connection reconfiguration failure.10. The method of claim 1, wherein the determining the failure of the PCell before the PSCell configuration is applied comprises:determining the failure of the PCell before the PSCell configuration is applied for change or addition of the PSCell.11. A wireless device comprising:one or more processors; andmemory storing instructions that, when executed by the one or more processors, cause the wireless device to:receive, from a first base station, at least one radio resource control, RRC, message comprising:master cell group, MCG, configuration parameters of a primary cell, PCell, of the first base station;secondary cell group, SCG, configuration parameters of a primary SCG cell, PSCell, of a second base station, for dual connectivity of the wireless device with the first base station and the second base station;determine a failure of the PCell before the PSCell configuration is applied;based on the failure of the PCell, perform a cell selection;in response to the selected cell being the PSCell, synchronize with the PSCell based on the SCG configuration parameters.12. The wireless device of claim 11, wherein the performing the cell selection comprises selecting the selected cell based on a received signal power value of the selected cell.13. The wireless device of claim 11, wherein the synchronizing comprises performing a random access procedure with the PSCell based on the SCG configuration parameters.14. The wireless device of claim 11, wherein the synchronizing does not comprise performing a random access procedure with the PSCell.15. The wireless device of claim 14, wherein the SCG configuration parameters comprises an indication to skip the random access procedure.16. The wireless device of claim 11, wherein the at least one RRC message comprises at least one execution condition for initiating the dual connectivity.17. The wireless device of claim 16, wherein:the at least one execution condition is not met when the failure is determined;the synchronizing is based on the at least one execution condition for initiating the dual connectivity being met; andthe PSCell configuration is not applied based on the at least one execution not being met.18. The wireless device of claim 11, wherein the instructions further cause the wireless device to transmit, via the PSCell, a failure information message indicating the failure of the PCell.19. The wireless device of claim 11, wherein the determining the failure of the PCell before the PSCell configuration is applied comprises:determining the failure of the PCell before the PSCell configuration is applied for change or addition of the PSCell.20. A system, comprising:a first base station comprising: one or more processors and memory storing instructions that, when executed by the one or more processors, cause the first base station to:transmit, to a wireless device, at least one radio resource control, RRC, message comprising:master cell group, MCG, configuration parameters of a primary cell, PCell, of the first base station;secondary cell group, SCG, configuration parameters of a primary SCG cell, PSCell, of a second base station, for dual connectivity of the wireless device with the first base station and the second base station; anda wireless device comprising: one or more processors and memory storing instructions that, when executed by the one or more processors, cause the wireless device to:receive the at least one RRC message comprising the MCG configuration parameters and the SCG configuration parameters;determine a failure of the PCell before the PSCell configuration is applied;based on the failure of the PCell, perform a cell selection; andin response to the selected cell being the PSCell, synchronize with the PSCell based on the SCG configuration parameters.