Missing web/core/rolemap.api.js module

Bug #1475355 reported by Filip Pytloun
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Filip Pytloun
Trunk
Fix Committed
Medium
Filip Pytloun
OpenContrail
New
Medium
Filip Pytloun

Bug Description

We are building packages using Juniper/contrail-packages and contrail-vnc and we are facing issue with missing web/core/rolemap.api.js, feature.list.js and possibly other modules.
I can't find this file in Juniper/contrail-web-core repository but it seems that components depend on it.
Also more modules are probably missing. Where should they come from?

It is part of official distribution of contrail-web-core package:
/usr/src/contrail/contrail-web-core/src/serverroot/web/core/rolemap.api.js

root@ctl02:/var/lib/contrail-webui/contrail-web-core# nodejs webServerStart.js
07/16/2015 05:16:24 PM - debug: Redis: connect
07/16/2015 05:16:24 PM - debug: Redis DB 3 SELECT suuccess:

/var/lib/contrail-webui/node_modules/redis/index.js:540
            throw err;
                  ^
Error: Cannot find module '../../../web/core/rolemap.api'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/var/lib/contrail-webui/contrail-web-core/src/serverroot/orchestration/plugins/openstack/keystone.api.js:19:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

Tags: packaging
Filip Pytloun (fpytloun)
description: updated
description: updated
description: updated
Revision history for this message
Filip Pytloun (fpytloun) wrote :

Hm, whole contrail-web-core and contrail-web-controller is broken.
Wrong makefile target is called and it's always built from master.

Changed in opencontrail:
importance: Undecided → Medium
tags: added: packaging
Changed in opencontrail:
assignee: nobody → Filip Pytloun (fpytloun)
assignee: Filip Pytloun (fpytloun) → nobody
Filip Pytloun (fpytloun)
Changed in opencontrail:
assignee: nobody → Filip Pytloun (fpytloun)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12468
Submitter: Filip Pytloun (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12577
Submitter: Biswajit Mandal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12468
Committed: http://github.org/Juniper/contrail-packages/commit/c8eecd6689c57032afa511a907206f580ffd517d
Submitter: Zuul
Branch: master

commit c8eecd6689c57032afa511a907206f580ffd517d
Author: Filip Pytloun <email address hidden>
Date: Fri Jul 17 10:38:44 2015 +0200

Fix build of contrail-web-core and contrail-web-controller

It was only taking webroot without fetching third party stuff so it could not
ever work deployed.
It was also always fetching latest source from master, ignoring current VNC
checkout

Closes-Bug: #1475355
Change-Id: Icebdf538e02492afc8c900b0bb16bf980d2e4f27

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/12577
Committed: http://github.org/Juniper/contrail-packages/commit/ac77ab8342a23974d9491947f44fb6693fbbbfdb
Submitter: Zuul
Branch: R2.20

commit ac77ab8342a23974d9491947f44fb6693fbbbfdb
Author: Filip Pytloun <email address hidden>
Date: Fri Jul 17 10:38:44 2015 +0200

Fix build of contrail-web-core and contrail-web-controller

(On behalf of Filip Pytloun)

It was only taking webroot without fetching third party stuff so it could not
ever work deployed.
It was also always fetching latest source from master, ignoring current VNC
checkout

Closes-Bug: #1475355
Change-Id: Icebdf538e02492afc8c900b0bb16bf980d2e4f27

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12612
Submitter: Biswajit Mandal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12612
Committed: http://github.org/Juniper/contrail-packages/commit/265bcb534154bd7b03235af96d5a4ecb05237e75
Submitter: Zuul
Branch: R2.20

commit 265bcb534154bd7b03235af96d5a4ecb05237e75
Author: Biswajit Mandal <email address hidden>
Date: Fri Jul 24 16:38:56 2015 +0530

Closes-Bug: #1475355
Removed the nodejs-relacy as dependency, and corrected the web-core and
controller version fields

Change-Id: Ic8d1701afac890224a0913c373e565eec5d5881a

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.