icclab / cf-webui Goto Github PK
View Code? Open in Web Editor NEWSingle page CloudFoundry web user interface using AngularJS and Bootstrap
License: Apache License 2.0
Single page CloudFoundry web user interface using AngularJS and Bootstrap
License: Apache License 2.0
I noticed the org-menu on the very left side is fixed and if you have to much orgs you won't be able to scroll them down.
On the spaceDetails page, services can't be loaded due to the following error:
libs.min.js:100 TypeError: Cannot read property 'service' of undefined
at application.min.js:3
at Object.s [as forEach] (libs.min.js:7)
at application.min.js:3
at libs.min.js:109
at h.$eval (libs.min.js:123)
at h.$digest (libs.min.js:120)
at h.$apply (libs.min.js:123)
at n (libs.min.js:80)
at O (libs.min.js:84)
at XMLHttpRequest.D.onload (libs.min.js:85)
It is this part of the code:
angular.forEach(response.data.services, function(service, i) {
var objectService = {
id: service.guid,
name: service.name,
servicePlan: service.service_plan.service.label + ', ' + service.service_plan.name,
nrOfBoundApps: service.bound_app_count,
dashboardUrl: service.dashboard_url,
supportURL:'https://support.'+service.service_plan.service.label+'.com/',
docsURL: 'http://docs.run.pivotal.io/marketplace/services/'+service.service_plan.service.label+'.html'
};
Don't know if it is a general bug. Anyway, I am trying to fix it now.
Nice ui for cloudfoundry, very usefull
On our env, we see a bug : routes are not displayed in this link
https://cf-console-ui.xxxx/#/organizations//spaces//applications/
Hi,
I have a problem to push after build.
The following error occurs.
2016-12-19T14:13:24.84+0100 [API/0] OUT Updated app with guid eafa76c9-17ad-4db7-9c1e-8ace16d96d5d ({"state"=>"STARTED "})
2016-12-19T14:13:32.88+0100 [API/0] ERR Failed to stage application: staging failed
2016-12-19T14:16:27.06+0100 [STG/0] OUT Creating container
2016-12-19T14:16:27.46+0100 [STG/0] OUT Successfully created container
2016-12-19T14:16:27.46+0100 [STG/0] OUT Downloading app package...
2016-12-19T14:16:27.58+0100 [STG/0] OUT Downloaded app package (591.9K)
2016-12-19T14:16:27.58+0100 [STG/0] OUT Staging...
2016-12-19T14:16:34.06+0100 [STG/0] OUT -------> Buildpack version 1.3.14
2016-12-19T14:16:34.13+0100 [STG/0] OUT Using Nginx version 1.11.6
2016-12-19T14:16:34.37+0100 [STG/0] ERR /usr/lib/ruby/2.3.0/digest.rb:50:in `initialize': No such file or directory @ rb_sysopen - /tmp/nginx.tgz (Errno::ENOENT)
2016-12-19T14:16:34.37+0100 [STG/0] ERR from /usr/lib/ruby/2.3.0/digest.rb:50:in `open'
2016-12-19T14:16:34.37+0100 [STG/0] ERR from /usr/lib/ruby/2.3.0/digest.rb:50:in `file'
2016-12-19T14:16:34.37+0100 [STG/0] ERR from /usr/lib/ruby/2.3.0/digest.rb:35:in `file'
2016-12-19T14:16:34.37+0100 [STG/0] ERR from /tmp/buildpacks/ee6e10b97601fa46b72576682de3748e/compile-extensions/bi n/download_dependency:20:in `<main>'
2016-12-19T14:16:34.37+0100 [STG/0] ERR Failed to compile droplet
2016-12-19T14:16:34.38+0100 [STG/0] OUT Exit status 223
2016-12-19T14:16:34.38+0100 [STG/0] ERR Staging failed: Exited with status 223
I behind a company proxy
hi there,
I' might be missing something,
Just installed a fresh install of PCFDev, and deployed the CF Webui onto it,
But I can't login, and i'm having a hard time to understant which user I should use to login.
is there a default user?
Should I be using a CF user, that I have to create specially for cf-webui?
Could you please try to help me in the right direction?
Regards,
Michael
Hi,
I have been trying to set this up in my CF installation and my startup just times out with this error Error restarting application: Start app timeout
. Here is the full startup log:
2016-07-05T14:39:38.97+0000 [API/0] OUT Updated app with guid 75313400-0178-484b-b610-dbfd13a25039 ({"name"=>"cf-webui", "memory"=>512, "environment_json"=>"PRIVATE DATA HIDDEN"})
2016-07-05T14:39:44.43+0000 [API/0] OUT Updated app with guid 75313400-0178-484b-b610-dbfd13a25039 ({"state"=>"STOPPED"})
2016-07-05T14:39:46.16+0000 [API/0] OUT Updated app with guid 75313400-0178-484b-b610-dbfd13a25039 ({"state"=>"STARTED"})
2016-07-05T14:40:09.84+0000 [DEA/0] OUT Got staging request for app with id 75313400-0178-484b-b610-dbfd13a25039
2016-07-05T14:40:11.36+0000 [STG/0] OUT -----> Downloaded app package (592K)
2016-07-05T14:40:11.43+0000 [STG/0] OUT -----> Downloaded app buildpack cache (4.0K)
2016-07-05T14:40:11.58+0000 [STG/0] ERR Cloning into '/tmp/buildpacks/staticfile-buildpack'...
2016-07-05T14:40:19.63+0000 [STG/0] OUT Submodule 'compile-extensions' (https://github.com/cloudfoundry/compile-extensions.git) registered for path 'compile-extensions'
2016-07-05T14:40:19.65+0000 [STG/0] ERR Cloning into 'compile-extensions'...
2016-07-05T14:40:24.25+0000 [STG/0] OUT Submodule path 'compile-extensions': checked out '4a0e48afc46c1d467b7c75a8ae5e6f3a044d3d64'
2016-07-05T14:40:24.34+0000 [STG/0] OUT -------> Buildpack version 1.3.9
2016-07-05T14:40:46.33+0000 [STG/0] OUT Downloaded [https://pivotal-buildpacks.s3.amazonaws.com/concourse-binaries/nginx/nginx-1.11.1-linux-x64.tgz]
2016-07-05T14:40:46.33+0000 [STG/0] OUT -----> Using root folder
2016-07-05T14:40:46.33+0000 [STG/0] OUT -----> Copying project files into public/
2016-07-05T14:40:46.34+0000 [STG/0] OUT -----> Setting up nginx
2016-07-05T14:40:47.41+0000 [STG/0] OUT -----> Uploading droplet (3.2M)
2016-07-05T14:40:49.90+0000 [DEA/0] OUT Starting app instance (index 0) with guid 75313400-0178-484b-b610-dbfd13a25039
2016-07-05T14:41:02.49+0000 [API/0] OUT App instance exited with guid 75313400-0178-484b-b610-dbfd13a25039 payload: {"cc_partition"=>"default", "droplet"=>"75313400-0178-484b-b610-dbfd13a25039", "version"=>"9c1cc740-af3f-455b-97c2-7466676c9d54", "instance"=>"d9f759ad8f454a34a2bfb2401d22e5d1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1467729687}
2016-07-05T14:41:02.49+0000 [API/0] OUT App instance exited with guid 75313400-0178-484b-b610-dbfd13a25039 payload: {"cc_partition"=>"default", "droplet"=>"75313400-0178-484b-b610-dbfd13a25039", "version"=>"9c1cc740-af3f-455b-97c2-7466676c9d54", "instance"=>"d9f759ad8f454a34a2bfb2401d22e5d1", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1467729687}
2016-07-05T14:41:27.54+0000 [App/0] ERR 2016/07/05 14:40:51 [emerg] 29#0: host not found in upstream "api.sys-cfisbtest.it-platforms.net" in /home/vcap/app/nginx/conf/nginx.conf:41
2016-07-05T14:41:27.54+0000 [App/0] OUT
2016-07-05T14:41:27.57+0000 [DEA/0] ERR Instance (index 0) failed to start accepting connections
2016-07-05T14:41:29.38+0000 [DEA/0] OUT Removing crash for app with id 75313400-0178-484b-b610-dbfd13a25039
2016-07-05T14:41:29.38+0000 [DEA/0] OUT Stopping app instance (index 0) with guid 75313400-0178-484b-b610-dbfd13a25039
2016-07-05T14:41:29.38+0000 [DEA/0] OUT Stopped app instance (index 0) with guid 75313400-0178-484b-b610-dbfd13a25039
My YAML file looks like this:
---
applications:
- name: cf-webui
memory: 512M
host: cf-webui
path: ./build
env:
API_ENDPOINT: http://api.sys-cfisbtest.it-platforms.net
# Use Google DNS by default
NGINX_RESOLVER: 30.0.0.3
#Enforce https is used (using x_forwarded_proto check) .Default: enabled
FORCE_HTTPS: 0
As you can see my DNS server is different from the normal Google DNS. But the resolution seems to go through fine.
$ nslookup api.sys-cfisbtest.it-platforms.net
Server: 30.0.0.3
Address: 30.0.0.3#53
Name: api.sys-cfisbtest.it-platforms.net
Address: 30.0.0.125
Not sure what I am missing here. Any help is appreciated.
PS: I am in a corporate network and am under a proxy
Thanks
Sreenath
When use single node Cloud Foundry, nignx cause 502 error.
For the nignx proxy to itself cause infinite loop, it throw out 502 errors.
Hi,
I was trying to use the cf-webui. After changing the API Endpoint, I tried pushing the app to CF but it fails to start an instance everytime I try to upload it. Here is the log file:
2016-04-10T15:30:11.82+0530 [DEA/52] OUT Starting app instance (index 0) with guid f706a434-7e0d-48dd-830d-a9d703171e80
2016-04-10T15:30:13.47+0530 [App/0] OUT ==> /home/vcap/app/openresty/nginx/logs/access.log <==
2016-04-10T15:30:13.47+0530 [App/0] OUT ==> /home/vcap/app/openresty/nginx/logs/error.log <==
2016-04-10T15:30:13.51+0530 [App/0] ERR nginx: [emerg] open() "/home/vcap/app/nginx/logs/error.log" failed (2: No such file or directory)
2016-04-10T15:30:13.53+0530 [DEA/52] ERR Instance (index 0) failed to start accepting connections
2016-04-10T15:30:13.54+0530 [API/2] OUT App instance exited with guid f706a434-7e0d-48dd-830d-a9d703171e80 payload: {"cc_partition"=>"default", "droplet"=>"f706a434-7e0d-48dd-830d-a9d703171e80", "version"=>"2c159327-b495-4570-a5da-1ee4f99f727b", "instance"=>"098aedad7fa244e78b2a2cb416aed644", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1460282413}
CC API V2 deprecation draft plan has been published. A 6 month overlap is planned by the time the CF CLI is not using CC API V2 anymore. See related mailing list thread at https://lists.cloudfoundry.org/g/cf-dev/message/8494?p=,,,20,0,0,0::Created,,v2+deprecation,20,2,0,29809681
Related migration notes from stratos at https://github.com/cloudfoundry-incubator/stratos/blob/v2-master/docs/cf-api-v3.md
The application restart button is "dangerous" for two reasons:
Hi,
I managed to get push this UI, but on loggin in I am getting this error:
ERR 2016/09/14 15:08:52 [error] 37#0: *14 invalid URL prefix in "/oauth/token", client: 10.0.0.130, server: , request: "POST /oauth HTTP/1.1", host: "ui.apps.de.cloudfoundry.it-platforms.net", referrer: "https://ui.apps.de.cloudfoundry.it-platforms.net/"
It seems the app is making the authenticate request to itself rather than to the CF API endpoint. Any idea how to fix this?
Here is my manifest.yml
---
applications:
- name: cf-webui
memory: 128M
host: ui
path: ./build
buildpack: staticfile_buildpack
env:
API_ENDPOINT: http://api.sys.de.cloudfoundry.it-platforms.net
# Use Google DNS by default
NGINX_RESOLVER: 10.0.0.114
#Enforce https is used (using x_forwarded_proto check) .Default: enabled
FORCE_HTTPS: 0
http_proxy: "http://10.10.0.1:3128"
https_proxy: "http://10.10.0.1:3128"
no_proxy: "api.sys.de.cloudfoundry.it-platforms.net,10.0.0.125,10.0.0.130"
As you can see, I'm also under a proxy
The webui works well with Chrome on my Macbook, but it doesn't have a response after clicking Log in
button on firefox and my iphone (safari/chrome)
Hello Team,
Getting the below error while pushing web_UI application to CF.
Please kindly suggest ASAP.
Updating app admin_ui in org miraclesoft / space DEV as admin...
OK
Uploading admin_ui...
Uploading app files from: /home/vchattamoni/Desktop/CF/admin_ui
Uploading 935.7K, 220 files
Done uploading
OK
Stopping app admin_ui in org miraclesoft / space DEV as admin...
OK
Starting app admin_ui in org miraclesoft / space DEV as admin...
-----> Downloaded app package (912K)
-------> Buildpack version 1.5.15
cat: /tmp/staged/app/package.json: No such file or directory
! Unable to parse package.json
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
If you're stuck, please submit a ticket so we can help:
https://help.heroku.com/
Love,
Heroku
Staging failed: Buildpack compilation step failed
FAILED
Error restarting application: BuildpackCompileFailed
TIP: use 'cf logs admin_ui --recent' for more information
Please add
npm install -g grunt-cli
to instructions, as grunt is not enabled with npm install
When the key is changed it created a new var instead of editing the old var. In the end, this results in two vars, the unchanged old one and a new var with a changed key.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.