kimchi-project / wok Goto Github PK
View Code? Open in Web Editor NEWA cherrypy framework for multi-purpose plug-ins
Home Page: https://github.com/kimchi-project/wok/releases/latest
License: Other
A cherrypy framework for multi-purpose plug-ins
Home Page: https://github.com/kimchi-project/wok/releases/latest
License: Other
Hello, I want to suggest the gzip compression of kimchi logs. I noticed the logs present in /var/log/kimchi can become very large, so the gzip compression seems good idea.
Thanks,
Guilherme
Provide a command line tool to access REST API.
Keep in mind it must be extensible by the plugins.
The color may not be the single way to identify on where user is in the web page.
Under Wok -> Settings -> User Activity Log
Filter textbox form control must have associated text.
While page is loaded Jquery-bootgrid plugin library js file jquery.bootgrid.min.js is showing sysntax error.
As a result bootgrid components in ginger storage and networking tab are not working.
When the patch is applied using eml file the jquery.bootgrid.min.js is broken. While wok-ui.html.tmpl loads the same, browser console shows the above error and bootgrid init function is showing undefined.
Same is working for when patch is applied using .patch file .
Identify what is needed to have wok package included in the openSUSE official repositories.
Mouseover and keyboard focus causes a visual enhancement, such as an underline, font change, and so on.
As all UI widgets are provided by Wok, we need to update them and make sure the color is not the only criteria for user identifies where he/she is.
Identify what is needed to have wok package included in the Ubuntu official repositories.
Originally reported on kimchi-project/kimchi#705
Environment: x86
Operating system: Ubuntu
Browser: Mozilla Firefox
Steps performed:
Provide basic elements for mobile design.
On installing wok, we get the following screen.
And with installation of gingerbase, we get Wok tab and Host tab.
Wok tab has "Settings" with "User Activity" log,
Since "User activity log" is at wok level and also the tab name - "Wok", makes more sense to have it in Wok framework than in Gingerbase.
I know wok was initially designed, not to include any functionality. But it make more sense to have "Wok" tab and "User Activity log" as part of wok framework.
Just my point of view.
I have installed WOK , and plugins : gingerbase, ginger and gingers390x.
and from browser logged into wok.
I didnt see any issue on UI, but log says following -
tail -f /var/log/wok/wok-error.log
[18/Mar/2016:12:43:01] ENGINE Bus STARTING
[18/Mar/2016:12:43:01] ENGINE Serving on 127.0.0.1:8010
*** Running feature tests ***
*** Feature tests completed ***
[18/Mar/2016:12:43:01] ENGINE Bus STARTED
[18/Mar/2016:12:43:25] ENGINE Started monitor thread 'Session cleanup'.
WOKAUTH0002E: You are not authorized to access Kimchi
Python logging system is thread-safe* but not multiprocess-safe. Because serial console, which runs in different process, it's necessary to have a file handler that knows how to deal with processes concurrency when writing to a logfile.
$ sudo make rpm
make dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory '/home/danielhb/kimchi/wok_ginger'
if test -d "wok-2.0"; then find "wok-2.0" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "wok-2.0" || { sleep 5 && rm -rf "wok-2.0"; }; else :; fi
test -d "wok-2.0" || mkdir "wok-2.0"
(cd src && make top_distdir=../wok-2.0 distdir=../wok-2.0/src \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[2]: Entering directory '/home/danielhb/kimchi/wok_ginger/src'
(cd wok && make top_distdir=../../wok-2.0 distdir=../../wok-2.0/src/wok \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory '/home/danielhb/kimchi/wok_ginger/src/wok'
(cd control && make top_distdir=../../../wok-2.0 distdir=../../../wok-2.0/src/wok/control \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/home/danielhb/kimchi/wok_ginger/src/wok/control'
make[4]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src/wok/control'
(cd model && make top_distdir=../../../wok-2.0 distdir=../../../wok-2.0/src/wok/model \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/home/danielhb/kimchi/wok_ginger/src/wok/model'
make[4]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src/wok/model'
(cd xmlutils && make top_distdir=../../../wok-2.0 distdir=../../../wok-2.0/src/wok/xmlutils \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/home/danielhb/kimchi/wok_ginger/src/wok/xmlutils'
make[4]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src/wok/xmlutils'
(cd plugins && make top_distdir=../../../wok-2.0 distdir=../../../wok-2.0/src/wok/plugins \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[4]: Entering directory '/home/danielhb/kimchi/wok_ginger/src/wok/plugins'
(cd sample && make top_distdir=../../../../wok-2.0 distdir=../../../../wok-2.0/src/wok/plugins/sample \
am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
/bin/sh: line 14: cd: sample: No such file or directory
Makefile:560: recipe for target 'distdir' failed
make[4]: *** [distdir] Error 1
make[4]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src/wok/plugins'
Makefile:626: recipe for target 'distdir' failed
make[3]: *** [distdir] Error 1
make[3]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src/wok'
Makefile:580: recipe for target 'distdir' failed
make[2]: *** [distdir] Error 1
make[2]: Leaving directory '/home/danielhb/kimchi/wok_ginger/src'
Makefile:609: recipe for target 'distdir' failed
make[1]: *** [distdir] Error 1
make[1]: Leaving directory '/home/danielhb/kimchi/wok_ginger'
Makefile:708: recipe for target 'dist' failed
make: *** [dist] Error 2
Identify what is needed to have wok package included in the Fedora official repositories.
When creating a new process for websockify, both process (main and child) is probably using the same log handler. The problem is that all log entries are being duplicated:
% ps -efa | grep python
root 5204 5196 21 22:53 pts/17 00:00:01 python2 src/wokd --host=0.0.0.0
root 5235 5204 0 22:53 pts/17 00:00:00 python2 src/wokd --host=0.0.0.0
% tail -f log/wok-error.log | grep -v WOKOBJST0001E
KCHNET0011E: Network name must be a string without slashes (/) or quotes (")
KCHNET0011E: Network name must be a string without slashes (/) or quotes (")
The session timeout is now set as 10 minutes. But wok should provide a way to make it configurable by the user.
Build and Run-time dependencies for firewalld for fedora, RHEL and Ubuntu
wok/Makefile.am has clear dependency of firewalld folder's for the targets : install-deb, install-data-local and uninstall-local .
Can we make firewalld as both build and runtime dependency for the applicable dirstros?
Allow user imports authorization schema from a file or from other Wok server.
We would like to restrict the wok to listen on only our private network interface, and not public interface.
So we update the /etc/wok/wok.conf file like so:
[server]
host = private network interface IP
However, after restarting wokd.service, we still see the
wok ports (8000, 8002) in netstat with 0.0.0.0 :
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8002 0.0.0.0:* LISTEN
and so, we can still access HVM thru our public network.
Gingers390x does not required any tabs, so it does not required to have ui/config/tab-ext.xml. But if remove ui/config/tab-ext.xml from plugins wokd start fails with below error:
Traceback (most recent call last):
File "/usr/bin/wokd", line 30, in
import wok.server
File "/usr/lib/python2.7/site-packages/wok/server.py", line 28, in
from wok import auth
File "/usr/lib/python2.7/site-packages/wok/auth.py", line 45, in
tabs = get_all_tabs()
File "/usr/lib/python2.7/site-packages/wok/utils.py", line 108, in get_all_tabs
root = ET.parse(f)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 647, in parse
source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/usr/share/wok/plugins/gingers390x/ui/config/tab-ext.xml'
Create an intuitive UI to allow user configure authorization settings on UI.
It should cover plugins settings as well.
Originally reported on kimchi-project/kimchi#708
Environment: x86
Operating system: Ubuntu
Browser: Mozilla Firefox
Steps performed:
[chandra@localhost wok]$ ./autogen.sh --system
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
fatal: No names found, cannot describe anything.
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for pep8... /usr/bin/pep8
checking python module: unittest... yes
checking python module: cython... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for cheetah... /usr/bin/cheetah
checking for pyflakes... no
configure: WARNING: pyflakes not found
checking for sassc... /usr/bin/sassc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating po/gen-pot
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/wokd.8
config.status: creating src/Makefile
config.status: creating src/nginx/Makefile
config.status: creating src/wok/Makefile
config.status: creating src/wok/control/Makefile
config.status: creating src/wok/model/Makefile
config.status: creating src/wok/xmlutils/Makefile
config.status: creating src/wok/plugins/Makefile
config.status: creating src/wok/plugins/sample/Makefile
config.status: creating src/wok/plugins/sample/po/Makefile.in
config.status: creating src/wok/plugins/sample/sample.conf
config.status: creating src/wok/plugins/sample/ui/Makefile
config.status: creating src/wok/plugins/sample/ui/config/Makefile
config.status: creating src/wok/plugins/sample/ui/js/Makefile
config.status: creating src/wok/plugins/sample/ui/pages/Makefile
config.status: creating ui/Makefile
config.status: creating ui/base64/Makefile
config.status: creating ui/css/Makefile
config.status: creating ui/css/fontawesome/Makefile
config.status: creating ui/css/opensans/Makefile
config.status: creating ui/images/Makefile
config.status: creating ui/images/theme-default/Makefile
config.status: creating ui/js/Makefile
config.status: creating ui/libs/Makefile
config.status: creating ui/libs/bootstrap/Makefile
config.status: creating ui/libs/bootstrap-select/Makefile
config.status: creating ui/libs/bootstrap-select/dist/Makefile
config.status: creating ui/libs/bootstrap-select/dist/js/Makefile
config.status: creating ui/libs/bootstrap-select/dist/css/Makefile
config.status: creating ui/libs/es5-shim/Makefile
config.status: creating ui/libs/jquery/Makefile
config.status: creating ui/libs/jquery-i18n/Makefile
config.status: creating ui/libs/jquery-ui/Makefile
config.status: creating ui/libs/jquery-ui/themes/Makefile
config.status: creating ui/libs/jquery-ui/themes/base/Makefile
config.status: creating ui/libs/jquery-ui/themes/base/images/Makefile
config.status: creating ui/pages/Makefile
config.status: creating ui/pages/websockify/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/DEBIAN/Makefile
config.status: creating contrib/DEBIAN/control
config.status: creating contrib/wok.spec.fedora
config.status: creating contrib/wok.spec.suse
config.status: creating tests/Makefile
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating src/wok/plugins/sample/po/POTFILES
config.status: creating src/wok/plugins/sample/po/Makefile
config.status: executing depfiles commands
I guess this due to tags ; git describe --tags
I'm compiling all the requirements for User Activity Log in the mailing list and adding it here.
Location:
/src/wok/plugins/new-plugin/tab-ext.xml
UI:
Wireframes (these were made with Google Chrome devtools, nevermind the "Edit Template" link)
Login page form control must have associated text.
Instead of polling the asynchronous task time by time, wok should provide a mechanism to inform the UI a task had its status changed.
Current in base.py, line 73, ident is getting encode even if it is not of type unicode. So encode will give incorrect result of encoding if ident is not of type unicode.
Steps to reproduce:
For some weird reason VERSION file content will become empty after "make rpm" I guess.
Currently wok.message implmentation does not give option to make it closeable instead of fading it out if container for the message is given i.e if container for the message is other than default node "#alert-fields".
Wokd fails to start on system boot, because of libvirtd not started before wokd.
Below is the logs from /var/log/messages:
Feb 1 18:36:32 zs95k4 kernel: end_request: I/O error, dev dasdd, sector 4206976
Feb 1 18:36:32 zs95k4 wokd: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Feb 1 18:36:32 zs95k4 wokd: Traceback (most recent call last):
Feb 1 18:36:32 zs95k4 wokd: File "/usr/bin/wokd", line 97, in
Feb 1 18:36:32 zs95k4 wokd: sys.exit(main(sys.argv[1:]))
Feb 1 18:36:32 zs95k4 wokd: File "/usr/bin/wokd", line 94, in main
Feb 1 18:36:32 zs95k4 wokd: wok.server.main(options)
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/server.py", line 205, in main
Feb 1 18:36:32 zs95k4 wokd: srv = Server(options)
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/server.py", line 137, in init
Feb 1 18:36:32 zs95k4 wokd: self._load_plugins(options)
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/server.py", line 158, in _load_plugins
Feb 1 18:36:32 zs95k4 wokd: plugin_app = import_class(plugin_class)(options)
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/utils.py", line 126, in import_class
Feb 1 18:36:32 zs95k4 wokd: mod = import_module(module_name, class_name)
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/utils.py", line 136, in import_module
Feb 1 18:36:32 zs95k4 wokd: return import(module_name, globals(), locals(), [class_name])
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/init.py", line 20, in
Feb 1 18:36:32 zs95k4 wokd: from ginger import Ginger
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/ginger.py", line 34, in
Feb 1 18:36:32 zs95k4 wokd: from models import GingerModel
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/init.py", line 21, in
Feb 1 18:36:32 zs95k4 wokd: from model import GingerModel
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/model.py", line 24, in
Feb 1 18:36:32 zs95k4 wokd: from cfginterfaces import CfginterfaceModel, CfginterfacesModel
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/cfginterfaces.py", line 32, in
Feb 1 18:36:32 zs95k4 wokd: from interfaces import InterfaceModel
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/interfaces.py", line 52, in
Feb 1 18:36:32 zs95k4 wokd: class InterfaceModel(object):
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/interfaces.py", line 54, in InterfaceModel
Feb 1 18:36:32 zs95k4 wokd: _conn = libvirt.open("qemu:///system")
Feb 1 18:36:32 zs95k4 wokd: File "/usr/lib64/python2.7/site-packages/libvirt.py", line 255, in open
After adding 'After=libvirtd.service" in [Unit] section of "/usr/lib/systemd/system/wokd.service" solves the issue.
Patch will be following soon.
in left top corner of UI, it displays the ip which you are using to access wok. this could be replaced with host name on which wok is running.
In below screen shot, it displays 'localhost' since i used 'localhost:8001' in browser to access the wok instance running on the same machine.
host name from /etc/hostname file:
$ cat /etc/hostname
sureshtp
Allow user enable, disable, install and remove Wok plugins from UI.
Originally reported on kimchi-project/kimchi#706
Environment: x86
Operating system: Ubuntu
Browser: Mozilla Firefox
Steps performed:
https://cloud.githubusercontent.com/assets/12508158/8746320/bb0676a0-2ca5-11e5-8811-a99bef5374a2.jpg
platform: s390x, os: KVM for IBM z Systems
steps:
installed os freshly, installed dependencies and installed wok, ginger, gingerbase and gingers390x via git clone, autogen, make and make install.
logged in from ui and got below error when loading "Administration" tab.
log captured:
[30/Dec/2015:11:34:26] HTTP Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
response.body = self.handler()
File "/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "/usr/lib/python2.7/site-packages/cherrypy/_cpdispatch.py", line 34, in call
return self.callable(_self.args, *_self.kwargs)
File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 351, in index
return self.get(filter_params)
File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 338, in get
resources = self._get_resources(flag_filter)
File "/usr/lib/python2.7/site-packages/wok/control/base.py", line 295, in _get_resources
idents = get_list(_self.model_args, *_flag_filter)
File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/backup.py", line 202, in get_list
return self._session_get_list(session)
File "/usr/lib/python2.7/site-packages/wok/plugins/ginger/models/backup.py", line 198, in _session_get_list
return session.get_list(self._objstore_type, sort_key='timestamp')
File "/usr/lib/python2.7/site-packages/wok/objectstore.py", line 48, in get_list
ids = self._get_list(obj_type)
File "/usr/lib/python2.7/site-packages/wok/objectstore.py", line 44, in _get_list
res = c.execute('SELECT id FROM objects WHERE type=?', (obj_type,))
OperationalError: no such table: objects
looks like some select statement is executed on empty objectstore db
Originally reported on kimchi-project/kimchi#707
Environment: x86
Operating system: Ubuntu
Browser: Mozilla Firefox
Steps performed:
Problem: Kimchi logo still displaying on the main page
https://cloud.githubusercontent.com/assets/12508158/8746389/475c2262-2ca6-11e5-8ec4-da0f3c4283f4.jpg
Hi, I was able to run Wok with all plugins on CentOS 7 with some workarounds but my branches were a few commits behind.
After fetching the latest updates and compiling them it throws the following error messages when I run wokd:
➜ wok git:(master) ✗ sudo python src/wokd --host=0.0.0.0 --environment=development
Failed to import plugin plugins.ginger.Ginger, error: Class plugins.ginger.Ginger can not be imported, error: cannot import name upgrade_objectstore_schema
Failed to import plugin plugins.gingerbase.GingerBase, error: Class plugins.gingerbase.GingerBase can not be imported, error: cannot import name config
Failed to import plugin plugins.kimchi.KimchiRoot, error: Class plugins.kimchi.KimchiRoot can not be imported, error: cannot import name config
Distro info:
CentOS Linux release 7.1.1503 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.1.1503 (Core)
CentOS Linux release 7.1.1503 (Core)
wok.message with closeable as true is also fading out after timeout.
Running make rpm on CentOS 7 fails.
I downloaded the latest zip file from github.
Extracted it on a pristine CentOS installation.
Executed ./autogen.sh.
Executed make
Executed make rpm (failed with below error)
error: File not found: /root/wok-master/rpm/BUILDROOT/wok-2.0.0-0.el7.centos.x86_64/usr/lib/firewalld/services/wokd.xml
Line 130 in the specfile says: %{_prefix}/lib/firewalld/services/wokd.xml, but this isn't available. I guess the src/firewalld.xml file should be copied to that location, but that's just a wild guess.
regards
Currently wok does not have given an option to make cherrypy server timeout configurable.
If any API call takes longer than 10mins, which happens in case of lost of storage devices approx 2500+. UI says request timed-out.
By giving the option of giving cherrypy timeout configurable with some default value, user can configure it as per system setup.
Currently wok.conf has option to specify log_level. But even if with log_level as error, it is logging info logs.
So currently its behaviors like logging level set as info. And hence after some days of wok running, system gets lots of wok-error.log rotated files.
Downloaded the latest upstreamed code.
wokd is not able start.
nginx: [emerg] still could not bind()
Traceback (most recent call last):
File "/usr/bin/wokd", line 97, in
sys.exit(main(sys.argv[1:]))
File "/usr/bin/wokd", line 94, in main
wok.server.main(options)
File "/usr/lib/python2.7/site-packages/wok/server.py", line 204, in main
srv = Server(options)
File "/usr/lib/python2.7/site-packages/wok/server.py", line 137, in init
self._load_plugins(options)
File "/usr/lib/python2.7/site-packages/wok/server.py", line 182, in _load_plugins
for ident, node in sub_nodes.items():
UnboundLocalError: local variable 'sub_nodes' referenced before assignment
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.