Hey Till,
 
When I try to run ansible-playbook tests_default.yml or any other test in the tests folder or anything that calls the system role ,
when it reaches

TASK [linux-system-roles.network : Configure networking connection profiles]
a dialog box pops up asking for authentication saying
System policy prevents the creation of a checkpoint or its rollback

this works like normal if I provide the password fast enough , otherwise a timeout occurs. Is there any way to overcom this so I won't have to provide the password again .I wasn't able to find anything relevant.

2.When I try to run the examples like
ansible-playbook -i inventory bond-with-vlan.yml

I get this

fatal: [v-rhel7]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname v-rhel7: Name or service not known", "unreachable": true}
fatal: [v-rhel6]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname v-rhel6: Name or service not known", "unreachable": true}

am I missing something really simple here ?

3.
I want to know if multiple virtual interfaces would be required to make and run new tests and what would be the best way to make them .(ifconfig,nmcli or something else?)

I am running these on fedora 31.
Appreciate any help
Thanks,
Harsh

On Mon, Mar 16, 2020 at 4:56 PM Till Maas <till@redhat.com> wrote:
Hi Harsh,

please provide more details about how you run the tests, what system
are you using, what is the command line and what is the exact output
that you are seeing.

Thank you
Till

Am Mo., 16. März 2020 um 08:59 Uhr schrieb Harsh Jain <harshjain075@gmail.com>:
>
> Hey ,
> 1.I'm having some issue while trying to run the integration tests for the network role , it happens when the checkpoint is created , I receive a dialog box which says System policy prevents the creation of a checkpoint or its rollback and so nm is unable to create a checkpoint .
>
> 2.When I'm running the example tests, the hosts are unreachable
>
> 3.I'm having a bit of trouble in setting up virtual interfaces to make some tests, what would be the best way to do it ?
> Any help would be greatly appreciated.
> Thanks,
> Harsh
> _______________________________________________
> systemroles mailing list -- systemroles@lists.fedorahosted.org
> To unsubscribe send an email to systemroles-leave@lists.fedorahosted.org
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedorahosted.org/archives/list/systemroles@lists.fedorahosted.org



--
Till Maas
He/His/Him
Associate Manager, Software Engineering
NetworkManager, Nmstate, Ansible RHEL Networking System Role

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Laurie Krebs, Michael O'Neill,
Thomas Savage