[yast-devel] appliance status

VM: - I have appliance #202, sized 1GB - if you want access, I need to share a browser session with you and add your openid (which is NOT used by another istudio account) to my account - or download http://istudio.suse.de/download/8e499474d56157c0b46b041762fc1c5b/WebYaST_on_... Webyast: - REST runs on port 443 so that it is accessible from outside the test drive - this fix is needed: (%post only migrates in development env.) cd /srv/www/yastws su yastws -s /bin/sh -c 'RAILS_ENV=production rake db:migrate' rcyastws restart - collectd does not run and complains about fqdn lookup, a fix is easy Next: - add mising webservice rpms, fix dependencies -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Download (222MB) Nuremberg: wget http://istudio.suse.de/download/4afc8ea1bdd040c760bb2464901d918e/WebYaST_on_... Prague: wget ftp://cml.suse.cz/testing/webyast/WebYaST_on_SLES11.i686-0.0.4.vmx.tar.gz For VirtualBox, create a machine and add the vmdk disk image to it.
From inside the VM, I prefer to connect to the host: ssh -R 10080:127.0.0.1:80 -R 10443:127.0.0.1:443 -R 10022:127.0.0.1:22 trikolka.suse.cz
- this fix is needed: (%post only migrates in development env.)
cd /srv/www/yastws su yastws -s /bin/sh -c 'RAILS_ENV=production rake db:migrate' rcyastws restart
- collectd does not run and complains about fqdn lookup, a fix is easy
sed -i /FQDNLookup/s/true/false/ /etc/collectd.conf rccollectd restart Not-working modules: network, time, language, basesystem (their yast2-webservice-* packages are not installed because of dependencies) The advantage of appliances is that they are so easy to work with. SCNR :-) -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Martin Vidner schrieb:
Thank you Martin for creating.
Is there any reason for not setting RAILS_ENV=production in the post section of the SPEC file ? This problem should alse happen with yast-webclient. I fear that the client side is still working in development mode.
I think we should do this in the post-install of yast2-webservice-status packages. fqdn is not really needed for the status module. On the other hand we need the module "df" enabled in order to show the disk space in the status module. Currently this will be enabled manually in collectd.conf too. Greetings Stefan
The advantage of appliances is that they are so easy to work with. SCNR :-)
I like your humor! :-) Greetings Stefan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Stefan Schubert write:
It is my fault. I change mode of backend and forget change also post install script. I fix it ASAP.
yes, it is bnc #542074 . I cannot find where is config for lighttp for webclient. If you know where you should touch, then I welcome your fix.
-- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast modules language and time -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Josef Reidinger schrieb:
Thank you !
As far I remember it will be configured in /etc/lighttpd/vhosts.d in an own yast.conf file. I have made this in webservice with an own /etc/yastws/vhosts.d directory in order not to overwrite the defaults of lighttpd. Anyway, that is an corner which I would like to cleanup since a long time. Feel free to assign the bug to myself. Meanwhile I would suggest to let the client side on development mode. At least for the appliance release on which we are currently working. Greetings Stefan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

New: yast2-webservice-time,language Still missing: yast2-webservice-network (ibs lags to publish it) Still necessary:
Fixed (and added the df plugin):
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

* Martin Vidner <mvidner@suse.cz> [Oct 01. 2009 15:25]:
Thanks Martin and team, great progress !
Still missing: yast2-webservice-network (ibs lags to publish it)
Huh ? _i_bs still too slow ? Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

On 1.10.2009 15:36, Klaus Kaempf wrote:
Well, it builds packages fast, but publishing is slow, i.e. the repository contains old builds. The new yast2-2.17.* package in the repo has date 01-Oct-2009 11:23 although it has been successfully built yesterday. -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Dne čtvrtek 01 Říjen 2009 15:25:03 Martin Vidner napsal(a):
Did not work for me with this build (Martin is finding out why), as workaround, copying /srv/www/yastws/db/development.sqlite3 over production.sqlite3 worked for me. Jiri -- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Dne čtvrtek 01 Říjen 2009 15:55:06 Jiri Srain napsal(a):
.... but resulting in permission problems, I cannot access system time and language at all :-( Not sure if it is related... Jiri -- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

On Thu, Oct 01, 2009 at 03:55:06PM +0200, Jiri Srain wrote:
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

http://istudio.suse.de/download/c7de58942b27675705772a602caba5a0/WebYaST_on_... ftp://cml.suse.cz/testing/webyast/WebYaST_on_SLES11.i686-0.0.6.vmx.tar.gz The past issues are fixed, so only remember to use port 443. New: network (y-y-y-yeah!!), basesystem The latter will override the control panel, but it is hard to finish it because http://td01.istudio.suse.de:16443/permissions.xml?filter=org.opensuse.yast.m... randomly returns true and false. Possibly a reincarnation of bnc#509108 but I don't know because debug messages are disabled in production mode and I still have to figure out how to switch back to development. Retry enough times and eventually it succeeds with a 500. I mean, basesystem succeeds but the final touch fails. Workaround: as root touch /srv/www/yastws/vendor/plugins/basesystem/var/finish -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Martin Vidner napsal(a):
How to enable disable production see: http://git.opensuse.org/?p=projects/yast/rest-service.git;a=commitdiff;h=e31...
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

http://istudio.suse.de/download/b73346cbe421453ec2cb9c65853a7016/WebYaST_on_... ftp://cml.suse.cz/testing/webyast/WebYaST_on_SLES11.i686-0.0.7.vmx.tar.gz Added: Universal Hammer Type 1 (strace.rpm) Fixed: the permission problem (bnc#543548) Still not fixed: 500 after basesystwem setup (bnc#543766) touch /srv/www/yastws/vendor/plugins/basesystem/var/finish On Fri, Oct 02, 2009 at 11:14:57AM +0200, josef reidinger wrote:
How to enable disable production see: http://git.opensuse.org/?p=projects/yast/rest-service.git;a=commitdiff;h=e31...
Thanks! In practical terms: sed -i /rails_mode/s/production/development/ /etc/yastws/vhosts.d/yast.conf su yastws -s /bin/sh -c "cd /srv/www/yastws; RAILS_ENV=development rake db:migrate" rcyastws restart -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Martin Vidner napsal(a):
Fix is not so easy. Now all plugins owns root:root...but I expect that it should be yastws:yastws (or another group). I touch var/finish under plugin because I don't want have special permission for basesystem and that touch should be done without special permissions. It is only flag. So is possible to have yastws files under user yastws? Josef
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Hi! Can anyone provide me with the login credentials for the webyast appliance? I tried tux/linux and root/linux, both trials were unsuccessful :-( Thanks, Martin --- Martin Schmidkunz User Experience Specialist mschmidkunz@novell.com +49 (0) 911 740 53-346 --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --- Novell® Making IT Work As One™

On Mon, Oct 05, 2009 at 01:23:14PM +0200, Martin Schmidkunz wrote:
The credentials are correct, but I forgot to repeat that the backend runs on port 443 instead of 8080. So you need to edit the host entry to point to http://localhost:443 Sorry about that, I have now figured out a better way so I will revert it in the next version. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Thanks a lot! Cu, Martin On 05.10.2009, at 14:03, Martin Vidner wrote:
--- Martin Schmidkunz User Experience Specialist mschmidkunz@novell.com +49 (0) 911 740 53-346 --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) --- Novell® Making IT Work As One™

On 2.10.2009 10:45, Martin Vidner wrote:
No, I found the problem - there is a missing patch in SLE11 yast2-core for tty_wraper - stdout is sometimes lost. I'm working on the fix... (BTW you can simply use 'zypper dup' to upgrade to new Yast/Webyast packages, the appliance has the internal WebYast repo included...) -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

Hi! Meanwhile I couldn't resist and installed the WebYaST packages into a fresh installed 11.2 M8. At the first glance, it works better than 0.0.6 (no wonder, since this annoying bug was in backporting ;-) ) However, I still failed to finish the basic configuration wizard, and even according to backtrace it does not seems to me to be any related to this bug. Putting this into bzilla. Jiri Dne pátek 02 Říjen 2009 14:17:28 Ladislav Slezak napsal(a):
-- Regards, Jiri Srain YaST Team Leader --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: jsrain@suse.cz Lihovarska 1060/12 tel: +420 284 028 959 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org

On 2.10.2009 14:17, Ladislav Slezak wrote:
Fixed in yast2-core-2.17.32. Just do 'zypper up' in the running appliance... -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (8)
-
Jiri Srain
-
josef reidinger
-
Josef Reidinger
-
Klaus Kaempf
-
Ladislav Slezak
-
Martin Schmidkunz
-
Martin Vidner
-
Stefan Schubert