Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

network modules integration test fail if provider transport value in not set #30331

Closed
ganeshrn opened this issue Sep 14, 2017 · 2 comments
Closed
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. cisco Cisco technologies module This issue/PR relates to a module. networking Network category nxos Cisco NXOS community support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Milestone

Comments

@ganeshrn
Copy link
Member

ISSUE TYPE
  • Bug Report
COMPONENT NAME

eos_*
nxos_*

ANSIBLE VERSION
2.4
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
STEPS TO REPRODUCE
- name: Enable Ethernet1 interface and disable switchport
  eos_config:
    lines:
      - no shutdown
      - no switchport
    parents: int Ethernet1
    authorize: yes
EXPECTED RESULTS

This should run sucessfully

ACTUAL RESULTS
{
"changed": false, 
"failed": true, 
"msg": "value of transport must be one of: cli,eapi, got: None found in provider"
}
@ganeshrn ganeshrn added this to the 2.4.0 milestone Sep 14, 2017
ganeshrn added a commit to ganeshrn/ansible that referenced this issue Sep 14, 2017
Fixes ansible#30331
Set defualt value of provider to avoid
behaviour change before and after sub spec
validation was added as part of PR ansible#28894
@ansibot
Copy link
Contributor

ansibot commented Sep 14, 2017

@ansibot ansibot added affects_2.4 This issue/PR affects Ansible v2.4 bug_report module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Sep 14, 2017
abadger pushed a commit that referenced this issue Sep 14, 2017
Fixes #30331
Set defualt value of provider to avoid
behaviour change before and after sub spec
validation was added as part of PR #28894
@nitzmahone nitzmahone added networking Network category and removed needs_triage Needs a first human triage before being processed. labels Sep 14, 2017
@ganeshrn
Copy link
Member Author

resolved_by_pr #30332

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@dagwieers dagwieers added nxos Cisco NXOS community cisco Cisco technologies labels Feb 22, 2019
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.4 This issue/PR affects Ansible v2.4 bug This issue/PR relates to a bug. cisco Cisco technologies module This issue/PR relates to a module. networking Network category nxos Cisco NXOS community support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

No branches or pull requests

4 participants