Hello
as our load balancer I've to setup nginx 1.13.8 configured in HA on 2 nodes
by Keepalived in front of our 3 masters Origin 3.7 containerized
installation ;
seemingly on the 3 masters the master-config.yaml got configured fine by
the Ansible run :
admissionConfig:
pluginConfig:
BuildDefaults:
configuration:
apiVersion: v1
env: []
kind: BuildDefaultsConfig
resources:
limits: {}
requests: {}
BuildOverrides:
configuration:
apiVersion: v1
kind: BuildOverridesConfig
PodPreset:
configuration:
apiVersion: v1
disable: false
kind: DefaultAdmissionConfig
openshift.io/ImagePolicy:
configuration:
apiVersion: v1
executionRules:
- matchImageAnnotations:
- key: images.openshift.io/deny-execution
value: 'true'
name: execution-denied
onResources:
- resource: pods
- resource: builds
reject: true
skipOnResolutionFailure: true
kind: ImagePolicyConfig
aggregatorConfig:
proxyClientInfo:
certFile: aggregator-front-proxy.crt
keyFile: aggregator-front-proxy.key
apiLevels:
- v1
apiVersion: v1
assetConfig:
extensionScripts:
- /etc/origin/master/openshift-ansible-catalog-console.js
logoutURL: ""
masterPublicURL: https://hosting.wfp.org:8443 <----
metricsPublicURL: https://metrics.hosting.wfp.org/hawkular/metrics
publicURL: https://hosting.wfp.org:8443/console/ <----
servingInfo:
bindAddress: 0.0.0.0:8443
bindNetwork: tcp4
certFile: master.server.crt
clientCA: ""
keyFile: master.server.key
maxRequestsInFlight: 0
requestTimeoutSeconds: 0
authConfig:
requestHeader:
clientCA: front-proxy-ca.crt
clientCommonNames:
- aggregator-front-proxy
extraHeaderPrefixes:
- X-Remote-Extra-
groupHeaders:
- X-Remote-Group
usernameHeaders:
- X-Remote-User
controllerConfig:
election:
lockName: openshift-master-controllers
serviceServingCert:
signer:
certFile: service-signer.crt
keyFile: service-signer.key
controllers: '*'
corsAllowedOrigins:
- (?i)//127\.0\.0\.1(:|\z)
- (?i)//localhost(:|\z)
- (?i)//10\.11\.41\.85(:|\z)
- (?i)//kubernetes\.default(:|\z)
- (?i)//kubernetes\.default\.svc\.cluster\.local(:|\z)
- (?i)//kubernetes(:|\z)
- (?i)//openshift\.default(:|\z)
- (?i)//hosting\.wfp\.org(:|\z)
- (?i)//openshift\.default\.svc(:|\z)
- (?i)//172\.30\.0\.1(:|\z)
- (?i)//wfpromshap21\.global\.wfp\.org(:|\z)
- (?i)//openshift\.default\.svc\.cluster\.local(:|\z)
- (?i)//kubernetes\.default\.svc(:|\z)
- (?i)//openshift(:|\z)
dnsConfig:
bindAddress: 0.0.0.0:8053
bindNetwork: tcp4
etcdClientInfo:
ca: master.etcd-ca.crt
certFile: master.etcd-client.crt
keyFile: master.etcd-client.key
urls:
- https://wfpromshap21.global.wfp.org:2379
- https://wfpromshap22.global.wfp.org:2379
- https://wfpromshap23.global.wfp.org:2379
etcdStorageConfig:
kubernetesStoragePrefix: kubernetes.io
kubernetesStorageVersion: v1
openShiftStoragePrefix: openshift.io
openShiftStorageVersion: v1
imageConfig:
format: openshift/origin-${component}:${version}
latest: false
kind: MasterConfig
kubeletClientInfo:
ca: ca-bundle.crt
certFile: master.kubelet-client.crt
keyFile: master.kubelet-client.key
port: 10250
kubernetesMasterConfig:
apiServerArguments:
runtime-config:
- apis/settings.k8s.io/v1alpha1=true
storage-backend:
- etcd3
storage-media-type:
- application/vnd.kubernetes.protobuf
controllerArguments:
masterCount: 3
masterIP: 10.11.41.85
podEvictionTimeout:
proxyClientInfo:
certFile: master.proxy-client.crt
keyFile: master.proxy-client.key
schedulerArguments:
schedulerConfigFile: /etc/origin/master/scheduler.json
servicesNodePortRange: ""
servicesSubnet: 172.30.0.0/16
staticNodeNames: []
masterClients:
externalKubernetesClientConnectionOverrides:
acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
burst: 400
contentType: application/vnd.kubernetes.protobuf
qps: 200
externalKubernetesKubeConfig: ""
openshiftLoopbackClientConnectionOverrides:
acceptContentTypes: application/vnd.kubernetes.protobuf,application/json
burst: 600
contentType: application/vnd.kubernetes.protobuf
qps: 300
openshiftLoopbackKubeConfig: openshift-master.kubeconfig
masterPublicURL: https://hosting.wfp.org:8443 <----
networkConfig:
clusterNetworkCIDR: 10.128.0.0/14
clusterNetworks:
- cidr: 10.128.0.0/14
hostSubnetLength: 9
externalIPNetworkCIDRs:
- 0.0.0.0/0
hostSubnetLength: 9
networkPluginName: redhat/openshift-ovs-multitenant
serviceNetworkCIDR: 172.30.0.0/16
oauthConfig:
assetPublicURL: https://hosting.wfp.org:8443/console/ <----
grantConfig:
method: auto
identityProviders:
- challenge: true
login: true
mappingMethod: claim
name: htpasswd_auth
provider:
apiVersion: v1
file: /etc/origin/master/htpasswd
kind: HTPasswdPasswordIdentityProvider
masterCA: ca-bundle.crt
masterPublicURL: https://hosting.wfp.org:8443 <----
masterURL: https://wfpromshap21.global.wfp.org:8443
sessionConfig:
sessionMaxAgeSeconds: 3600
sessionName: ssn
sessionSecretsFile: /etc/origin/master/session-secrets.yaml
tokenConfig:
accessTokenMaxAgeSeconds: 86400
authorizeTokenMaxAgeSeconds: 500
pauseControllers: false
policyConfig:
bootstrapPolicyFile: /etc/origin/master/policy.json
openshiftInfrastructureNamespace: openshift-infra
openshiftSharedResourcesNamespace: openshift
projectConfig:
defaultNodeSelector: ""
projectRequestMessage: ""
projectRequestTemplate: ""
securityAllocator:
mcsAllocatorRange: s0:/2
mcsLabelsPerProject: 5
uidAllocatorRange: 1000000000-1999999999/10000
routingConfig:
subdomain: hosting.wfp.org <----
serviceAccountConfig:
limitSecretReferences: false
managedNames:
- default
- builder
- deployer
masterCA: ca-bundle.crt
privateKeyFile: serviceaccounts.private.key
publicKeyFiles:
- serviceaccounts.public.key
servingInfo:
bindAddress: 0.0.0.0:8443
bindNetwork: tcp4
certFile: master.server.crt
clientCA: ca.crt
keyFile: master.server.key
maxRequestsInFlight: 500
requestTimeoutSeconds: 3600
volumeConfig:
dynamicProvisioningEnabled: true
this is the nginx 1.13.8 counterpart provided by a colleagues of mines, I
don't know nginx very well.
upstream openshift-cluster-webconsole {
ip_hash;
server wfpromshap21.global.wfp.org:8443;
server wfpromshap22.global.wfp.org:8443;
server wfpromshap23.global.wfp.org:8443;
}
server {
listen 10.11.40.99:80;
server_name hosting.wfp.org;
return 301 https://$server_name$request_uri;
}
server {
listen 10.11.40.99:443;
server_name hosting.wfp.org;
access_log /var/log/nginx/hosting-console-access.log;
#access_log off;
error_log /var/log/nginx/hosting-console-error.log crit;
include /data/nginx/includes.d/ssl-wfp.conf;
include /data/nginx/includes.d/error.conf;
include /data/nginx/includes.d/proxy.conf;
proxy_set_header Host $host;
location / {
proxy_pass https://openshift-cluster-webconsole;
}
}
the result is this auth error when I try to reach
https://hosting.wfp.org:8443/
Please what may I check ? Right now the Origin Web console is unusable.
Is there any well tested procedure that I might follow to configure nginx
1.13.8 in front of haproxy as it's installed by Origin 3.7 ?
Many thanks,
Fabio Martinelli
object(Zend_Controller_Exception)#217 (8) {
["_previous":"Zend_Exception":private] => NULL
["message":protected] => string(1028) "A value for the identity was
not provided prior to authentication with Zend_Auth_Adapter_DbTable.#0
/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php(366):
Zend_Auth_Adapter_DbTable->_authenticateSetup()
#1 /srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth.php(117):
Zend_Auth_Adapter_DbTable->authenticate()
#2
/srv/www/ada-framework/prome/releases/20171115114915/lib/ADA/Controller/Plugin/Securite/HTTPAuthorization.php(119):
Zend_Auth->authenticate(Object(Systeme_Auth_Adapter))
#3
/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php(309):
ADA_Controller_Plugin_Securite_HTTPAuthorization->preDispatch(Object(Zend_Controller_Request_Http))
#4
/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php(941):
Zend_Controller_Plugin_Broker->preDispatch(Object(Zend_Controller_Request_Http))
#5 /srv/www/ada-framework/prome/releases/20171115114915/api/index.php(108):
Zend_Controller_Front->dispatch()
#6 {main}"
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(90)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php"
["line":protected] => int(312)
["trace":"Exception":private] => array(2) {
[0] => array(6) {
["file"] => string(82)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php"
["line"] => int(941)
["function"] => string(11) "preDispatch"
["class"] => string(29) "Zend_Controller_Plugin_Broker"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Zend_Controller_Request_Http)#210 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(5) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
["error_handler"] => object(ArrayObject)#214 (1) {
["storage":"ArrayObject":private] => array(3) {
["exception"] => object(Zend_Auth_Adapter_Exception)#212 (8) {
["_previous":"Zend_Exception":private] => NULL
["message":protected] => string(97) "A value for the
identity was not provided prior to authentication with
Zend_Auth_Adapter_DbTable."
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line":protected] => int(418)
["trace":"Exception":private] => array(6) {
[0] => array(6) {
["file"] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line"] => int(366)
["function"] => string(18) "_authenticateSetup"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[1] => array(6) {
["file"] => string(70)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth.php"
["line"] => int(117)
["function"] => string(12) "authenticate"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[2] => array(6) {
["file"] => string(109)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/ADA/Controller/Plugin/Securite/HTTPAuthorization.php"
["line"] => int(119)
["function"] => string(12) "authenticate"
["class"] => string(9) "Zend_Auth"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Systeme_Auth_Adapter)#41 (11) {
["_zendDb":protected] =>
object(ADA_Db_Adapter_Pdo_Mysql)#31 (12) {
["_defaultStmtClass":protected] =>
string(20) "ADA_Db_Statement_Pdo"
["_pdoType":protected] => string(5) "mysql"
["_numericDataTypes":protected] => array(16) {
[0] => int(0)
[1] => int(1)
[2] => int(2)
["INT"] => int(0)
["INTEGER"] => int(0)
["MEDIUMINT"] => int(0)
["SMALLINT"] => int(0)
["TINYINT"] => int(0)
["BIGINT"] => int(1)
["SERIAL"] => int(1)
["DEC"] => int(2)
["DECIMAL"] => int(2)
["DOUBLE"] => int(2)
["DOUBLE PRECISION"] => int(2)
["FIXED"] => int(2)
["FLOAT"] => int(2)
}
["_config":protected] => array(8) {
["host"] => string(9) "127.0.0.1"
["username"] => string(5) "comet"
["password"] => string(9) "C0m3t.w14"
["dbname"] => string(10) "comet_beta"
["charset"] => NULL
["persistent"] => bool(false)
["options"] => array(3) {
["caseFolding"] => int(0)
["autoQuoteIdentifiers"] => bool(true)
["fetchMode"] => int(2)
}
["driver_options"] => array(0) {
}
}
["_fetchMode":protected] => int(2)
["_profiler":protected] =>
object(Zend_Db_Profiler)#34 (4) {
["_queryProfiles":protected] => array(0) {
}
["_enabled":protected] => bool(false)
["_filterElapsedSecs":protected] => NULL
["_filterTypes":protected] => NULL
}
["_defaultProfilerClass":protected] =>
string(16) "Zend_Db_Profiler"
["_connection":protected] => object(PDO)#30 (0) {
}
["_caseFolding":protected] => int(0)
["_autoQuoteIdentifiers":protected] => bool(true)
["_allowSerialization":protected] => bool(true)
["_autoReconnectOnUnserialize":protected]
=> bool(false)
}
["_dbSelect":protected] => NULL
["_tableName":protected] => string(7) "USAGERS"
["_identityColumn":protected] => string(3) "nom"
["_credentialColumn":protected] =>
string(12) "mot_de_passe"
["_identity":protected] => string(0) ""
["_credential":protected] => string(0) ""
["_credentialTreatment":protected] =>
string(38) "MD5(?) AND active = 1 AND role='admin'"
["_authenticateResultInfo":protected] => NULL
["_resultRow":protected] => NULL
["_ambiguityIdentity":protected] => bool(false)
}
}
}
[3] => array(6) {
["file"] => string(90)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php"
["line"] => int(309)
["function"] => string(11) "preDispatch"
["class"] => string(48)
"ADA_Controller_Plugin_Securite_HTTPAuthorization"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[4] => array(6) {
["file"] => string(82)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php"
["line"] => int(941)
["function"] => string(11) "preDispatch"
["class"] => string(29) "Zend_Controller_Plugin_Broker"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[5] => array(6) {
["file"] => string(66)
"/srv/www/ada-framework/prome/releases/20171115114915/api/index.php"
["line"] => int(108)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] => NULL
}
["type"] => string(15) "EXCEPTION_OTHER"
["request"] => object(Zend_Controller_Request_Http)#213 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(4) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "index"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "index"
["_actionKey":protected] => string(6) "action"
}
}
}
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "error"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "error"
["_actionKey":protected] => string(6) "action"
}
}
}
[1] => array(6) {
["file"] => string(66)
"/srv/www/ada-framework/prome/releases/20171115114915/api/index.php"
["line"] => int(108)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] =>
object(Zend_Auth_Adapter_Exception)#215 (8) {
["_previous":"Zend_Exception":private] => NULL
["message":protected] => string(97) "A value for the identity was
not provided prior to authentication with Zend_Auth_Adapter_DbTable."
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line":protected] => int(418)
["trace":"Exception":private] => array(6) {
[0] => array(6) {
["file"] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line"] => int(366)
["function"] => string(18) "_authenticateSetup"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[1] => array(6) {
["file"] => string(70)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth.php"
["line"] => int(117)
["function"] => string(12) "authenticate"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[2] => array(6) {
["file"] => string(109)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/ADA/Controller/Plugin/Securite/HTTPAuthorization.php"
["line"] => int(119)
["function"] => string(12) "authenticate"
["class"] => string(9) "Zend_Auth"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Systeme_Auth_Adapter)#41 (11) {
["_zendDb":protected] => object(ADA_Db_Adapter_Pdo_Mysql)#31 (12) {
["_defaultStmtClass":protected] => string(20)
"ADA_Db_Statement_Pdo"
["_pdoType":protected] => string(5) "mysql"
["_numericDataTypes":protected] => array(16) {
[0] => int(0)
[1] => int(1)
[2] => int(2)
["INT"] => int(0)
["INTEGER"] => int(0)
["MEDIUMINT"] => int(0)
["SMALLINT"] => int(0)
["TINYINT"] => int(0)
["BIGINT"] => int(1)
["SERIAL"] => int(1)
["DEC"] => int(2)
["DECIMAL"] => int(2)
["DOUBLE"] => int(2)
["DOUBLE PRECISION"] => int(2)
["FIXED"] => int(2)
["FLOAT"] => int(2)
}
["_config":protected] => array(8) {
["host"] => string(9) "127.0.0.1"
["username"] => string(5) "comet"
["password"] => string(9) "C0m3t.w14"
["dbname"] => string(10) "comet_beta"
["charset"] => NULL
["persistent"] => bool(false)
["options"] => array(3) {
["caseFolding"] => int(0)
["autoQuoteIdentifiers"] => bool(true)
["fetchMode"] => int(2)
}
["driver_options"] => array(0) {
}
}
["_fetchMode":protected] => int(2)
["_profiler":protected] => object(Zend_Db_Profiler)#34 (4) {
["_queryProfiles":protected] => array(0) {
}
["_enabled":protected] => bool(false)
["_filterElapsedSecs":protected] => NULL
["_filterTypes":protected] => NULL
}
["_defaultProfilerClass":protected] => string(16)
"Zend_Db_Profiler"
["_connection":protected] => object(PDO)#30 (0) {
}
["_caseFolding":protected] => int(0)
["_autoQuoteIdentifiers":protected] => bool(true)
["_allowSerialization":protected] => bool(true)
["_autoReconnectOnUnserialize":protected] => bool(false)
}
["_dbSelect":protected] => NULL
["_tableName":protected] => string(7) "USAGERS"
["_identityColumn":protected] => string(3) "nom"
["_credentialColumn":protected] => string(12) "mot_de_passe"
["_identity":protected] => string(0) ""
["_credential":protected] => string(0) ""
["_credentialTreatment":protected] => string(38) "MD5(?)
AND active = 1 AND role='admin'"
["_authenticateResultInfo":protected] => NULL
["_resultRow":protected] => NULL
["_ambiguityIdentity":protected] => bool(false)
}
}
}
[3] => array(6) {
["file"] => string(90)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php"
["line"] => int(309)
["function"] => string(11) "preDispatch"
["class"] => string(48)
"ADA_Controller_Plugin_Securite_HTTPAuthorization"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Zend_Controller_Request_Http)#210 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(5) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
["error_handler"] => object(ArrayObject)#214 (1) {
["storage":"ArrayObject":private] => array(3) {
["exception"] => object(Zend_Auth_Adapter_Exception)#212 (8) {
["_previous":"Zend_Exception":private] => NULL
["message":protected] => string(97) "A value for
the identity was not provided prior to authentication with
Zend_Auth_Adapter_DbTable."
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line":protected] => int(418)
["trace":"Exception":private] => array(6) {
[0] => array(6) {
["file"] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line"] => int(366)
["function"] => string(18) "_authenticateSetup"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[1] => array(6) {
["file"] => string(70)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth.php"
["line"] => int(117)
["function"] => string(12) "authenticate"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[2] => array(6) {
["file"] => string(109)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/ADA/Controller/Plugin/Securite/HTTPAuthorization.php"
["line"] => int(119)
["function"] => string(12) "authenticate"
["class"] => string(9) "Zend_Auth"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Systeme_Auth_Adapter)#41 (11) {
["_zendDb":protected] =>
object(ADA_Db_Adapter_Pdo_Mysql)#31 (12) {
["_defaultStmtClass":protected] =>
string(20) "ADA_Db_Statement_Pdo"
["_pdoType":protected] => string(5) "mysql"
["_numericDataTypes":protected] => array(16) {
[0] => int(0)
[1] => int(1)
[2] => int(2)
["INT"] => int(0)
["INTEGER"] => int(0)
["MEDIUMINT"] => int(0)
["SMALLINT"] => int(0)
["TINYINT"] => int(0)
["BIGINT"] => int(1)
["SERIAL"] => int(1)
["DEC"] => int(2)
["DECIMAL"] => int(2)
["DOUBLE"] => int(2)
["DOUBLE PRECISION"] => int(2)
["FIXED"] => int(2)
["FLOAT"] => int(2)
}
["_config":protected] => array(8) {
["host"] => string(9) "127.0.0.1"
["username"] => string(5) "comet"
["password"] => string(9) "C0m3t.w14"
["dbname"] => string(10) "comet_beta"
["charset"] => NULL
["persistent"] => bool(false)
["options"] => array(3) {
["caseFolding"] => int(0)
["autoQuoteIdentifiers"] => bool(true)
["fetchMode"] => int(2)
}
["driver_options"] => array(0) {
}
}
["_fetchMode":protected] => int(2)
["_profiler":protected] =>
object(Zend_Db_Profiler)#34 (4) {
["_queryProfiles":protected] => array(0) {
}
["_enabled":protected] => bool(false)
["_filterElapsedSecs":protected] => NULL
["_filterTypes":protected] => NULL
}
["_defaultProfilerClass":protected] =>
string(16) "Zend_Db_Profiler"
["_connection":protected] => object(PDO)#30 (0) {
}
["_caseFolding":protected] => int(0)
["_autoQuoteIdentifiers":protected] => bool(true)
["_allowSerialization":protected] => bool(true)
["_autoReconnectOnUnserialize":protected] => bool(false)
}
["_dbSelect":protected] => NULL
["_tableName":protected] => string(7) "USAGERS"
["_identityColumn":protected] => string(3) "nom"
["_credentialColumn":protected] =>
string(12) "mot_de_passe"
["_identity":protected] => string(0) ""
["_credential":protected] => string(0) ""
["_credentialTreatment":protected] =>
string(38) "MD5(?) AND active = 1 AND role='admin'"
["_authenticateResultInfo":protected] => NULL
["_resultRow":protected] => NULL
["_ambiguityIdentity":protected] => bool(false)
}
}
}
[3] => array(6) {
["file"] => string(90)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php"
["line"] => int(309)
["function"] => string(11) "preDispatch"
["class"] => string(48)
"ADA_Controller_Plugin_Securite_HTTPAuthorization"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[4] => array(6) {
["file"] => string(82)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php"
["line"] => int(941)
["function"] => string(11) "preDispatch"
["class"] => string(29) "Zend_Controller_Plugin_Broker"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[5] => array(6) {
["file"] => string(66)
"/srv/www/ada-framework/prome/releases/20171115114915/api/index.php"
["line"] => int(108)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] => NULL
}
["type"] => string(15) "EXCEPTION_OTHER"
["request"] => object(Zend_Controller_Request_Http)#213 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(4) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "index"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "index"
["_actionKey":protected] => string(6) "action"
}
}
}
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "error"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "error"
["_actionKey":protected] => string(6) "action"
}
}
}
[4] => array(6) {
["file"] => string(82)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php"
["line"] => int(941)
["function"] => string(11) "preDispatch"
["class"] => string(29) "Zend_Controller_Plugin_Broker"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Zend_Controller_Request_Http)#210 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(5) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
["error_handler"] => object(ArrayObject)#214 (1) {
["storage":"ArrayObject":private] => array(3) {
["exception"] => object(Zend_Auth_Adapter_Exception)#212 (8) {
["_previous":"Zend_Exception":private] => NULL
["message":protected] => string(97) "A value for
the identity was not provided prior to authentication with
Zend_Auth_Adapter_DbTable."
["string":"Exception":private] => string(0) ""
["code":protected] => int(0)
["file":protected] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line":protected] => int(418)
["trace":"Exception":private] => array(6) {
[0] => array(6) {
["file"] => string(86)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth/Adapter/DbTable.php"
["line"] => int(366)
["function"] => string(18) "_authenticateSetup"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[1] => array(6) {
["file"] => string(70)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Auth.php"
["line"] => int(117)
["function"] => string(12) "authenticate"
["class"] => string(25) "Zend_Auth_Adapter_DbTable"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
[2] => array(6) {
["file"] => string(109)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/ADA/Controller/Plugin/Securite/HTTPAuthorization.php"
["line"] => int(119)
["function"] => string(12) "authenticate"
["class"] => string(9) "Zend_Auth"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => object(Systeme_Auth_Adapter)#41 (11) {
["_zendDb":protected] =>
object(ADA_Db_Adapter_Pdo_Mysql)#31 (12) {
["_defaultStmtClass":protected] =>
string(20) "ADA_Db_Statement_Pdo"
["_pdoType":protected] => string(5) "mysql"
["_numericDataTypes":protected] => array(16) {
[0] => int(0)
[1] => int(1)
[2] => int(2)
["INT"] => int(0)
["INTEGER"] => int(0)
["MEDIUMINT"] => int(0)
["SMALLINT"] => int(0)
["TINYINT"] => int(0)
["BIGINT"] => int(1)
["SERIAL"] => int(1)
["DEC"] => int(2)
["DECIMAL"] => int(2)
["DOUBLE"] => int(2)
["DOUBLE PRECISION"] => int(2)
["FIXED"] => int(2)
["FLOAT"] => int(2)
}
["_config":protected] => array(8) {
["host"] => string(9) "127.0.0.1"
["username"] => string(5) "comet"
["password"] => string(9) "C0m3t.w14"
["dbname"] => string(10) "comet_beta"
["charset"] => NULL
["persistent"] => bool(false)
["options"] => array(3) {
["caseFolding"] => int(0)
["autoQuoteIdentifiers"] => bool(true)
["fetchMode"] => int(2)
}
["driver_options"] => array(0) {
}
}
["_fetchMode":protected] => int(2)
["_profiler":protected] =>
object(Zend_Db_Profiler)#34 (4) {
["_queryProfiles":protected] => array(0) {
}
["_enabled":protected] => bool(false)
["_filterElapsedSecs":protected] => NULL
["_filterTypes":protected] => NULL
}
["_defaultProfilerClass":protected] =>
string(16) "Zend_Db_Profiler"
["_connection":protected] => object(PDO)#30 (0) {
}
["_caseFolding":protected] => int(0)
["_autoQuoteIdentifiers":protected] => bool(true)
["_allowSerialization":protected] => bool(true)
["_autoReconnectOnUnserialize":protected] => bool(false)
}
["_dbSelect":protected] => NULL
["_tableName":protected] => string(7) "USAGERS"
["_identityColumn":protected] => string(3) "nom"
["_credentialColumn":protected] =>
string(12) "mot_de_passe"
["_identity":protected] => string(0) ""
["_credential":protected] => string(0) ""
["_credentialTreatment":protected] =>
string(38) "MD5(?) AND active = 1 AND role='admin'"
["_authenticateResultInfo":protected] => NULL
["_resultRow":protected] => NULL
["_ambiguityIdentity":protected] => bool(false)
}
}
}
[3] => array(6) {
["file"] => string(90)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Plugin/Broker.php"
["line"] => int(309)
["function"] => string(11) "preDispatch"
["class"] => string(48)
"ADA_Controller_Plugin_Securite_HTTPAuthorization"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[4] => array(6) {
["file"] => string(82)
"/srv/www/ada-framework/prome/releases/20171115114915/lib/Zend/Controller/Front.php"
["line"] => int(941)
["function"] => string(11) "preDispatch"
["class"] => string(29) "Zend_Controller_Plugin_Broker"
["type"] => string(2) "->"
["args"] => array(1) {
[0] => *RECURSION*
}
}
[5] => array(6) {
["file"] => string(66)
"/srv/www/ada-framework/prome/releases/20171115114915/api/index.php"
["line"] => int(108)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] => NULL
}
["type"] => string(15) "EXCEPTION_OTHER"
["request"] => object(Zend_Controller_Request_Http)#213 (15) {
["_paramSources":protected] => array(2) {
[0] => string(4) "_GET"
[1] => string(5) "_POST"
}
["_requestUri":protected] => string(1) "/"
["_baseUrl":protected] => string(0) ""
["_basePath":protected] => NULL
["_pathInfo":protected] => string(1) "/"
["_params":protected] => array(4) {
["controller"] => string(5) "index"
["action"] => string(5) "index"
["module"] => string(7) "default"
["format"] => string(4) "json"
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "index"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "index"
["_actionKey":protected] => string(6) "action"
}
}
}
}
["_rawBody":protected] => NULL
["_aliases":protected] => array(0) {
}
["_dispatched":protected] => bool(false)
["_module":protected] => string(7) "default"
["_moduleKey":protected] => string(6) "module"
["_controller":protected] => string(5) "error"
["_controllerKey":protected] => string(10) "controller"
["_action":protected] => string(5) "error"
["_actionKey":protected] => string(6) "action"
}
}
}
[5] => array(6) {
["file"] => string(66)
"/srv/www/ada-framework/prome/releases/20171115114915/api/index.php"
["line"] => int(108)
["function"] => string(8) "dispatch"
["class"] => string(21) "Zend_Controller_Front"
["type"] => string(2) "->"
["args"] => array(0) {
}
}
}
["previous":"Exception":private] => NULL
}
}
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users