{"action":"created","issue":{"url":"https://api.github.com/repos/example42/puppet-network/issues/253","repository_url":"https://api.github.com/repos/example42/puppet-network","labels_url":"https://api.github.com/repos/example42/puppet-network/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/example42/puppet-network/issues/253/comments","events_url":"https://api.github.com/repos/example42/puppet-network/issues/253/events","html_url":"https://github.com/example42/puppet-network/issues/253","id":370174677,"node_id":"MDU6SXNzdWUzNzAxNzQ2Nzc=","number":253,"title":"Failure to bring up additional interfaces","user":{"login":"stephenkenny","id":34137906,"node_id":"MDQ6VXNlcjM0MTM3OTA2","avatar_url":"https://avatars3.githubusercontent.com/u/34137906?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenkenny","html_url":"https://github.com/stephenkenny","followers_url":"https://api.github.com/users/stephenkenny/followers","following_url":"https://api.github.com/users/stephenkenny/following{/other_user}","gists_url":"https://api.github.com/users/stephenkenny/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenkenny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenkenny/subscriptions","organizations_url":"https://api.github.com/users/stephenkenny/orgs","repos_url":"https://api.github.com/users/stephenkenny/repos","events_url":"https://api.github.com/users/stephenkenny/events{/privacy}","received_events_url":"https://api.github.com/users/stephenkenny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-15T13:54:06Z","updated_at":"2018-10-17T13:10:32Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior \r\nWhen adding an extra interface for a node via Hiera, Puppet agent should bring up that interface on the node.\r\n\r\n## Actual Behavior\r\nAgent fails with the following error:\r\n\r\n```Error: /Stage[main]/Network/Exec[/sbin/ifdown -a --force ; /sbin/ifup -a]: '/sbin/ifdown -a --force ; /sbin/ifup -a' returned 1 instead of one of [0]```\r\n\r\nI note that I can bring the interface up manually with the following command:\r\n\r\n```ifconfig eno2 up```\r\n\r\n(I should say that I am not very clear on the differences between ```ifup``` and ```ifconfig <interface> up```)\r\n\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n  1.  Add the yaml data for the interface on the Puppet server:\r\n  1.  Run the `Puppet agent` on the node\r\n\r\n\r\n## Specifications\r\nHere's my yaml data for the extra interface:\r\n\r\n```\r\neno2:\r\n    'interface': 'eno2'\r\n    'type': 'Ethernet'\r\n    'allow_hotplug': 'eno2'\r\n    'family': 'inet' \r\n```\r\n\r\n\r\n## Additional Information\r\n  1. Puppet version: 5.5.3\r\n  1. example42-network  module version: v3.5.0\r\n\r\nHere's the OS-related facter output:\r\n```os => {\r\n  architecture => \"amd64\",\r\n  distro => {\r\n    codename => \"stretch\",\r\n    description => \"Debian GNU/Linux 9.5 (stretch)\",\r\n    id => \"Debian\",\r\n    release => {\r\n      full => \"9.5\",\r\n      major => \"9\",\r\n      minor => \"5\"\r\n    }\r\n  },\r\n  family => \"Debian\",\r\n  hardware => \"x86_64\",\r\n  name => \"Debian\",\r\n  release => {\r\n    full => \"9.5\",\r\n    major => \"9\",\r\n    minor => \"5\"\r\n  },\r\n  selinux => {\r\n    enabled => false\r\n  }\r\n}```\r\n\r\nThanks for any help you can provide.\r\n\r\nKind regards,\r\nStephen Kenny\r\nTrinity College\r\nDublin\r\nIreland\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/example42/puppet-network/issues/comments/430621685","html_url":"https://github.com/example42/puppet-network/issues/253#issuecomment-430621685","issue_url":"https://api.github.com/repos/example42/puppet-network/issues/253","id":430621685,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDYyMTY4NQ==","user":{"login":"alvagante","id":283804,"node_id":"MDQ6VXNlcjI4MzgwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/283804?v=4","gravatar_id":"","url":"https://api.github.com/users/alvagante","html_url":"https://github.com/alvagante","followers_url":"https://api.github.com/users/alvagante/followers","following_url":"https://api.github.com/users/alvagante/following{/other_user}","gists_url":"https://api.github.com/users/alvagante/gists{/gist_id}","starred_url":"https://api.github.com/users/alvagante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvagante/subscriptions","organizations_url":"https://api.github.com/users/alvagante/orgs","repos_url":"https://api.github.com/users/alvagante/repos","events_url":"https://api.github.com/users/alvagante/events{/privacy}","received_events_url":"https://api.github.com/users/alvagante/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T13:10:32Z","updated_at":"2018-10-17T13:10:32Z","author_association":"MEMBER","body":"So, it look like one of the commands /sbin/ifdown -a --force  or  /sbin/ifup -a fails in your setup.\r\nYou might try to run then manually on your system and see if they give more info.\r\nError might be due by wrong network configurations either managed by Puppet or not., "}}
{"actor":{"display_login":"alvagante"}}