Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to import pSConfig format #76

Closed
arlake228 opened this issue Dec 6, 2018 · 2 comments
Closed

Ability to import pSConfig format #76

arlake228 opened this issue Dec 6, 2018 · 2 comments
Assignees

Comments

@arlake228
Copy link
Collaborator

arlake228 commented Dec 6, 2018

From a user:

When I try to import your mesh JSON file at http://icnmgmt0.internet2.edu/psconfig/osg_stashcache_templates.json I get this exception:

1|pwaadmin | Thu Dec 06 2018 14:54:42 GMT+0000 (UTC) - error: Thu, 06 Dec 2018 14:54:42 GMT uncaughtException: Cannot read property 'forEach' of undefined
1|pwaadmin | Thu Dec 06 2018 14:54:42 GMT+0000 (UTC) - error: TypeError: Cannot read property 'forEach' of undefined
1|pwaadmin | at Object.exports._process_imported_config (/app/api/admin/controllers/importer.js:206:29)
1|pwaadmin | at Request._callback (/app/api/admin/controllers/importer.js:168:17)
1|pwaadmin | at Request.self.callback (/app/node_modules/request/request.js:185:22)
1|pwaadmin | at emitTwo (events.js:106:13)
1|pwaadmin | at Request.emit (events.js:191:7)
1|pwaadmin | at Request. (/app/node_modules/request/request.js:1161:10)
1|pwaadmin | at emitOne (events.js:96:13)
1|pwaadmin | at Request.emit (events.js:188:7)
1|pwaadmin | at IncomingMessage. (/app/node_modules/request/request.js:1083:12)
1|pwaadmin | at IncomingMessage.g (events.js:292:16)
1|pwaadmin | at emitNone (events.js:91:20)
1|pwaadmin | at IncomingMessage.emit (events.js:185:7)
1|pwaadmin | at endReadableNT (_stream_readable.js:974:12)
1|pwaadmin | at _combinedTickCallback (internal/process/next_tick.js:80:11)
1|pwaadmin | at process._tickDomainCallback (internal/process/next_tick.js:128:9)

It is likely that there are bugs in PWA and I don't believe the mesh config imported was checked or modified much from the original MCA implementation.

@apertome apertome self-assigned this Jan 9, 2019
@apertome
Copy link
Contributor

apertome commented Jan 16, 2019

The issue here is that ironically, PWA does not know how to import pSConfig templates, only MeshConfig format.

@apertome apertome changed the title MeshConfig import issue Ability to import pSConfig format Jan 16, 2019
@apertome apertome added this to the sprint-20190304 milestone Feb 20, 2019
apertome added a commit that referenced this issue Mar 4, 2019
@arlake228 arlake228 removed this from the sprint-20190318 milestone Apr 24, 2019
apertome added a commit that referenced this issue Aug 14, 2019
apertome added a commit that referenced this issue Aug 14, 2019
apertome added a commit that referenced this issue Sep 5, 2019
apertome added a commit that referenced this issue Sep 6, 2019
apertome added a commit that referenced this issue Sep 12, 2019
apertome added a commit that referenced this issue Sep 12, 2019
apertome added a commit that referenced this issue Sep 16, 2019
apertome added a commit that referenced this issue Sep 16, 2019
apertome added a commit that referenced this issue Sep 17, 2019
apertome added a commit that referenced this issue Sep 17, 2019
apertome added a commit that referenced this issue Sep 20, 2019
apertome added a commit that referenced this issue Sep 20, 2019
apertome added a commit that referenced this issue Sep 20, 2019
@apertome
Copy link
Contributor

We have the ability to import psconfig format now, but disjoint meshes are not supported. There is a separate ticket for tracking that functionality, #129

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants