Hi Aleksey,
When asked for, your CPE is returning ParameterNames and then the ACS is
trying to get ParamaterValues for each of the names (as shown below),
but the CPE is faulting when one of them is being queried.
When TASK_PARAMETERS_BATCH_SIZE is the default of 32, there will be a
bunch or requests that are batched up to be processed in a single
request/response from the server.
1.
# RESPONSE Tue Feb 07 2017 10:26:13 GMT+0500 (+05)
2.
{"Server":"GenieACS/1.0.7","SOAPServer":"GenieACS/1.0.7","Content-Type":"text/xml;
charset=\"utf-8\""}
3.
<?xml version="1.0" encoding="UTF-8"?>
4.
<soap-env:Envelope
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">58995a7266db552d4e7e8091</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterValues><ParameterNames
soap-enc:arrayType="xsd:string[32]"><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.ConnectionType</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.Name</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.Uptime</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.LastConnectionError</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.NATEnabled</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.AddressingType</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.ExternalIPAddress</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.SubnetMask</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.DefaultGateway</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.DNSOverrideAllowed</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.DNSServers</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.MaxMTUSize</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.MACAddress</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.ConnectionTrigger</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_VLANEnable</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_VLANID</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_8021P</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_RemainingLease</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_IGMPWanEnable</string><string>InternetGatewayDevice.WANDevice.2.WANConnectionDevice.2.WANIPConnection.1.X_ZTE-COM_LanInterface</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Enable</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Status</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.MACAddress</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.MaxBitRate</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.DuplexMode</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Stats.BytesSent</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Stats.BytesReceived</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Stats.PacketsSent</string><string>InternetGatewayDevice.WANDevice.2.WANEthernetInterfaceConfig.Stats.PacketsReceived</string><string>InternetGatewayDevice.X_ZTE-COM_FTP.Enable</string><string>InternetGatewayDevice.X_ZTE-COM_FTP.Security</string><string>InternetGatewayDevice.X_ZTE-COM_FTP.UserName</string></ParameterNames></cwmp:GetParameterValues></soap-env:Body></soap-env:Envelope>
1.
# REQUEST Tue Feb 07 2017 10:26:13 GMT+0500 (+05)
2.
{"host":"10.19.14.2:7547","content-type":"text/xml;
charset=\"utf-8\"","connection":"TE","te":"trailers","content-length":"649","cookie":"session=75c18266010be4a7"}
3.
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><SOAP-ENV:Header><cwmp:ID
SOAP-ENV:mustUnderstand="1">58995a7266db552d4e7e8091</cwmp:ID></SOAP-ENV:Header><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>Server</faultcode><faultstring>CWMP
fault</faultstring><detail><cwmp:Fault><FaultCode>9005</FaultCode><FaultString>Invalid
parameter
name</FaultString></cwmp:Fault></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
But which one caused the Fault?
Have a look at this post, which might help you track it down, and report
the issue to your CPE vendor.
https://www.mail-archive.com/[email protected]/msg00708.html
On 07/02/17 16:39, Aleksey Kashin wrote:
Hi, Sergio
Thank you for help.
I tried use v1.0.7 but genieacs doesn't fetch full Data Model. The list of
Device parameters in GUI is very small and only contents information from
cwmp:Inform packet. Like this (from debug file)
# REQUEST Tue Feb 07 2017 10:23:10 GMT+0500 (+05)
{"host":"10.19.14.2:7547
<http://10.19.14.2:7547>","content-type":"text/xml;
charset=\"utf-8\"","keep-alive":"","connection":"TE,
Keep-Alive","te":"trailers","content-length":"2184"}
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><SOAP-ENV:Header><cwmp:ID
SOAP-ENV:mustUnderstand="1">5424</cwmp:ID></SOAP-ENV:Header><SOAP-ENV:Body><cwmp:Inform><DeviceId><Manufacturer>ZTE</Manufacturer><OUI>0019C6</OUI><ProductClass>ZXHN
H198A</ProductClass><SerialNumber>ZTEEH5ME3500001</SerialNumber></DeviceId><Event
SOAP-ENC:arrayType="cwmp:EventStruct[1]"><EventStruct><EventCode>2
PERIODIC</EventCode><CommandKey></CommandKey></EventStruct></Event><MaxEnvelopes>1</MaxEnvelopes><CurrentTime>2017-02-07T05:24:06</CurrentTime><RetryCount>0</RetryCount><ParameterList
SOAP-ENC:arrayType="cwmp:ParameterValueStruct[8]"><ParameterValueStruct><Name>InternetGatewayDevice.DeviceSummary</Name><Value
xsi:type="xsd:string"></Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.DeviceInfo.SpecVersion</Name><Value
xsi:type="xsd:string">1.0</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.DeviceInfo.HardwareVersion</Name><Value
xsi:type="xsd:string">V1.0.0</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.DeviceInfo.SoftwareVersion</Name><Value
xsi:type="xsd:string">V1.0.0_ERT4</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.DeviceInfo.ProvisioningCode</Name><Value
xsi:type="xsd:string">TLCO.GRP2</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.ManagementServer.ConnectionRequestURL</Name><Value
xsi:type="xsd:string">http://10.19.14.9:58000</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.ManagementServer.ParameterKey</Name><Value
xsi:type="xsd:string">No data in
DB</Value></ParameterValueStruct><ParameterValueStruct><Name>InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.2.ExternalIPAddress</Name><Value
xsi:type="xsd:string">10.19.14.9</Value></ParameterValueStruct></ParameterList></cwmp:Inform></SOAP-ENV:Body></SOAP-ENV:Envelope>
# RESPONSE Tue Feb 07 2017 10:23:10 GMT+0500 (+05)
{"Server":"GenieACS/1.0.7","SOAPServer":"GenieACS/1.0.7","Content-Type":"text/xml;
charset=\"utf-8\"","Set-Cookie":"session=23a8ee09d78ef30a"} <?xml
version="1.0" encoding="UTF-8"?> <soap-env:Envelope
xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><soap-env:Header><cwmp:ID
soap-env:mustUnderstand="1">5424</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:InformResponse><MaxEnvelopes>1</MaxEnvelopes></cwmp:InformResponse></soap-env:Body></soap-env:Envelope>
# REQUEST Tue Feb 07 2017 10:23:10 GMT+0500 (+05)
{"host":"109.194.144.22:7547
<http://109.194.144.22:7547>","content-type":"text/xml;
charset=\"utf-8\"","connection":"TE","te":"trailers","content-length":"0","cookie":"session=23a8ee09d78ef30a"}
# RESPONSE Tue Feb 07 2017 10:23:10 GMT+0500 (+05)
{"Server":"GenieACS/1.0.7","SOAPServer":"GenieACS/1.0.7"}
When I click refresh button from GUI in log I see the following string
7 Feb 10:16:10 - 0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Inform (2
PERIODIC); retry count 0 7 Feb 10:16:20 -
0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Inform (6 CONNECTION REQUEST);
retry count 0 7 Feb 10:16:20 - 0019C6-ZXHN%20H198A-ZTEEH5ME3500001:
Started task getParameterValues(589958242c37b8390e2a09d1) 7 Feb
10:16:20 - 0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Completed task
getParameterValues(589958242c37b8390e2a09d1) 7 Feb 10:17:10 -
0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Inform (2 PERIODIC); retry count 0
but full Data Model doesn't fetch,..
I tried to add preset to fetch full Data model with Configurations Refresh
InternetGatewayDevice every 60 seconds but this task is failed
7 Feb 10:27:10 - 0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Inform (2
PERIODIC); retry count 0 7 Feb 10:27:10 -
0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Presets discrepancy found 7 Feb
10:27:10 - 0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Started task
refreshObject(58995aae84b5ed294e5e7cd9) 7 Feb 10:27:12 -
0019C6-ZXHN%20H198A-ZTEEH5ME3500001: Fault response for task
58995aae84b5ed294e5e7cd9. Retrying after 300 seconds.
The last strings from dump file with fault code 9005
1.
# REQUEST Tue Feb 07 2017 10:29:12 GMT+0500 (+05)
2.
{"host":"10.19.14.2:7547
<http://10.19.14.2:7547>","content-type":"text/xml;
charset=\"utf-8\"","connection":"TE","te":"trailers","content-length":"649","cookie":"session=c83ad5b8c5b7e4aa"}
3.
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0"><SOAP-ENV:Header><cwmp:ID
SOAP-ENV:mustUnderstand="1">58995b266ea12c2c4ea2328b</cwmp:ID></SOAP-ENV:Header><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>Server</faultcode><faultstring>CWMP
fault</faultstring><detail><cwmp:Fault><FaultCode>9005</FaultCode><FaultString>Invalid
parameter
name</FaultString></cwmp:Fault></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Here I put the full dump file (size more than 1MB) -
https://paste.ee/p/Uqfo2
> Hi, Aleksey
>
> I didn't even try it, you're running now v1.1-alpha of GenieACS. Zaid is
> composing some documentation to explain all these things in a couple of
> weeks.
> For now, if you want to try GenieACS now, you can stick to v1.0.7 which is
> a stable version, where documentation is a bit more available.
>
> Good luck! If it helps you, I made a guide for v1.0.7:
>https://github.com/zaidka/genieacs/wiki/Installation-in-Ubuntu-14.04-Server,-64-bit
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users