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

Don't validate ip address for mgmt interface #56136

Merged
merged 1 commit into from May 9, 2019

Conversation

pabelanger
Copy link
Contributor

@pabelanger pabelanger commented May 6, 2019

SUMMARY

Dont' assume mgmt interface has an ip address

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

eos_facts

pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 6, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@@ -23,7 +23,7 @@
# Items from those subsets are present
- "result.ansible_facts.ansible_net_filesystems is defined" #hw
- "result.ansible_facts.ansible_net_memtotal_mb > 10" #hw
- "result.ansible_facts.ansible_net_interfaces.Management1.ipv4.masklen > 1" # interfaces
- "result.ansible_facts.ansible_net_interfaces.Management1" # interfaces
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anything we can assert about this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can, but we should update the testing here to create the ip address first.

@ansibot
Copy link
Contributor

ansibot commented May 6, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:network This issue/PR relates to code supported by the Ansible Network Team. labels May 6, 2019
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 6, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@pabelanger
Copy link
Contributor Author

Pull-request updated, HEAD is now 84ee713

pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 7, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 7, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 7, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 7, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 7, 2019
This now adds support to run eos tests against ansible/ansible.

Depends-On: ansible/ansible#56126
Depends-On: ansible/ansible#56131
Depends-On: ansible/ansible#56136
Depends-On: ansible/ansible#56140
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@pabelanger
Copy link
Contributor Author

Pull-request updated, HEAD is now f0a0d2a

pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 8, 2019
Depends-On: ansible/ansible#56180
Depends-On: ansible/ansible#56235
Depends-On: ansible/ansible#56136
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@NilashishC NilashishC merged commit f9589bd into ansible:devel May 9, 2019
Qalthos pushed a commit to Qalthos/ansible that referenced this pull request May 24, 2019
)

It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit f9589bd)

Co-authored-by: Paul Belanger <pabelanger@redhat.com>
abadger pushed a commit that referenced this pull request May 24, 2019
It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit f9589bd)

Co-authored-by: Paul Belanger <pabelanger@redhat.com>
Qalthos pushed a commit to Qalthos/ansible that referenced this pull request May 30, 2019
)

It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit f9589bd)

Co-authored-by: Paul Belanger <pabelanger@redhat.com>
Qalthos pushed a commit to Qalthos/ansible that referenced this pull request May 30, 2019
)

It is possible the EOS appliance doesn't have an IP address on the
management1 interface, instead just check we have found that interface.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
(cherry picked from commit f9589bd)

Co-authored-by: Paul Belanger <pabelanger@redhat.com>
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. support:network This issue/PR relates to code supported by the Ansible Network Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants