Bug 2081321

Summary: [NetworkManager-strongswan] Unable to load VPN connection editor for strongswan (GTK4 transition)
Product: [Fedora] Fedora Reporter: Flo <augenauf>
Component: NetworkManager-strongswanAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: awilliam, code, mikhail.zabaluev, nielsenb, pemensik, vorona.tolik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: RejectedBlocker
Fixed In Version: NetworkManager-strongswan-1.6.0-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-03 01:05:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Network Manager's "Add VPN"
none
Configure strongSwan (IPSec/IKEv2) connection none

Description Flo 2022-05-03 12:21:12 UTC
Created attachment 1876733 [details]
Network Manager's "Add VPN"

Created attachment 1876733 [details]
Network Manager's "Add VPN"

Description of problem:
In Gnome 42, NetworkManager is unable to load the connection editor for strongswan.

A similar bug was reported against NetworkManager-ssh, rhbz#2061693

Version-Release number of selected component (if applicable):

NetworkManager-strongswan-1.5.2-2.fc36.x86_64     
NetworkManager-strongswan-gnome-1.5.2-2.fc36.x86_64
strongswan-charon-nm-5.9.5-3.fc36.x86_64 

Steps to Reproduce:
1. Install F36 beta from iso
2. Run full system update
3. Run sudo dnf -y install NetworkManager-strongswan NetworkManager-strongswan-gnome
4. Open Gnome's NetworkManager and try adding a "IPSec/IKEv2 (strongswan) connection

Actual results:
Error: Unable to load VPN connection editor

Expected results:
Open connection editor to enter connection details, see screenshots attached


Additional info:
Similar, if not equal to... 
 - https://bugzilla.redhat.com/show_bug.cgi?id=2061693
 - related PR: https://github.com/danfruehauf/NetworkManager-ssh/pull/110

Comment 1 Flo 2022-05-03 12:22:11 UTC
Created attachment 1876734 [details]
Configure strongSwan (IPSec/IKEv2) connection

Comment 2 Fedora Blocker Bugs Application 2022-05-03 12:38:29 UTC
Proposed as a Blocker for 36-final by Fedora user augenauf using the blocker tracking app because:

 NetworkManager/NetworkManager-strongswan are not ready to be configured in F36/Gnome 42. This violates the default application functionality criterion (https://fedoraproject.org/wiki/Fedora_36_Final_Release_Criteria#Default_application_functionality)

Comment 3 Adam Williamson 2022-05-03 17:06:50 UTC
-6 in https://pagure.io/fedora-qa/blocker-review/issue/804 , marking rejected.

Comment 4 Brandon Nielsen 2022-05-03 18:52:22 UTC
Upstream issue: https://github.com/strongswan/strongswan/issues/961

It looks like there's a branch that could feasibly be brought in as a patch.

Comment 5 Brandon Nielsen 2022-05-03 18:58:09 UTC
(In reply to Brandon Nielsen from comment #4)
> Upstream issue: https://github.com/strongswan/strongswan/issues/961
> 
> It looks like there's a branch that could feasibly be brought in as a patch.

I take that back. It's another case where it is assumed the GTK4 ui file will be generated during tarball creation so it doesn't appear in the source tree[0], making it difficult to bring in as a patch. It would be a lot cleaner for upstream to cut a new release.

[0] - https://github.com/strongswan/strongswan/tree/961-nm-gtk4

Comment 6 Flo 2022-05-09 14:17:36 UTC
Here is the related upstream issue report:

https://github.com/strongswan/strongswan/issues/961

Comment 7 Anatolii Vorona 2022-05-31 17:47:56 UTC
(In reply to Flo from comment #6)
> Here is the related upstream issue report:
> 
> https://github.com/strongswan/strongswan/issues/961

The issue was closed 15 days ago with commit https://github.com/strongswan/strongswan/commit/846201a686cc1bab1405b0ea23d360279f49c2c4


I suggest updating the package version: 

https://src.fedoraproject.org/rpms/NetworkManager-strongswan/pull-request/2#request_diff

i checked it.
the connection editor is working now, and my ikev2 vpn works too.

Comment 8 Fedora Update System 2022-06-24 20:19:56 UTC
FEDORA-2022-02b508eb4b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-02b508eb4b

Comment 9 Fedora Update System 2022-06-25 00:34:28 UTC
FEDORA-2022-02b508eb4b has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-02b508eb4b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-02b508eb4b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-07-03 01:05:31 UTC
FEDORA-2022-02b508eb4b has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.