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
openvswitch_db: Missing support for column types other than a map #42108
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
Comments
Files identified in the description: If these files are inaccurate, please update the |
ansibot
added
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
needs_triage
Needs a first human triage before being processed.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
labels
Jun 29, 2018
s-hertel
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jun 29, 2018
cubeek
added a commit
to cubeek/ansible
that referenced
this issue
Jul 9, 2018
The OVSDB schema consists of typed columns. The 'key' parameter is required only for columns with type of a 'map'. This patch makes 'key' an optional parameter to allow setting values for other column types like int. Fixes ansible#42108
gdpak
pushed a commit
that referenced
this issue
Jul 9, 2018
The OVSDB schema consists of typed columns. The 'key' parameter is required only for columns with type of a 'map'. This patch makes 'key' an optional parameter to allow setting values for other column types like int. Fixes #42108
cubeek
added a commit
to cubeek/ansible
that referenced
this issue
Jul 9, 2018
The OVSDB schema consists of typed columns. The 'key' parameter is required only for columns with type of a 'map'. This patch makes 'key' an optional parameter to allow setting values for other column types like int. Fixes ansible#42108 (cherry picked from commit 26b0908)
cubeek
added a commit
to cubeek/ansible
that referenced
this issue
Jul 9, 2018
The OVSDB schema consists of typed columns. The 'key' parameter is required only for columns with type of a 'map'. This patch makes 'key' an optional parameter to allow setting values for other column types like int. Fixes ansible#42108 (cherry picked from commit 26b0908) (cherry picked from commit 0109771)
rcarrillocruz
pushed a commit
that referenced
this issue
Aug 8, 2018
* openvswitch_db: Split key-value pairs correctly (#33335) Map values can contain commas, e.g. - name: Configure OVN bridge mapping openvswitch_db: state: present table: open_vswitch record: . col: external_ids key: ovn-bridge-mappings value: '"vmnet-static:br-vmnet-st,vmnet-dynamic:br-vmnet-dyn"' Previous behaviour was splitting the value and raised an exception. (cherry picked from commit 3c53e2f) * openvswitch_db: Make 'key' parameter optional (#42110) The OVSDB schema consists of typed columns. The 'key' parameter is required only for columns with type of a 'map'. This patch makes 'key' an optional parameter to allow setting values for other column types like int. Fixes #42108 (cherry picked from commit 26b0908) (cherry picked from commit 0109771)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
networking
Network category
support:network
This issue/PR relates to code supported by the Ansible Network Team.
SUMMARY
Open vSwitch schema provides columns with various types like int, bool, string that don't require a "key" which is required only by a map type. Current openvswitch_db ansible module has a 'key' parameter as required. This makes it not possible to set columns that are types other than a map.
ISSUE TYPE
COMPONENT NAME
openvswitch_db
ANSIBLE VERSION
CONFIGURATION
DEFAULT_LOG_PATH(/etc/ansible/ansible.cfg) = /opt/stack/new/ansible.log
DEFAULT_ROLES_PATH(/etc/ansible/ansible.cfg) = [u'/etc/ansible/roles', u'/opt/stack/new/networking-ansible/etc/ansible/roles']
OS / ENVIRONMENT
CentOS Linux release 7.5.1804 (Core)
STEPS TO REPRODUCE
EXPECTED RESULTS
The 'tag' column for port0 at Port table should be set to 1
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: