Users Digest, Vol 27, Issue 5

Aleksey Kashin aleksey.kashin at gmail.com
Tue Feb 7 00:39:36 EST 2017


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","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","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","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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170207/276c50b3/attachment-0001.html>


More information about the Users mailing list