Starting from March 2nd ldap plugin jobs started to fail with next errors:
2017-03-06 01:03:44 - ERROR log_helpers.py:229 -- Failed:
'get_admin_node_ip'(
'self'=[<class 'fuelweb_test.models.environment.EnvironmentModel'>(0x7f66b08a1050), ip:None],
)
Traceback (most recent call last):
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/core/helpers/log_helpers.py", line 215, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/fuelweb_test/models/environment.py", line 154, in get_admin_node_ip
self.d_env.nodes().admin.get_ip_address_by_network_name('admin'))
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/fuelweb_test/models/environment.py", line 239, in d_env
full_config=self._config)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/devops/models/environment.py", line 294, in create_environment
address_pools=address_pools)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/devops/models/environment.py", line 335, in create_networks
reuse_network_pools=settings.REUSE_NETWORK_POOLS)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/devops/models/network.py", line 224, in network_create
reuse_network_pools=reuse_network_pools
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/devops/models/network.py", line 179, in _safe_create_network
if (cls.objects.filter(ip_network=str(ip_network)).exists() or
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/models/query.py", line 515, in exists
return self.query.has_results(using=self.db)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 409, in has_results
return bool(compiler.execute_sql(SINGLE))
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/jenkins/workspace/9.x.ldap_deploy_test.ubuntu.plugin-ldap.mld_no_proxy/venv_test/local/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute
return self.cursor.execute(sql, params)
ProgrammingError: relation "devops_network" does not exist
LINE 1: SELECT (1) AS "a" FROM "devops_network" WHERE "devops_networ...
I applied temporary fix for srv32 - now it uses devops2.9 db scheme, but this line reject usage of devops3 - https:/ /github. com/fuel- infra/jenkins- jobs/blob/ master/ servers/ product- ci/9.x/ ldap/builders/ run_plugin_ ldap_deploy_ test.sh# L6