-
Notifications
You must be signed in to change notification settings - Fork 75
Error when updating a route table entry with the same dest and network_entity_id #52
Comments
@joshmullis The ansible module wrongly assumes that the deprecated |
Added - Added the following features in existing modules: - Added `iscsi_attach_commands` and `iscsi_detach_commands` return values to `oci_volume_attachment` and `oci_volume_attachment_facts` modules. Fixed - Fix installation script for Ansible 2.8.0 [issue](#53) - Fix idempotency when updating a route table entry [issue](#52) - Fix invalid options error for FQDN generation in inventory script [issue](#49) - Fix error updating cross connects on a virtual circuit Co-authored-by: Manoj Meda <[email protected]> Co-authored-by: Nabeel Al Saber <[email protected]> Co-authored-by: Mike Ross <[email protected]>
#manojmeda I have used new Release v1.9.0 OCI Ansible Modules, We are receiving an error when running a playbook that adds a route table entry. Full Error Message: fatal: [localhost]: FAILED! => { |
@joshmullis |
I've noticed that if the route table already has the "cidr_block" populated with a CIDR, the code does not work. I have to manually go into the route table via the OCI Web Portal and update a route. After that, the tasks will show as "ok". Very strange and makes me wonder if we're going to run into further issues in the near future with these route tables. |
We face issues in the scenario where |
This issue was resolved in release v1.9.0 |
Issue Report
We are receiving an error when running a playbook that adds a route table entry. Usually the route table module is idempotent and sees that we are requesting the same entry that already exists. However, sometimes we run into this where the route table entry has the same destination and network_entity_id as we are passing in the playbook, yet it gives an error.
Expected behavior
As usual, the route table module should be idempotent and see that the route is already present and skip the update.
Environment
OS version: OEL 7.5
Ansible version:
ansible 2.7.9
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/jmullis/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /bin/ansible
python version = 2.7.5 (default, Apr 11 2018, 17:41:36) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28.0.1)]
2.2.7
1.8.0
Ansible playbook to reproduce the issue
Since this is public, I've redacted the CIDR and real OCIDs.
Snippet from output of:
oci network route-table get --rt-id ocid1.routetable.oc1.iad.foo
FULL ERROR MESSAGE:
The text was updated successfully, but these errors were encountered: