Qlik Community

Qlik Sense EA Powertools

Discussion board where members can learn more about Qlik Sense Powertools.

Highlighted
sebastian_grah
New Contributor II

GMS issue with distributing MasterItems

I try to implement the GMS in my environment and almost everything whent as expected. Unfortunatly the final step of populating MasterItems in apps doesnt work.

The Metrics Library app does load the MasterItems shows them ans also recognises all other apps but wont recognise anly apps as subscribed or managed.

First thing i recognised during configuration, as i understand the instructions i have to create the gms tag, but the GMS will populate the tag on it's own depending on the custom property. This never happend, i can and had set the gsm-tag manualy as i tryed to resolve errors.

Nevertheless output from GMS-Testpage confirmes that apps to populate are found and the prosess attempts to update them. Here the output [Update Metrics in Apps]

Status output:

{"level":"info","msg":"POST update/all","meta":{"module":"routes"}}

{"level":"info","msg":"Checking for existence of gms tag in the qrs","meta":{"module":"doWork","method":"updateMetrics"}}

{"level":"info","msg":"Found pABI_Metrics in list of custom properties","meta":{"module":"doWork"}}

{"level":"debug","msg":"getMetricsTable","meta":{"module":"doWork"}}

{"level":"info","msg":"running getmetricshypercube.getMetricsTable","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"getDocId::running getdoc.getDocId","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::/app?filter=name eq 'pABI_Metrics'","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getDocId::qrsInteract::pABI_Metrics id:9ff15a44-3829-4347-82b8-3e33ba13b808","meta":{"module":"getdocid"}}

{"level":"debug","msg":"getMetricsTable::Metrics Library AppId: 9ff15a44-3829-4347-82b8-3e33ba13b808","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"getMetricsTable::Opening the doc with data","meta":{"module":"getmetricshypercube"}}

{"level":"debug","msg":"getMetricsTable::Creating session object","meta":{"module":"getmetricshypercube"}}

{"level":"info","msg":"Closing connection to Metrics Hypercube","meta":{"module":"getmetricshypercube"}}

{"level":"debug","msg":"getSubjectAreas","meta":{"module":"doWork"}}

{"level":"debug","msg":"subjectAreas:[\"pABI_Sales\",\"Sales\",\"R\"]","meta":{"module":"doWork"}}

{"level":"debug","msg":"Getting list of apps that have pABI_Metrics applied","meta":{"module":"doWork","method":"updateAll"}}

{"level":"info","msg":"Updating app:MasterItemCheck with id:e6375698-84ba-4ad2-9aa3-62b611b5261acurrently owned by PA\\grah_s","meta":{"module":"doWork","method":"updateAll","app":"MasterItemCheck"}}

{"level":"info","msg":"Calling updateMetrics on application:MasterItemCheck with id:e6375698-84ba-4ad2-9aa3-62b611b5261a","meta":{"module":"updateMetrics","method":"updateMetrics","app":"MasterItemCheck"}}

{"level":"info","msg":"[ 'Sales', 'R', 'pABI_Sales' ]","meta":{"module":"updateMetrics","method":"updateMetrics","app":"MasterItemCheck"}}

{"level":"info","msg":"Beginning Object Management","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined does not exist.  Creating","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined does not exist.  Creating","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Measure: undefined Created","meta":{"module":"createMeasure","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"debug","msg":"Dim: undefined Created","meta":{"module":"createDimension","app":"MasterItemCheck"}}

{"level":"info","msg":"Result of object creation: Not Changed: 0\r\nCreated: 14\r\nUpdated: 14","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"info","msg":"Objects have been added to the repo!","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"info","msg":"Now please wait until the repo catches up and we can change ownership.","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"info","msg":"Done!","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"info","msg":"Object Management Complete","meta":{"module":"objectManagement","app":"MasterItemCheck"}}

{"level":"info","msg":"object management complete","meta":{"module":"updateMetrics","app":"MasterItemCheck"}}

{"level":"info","msg":"object management complete::MasterItemCheck","meta":{"module":"doWork","method":"updateAll","app":"MasterItemCheck"}}

{"level":"info","msg":"Process took 266 milliseconds","meta":{"module":"doWork","method":"updateAll","app":"MasterItemCheck"}}

{"level":"info","msg":"All apps updated.","meta":{"module":"doWork","method":"updateAll"}}

{"level":"info","msg":"POST update/all success::All apps processed.","meta":{"module":"routes"}}

{"level":"info","msg":"UPDATE COMPLETE!!!","meta":{"module":"routes"}}

{"level":"info","msg":"Starting App Object Ownership Change.","meta":{"module":"changeOwner","app":"MasterItemCheck","owner":"36240c62-febc-4bd6-bd0d-6f72cb9bb920"}}

{"level":"debug","msg":"selection id = cf15e305-f05a-4682-a626-02a8ad0389c9","meta":{"module":"changeOwner","app":"MasterItemCheck"}}

{"level":"error","msg":"Failed on put of ownership change objects","meta":{"module":"changeOwner","app":"MasterItemCheck"}}

{"level":"info","msg":"The response code from the ownership put: undefined","meta":{"module":"changeOwner","app":"MasterItemCheck"}}

{"level":"error","msg":"Failed on change ownership call","meta":{"module":"notifiedByRepo","method":"updateRepo"}}

{"level":"error","msg":"\"Received error code: 403::No permission to approve the app object.\"","meta":{"module":"notifiedByRepo","method":"updateRepo"}}

{"level":"info","msg":"Changed ownership on notified app objects","meta":{"module":"notifiedByRepo","method":"updateRepo"}}

{"level":"error","msg":"updating repo failed \"Received error code: 403::No permission to approve the app object.\"","meta":{"module":"routes"}}

So there are issues reassigning ownership of those objects. The user-guide is not very specific about the relevance and or prerequirements about object ownership.

As i've seen some post about similar problems on my websearch i suspect it is related to current versions of sense as i use the June2018 release.

2 Replies
mstoler
Contributor II

Re: GMS issue with distributing MasterItems

I also get the same error.

Is there any updated?

Thanks,

Michael

diego_rueda
New Contributor

Re: GMS issue with distributing MasterItems

Hi,

Im Having te same problem, somebody knows how to solve this situation?.

thks for your help.