Active Topics

 


Reply
Thread Tools
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#81
xes and me modified some broken details around import of users from garage to midgard (www)
The user that used to run that script
Code:
crontab on www
# Garage accounts sync
#*/30 * * * *  root  date >>/var/log/midgard/garage_sync.log && /usr/local/bin/garage_sync.sh >>/var/log/midgard/garage_sync.log
0 2 * * *  root  date >>/var/log/midgard/garage_sync.log && /usr/local/bin/garage_sync.sh >>/var/log/midgard/garage_sync.log && date >>/var/log/midgard/garage_sync.log
for unclear reasons didn't authenticate against midgard anymore

We changed that script so it's
a) safe for publishing now ;-D
Code:
#!/bin/bash



# sync garage accounts to midgard. Using org.maemo.garagesync

source /etc/scriptadmin/credentials
source /usr/local/bin/packages/pid.sh


pid_check /var/tmp/garage_sync.pid

lynx -dump -auth=$scriptadmin:$password http://local.maemo.org/midcom-exec-org.maemo.garagesync/import.php?confirm=1 | sed '/^$/d'

RET=$?

rm -f /tmp/get_garage_csvs.pid

pid_cleanup /var/tmp/garage_sync.pid

exit $RET
and
b) the user "scriptadmin" used now actually does work (I created a dedicated user in midgard for that purpose)
Code:
see login failure on monday 24.7. while tue 25.7. it worked. The test runs that processed all backlog (#83310 - #83430) got lost in logfile since invoked "manually"
Mon Jun 24 02:00:01 UTC 2013
   [1]Maemo.org
   __________________ Search
     * [2]Create account
     * [3]Intro
     * [4]Downloads
     * [5]Community
     * [6]Development
     * [7]News
   maemo.org
Login
   You have reached a page, which requires you to be authenticated. Please
   login on the form below.
   User name
   ____________________
   Password
   ____________________
   Login
   Please enter your username and password.
     * Copyright © 2002-2008 Nokia Corporation
     * [8]Terms of Use
     * [9]Privacy Policy
     * Powered by [10]Midgard CMS
   sponsored by Nokia Corporation
References
   1. http://maemo.org/
   2. https://garage.maemo.org/account/register.php
   3. http://local.maemo.org/intro/
   4. http://local.maemo.org/downloads/
   5. http://local.maemo.org/community/
   6. http://local.maemo.org/development/
   7. http://local.maemo.org/news/
   8. http://maemo.org/legal/terms_of_use.html
   9. http://maemo.org/legal/privacy_policy.html
  10. http://www.midgard-project.org/
Mon Jun 24 02:00:01 UTC 2013
Tue Jun 25 02:00:01 UTC 2013
Tue Jun 25 02:05:34 UTC 2013
Wed Jun 26 02:00:01 UTC 2013
   INFO: Created new user 'eco' (#83431)
Wed Jun 26 02:06:10 UTC 2013
Thu Jun 27 02:00:01 UTC 2013
   INFO: Created new user 'andersonsampaio' (#83432)
Thu Jun 27 02:05:56 UTC 2013
according to /var/log/midgard/garage_sync.log this been broken since
Code:
Wed Apr 24 13:30:01 UTC 2013
Wed Apr 24 14:00:01 UTC 2013
Wed Apr 24 14:30:01 UTC 2013
Thu Apr 25 02:00:01 UTC 2013
   INFO: Created new user 'n900-dk' (#83303)
   INFO: Created new user 'alecsandru' (#83304)
   INFO: Created new user 'xavierxcvii' (#83305)
   INFO: Created new user 'youthanasia' (#83306)
Fri Apr 26 02:00:01 UTC 2013
   INFO: Created new user 'testimonyii' (#83308)
Sat Apr 27 02:00:01 UTC 2013
   INFO: Created new user 'sathishrocks39' (#83309)
Sun Apr 28 02:00:01 UTC 2013
   [1]Maemo.org
   Register
Register
     * [2]Intro
     * [3]Downloads
     * [4]Community
     * [5]Development
     * [6]News
     * [7]TALK
   maemo.org
Login
   Access denied: You need administrator privileges.
I hope some of the broken stuff around autobuilder/accounts et al will now normalize

cheers
/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2013-06-27 at 10:51.
 

The Following 14 Users Say Thank You to joerg_rw For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#82
Official welcome to
Ivo aka freemangordon
who started on his daunting new duty as our new autobuilder maintainer today.

Many thanks freemangordon!

/j
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N
 

The Following 21 Users Say Thank You to joerg_rw For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#83
we found a flaw/bug/issue in "core of" maemo.org. Midgard/MidCOM introduced a r/o issue that's incompatible to the old maemo midgard code we run. This had impact to a multitude of maemo.org services since ~2012-12-28.

We're going to apply a patch and see if that gives our beloved infra a good boost towards a decently operating system. Before we do, we need to do complete backups which might cause a few hours of service downtime for everything except this very forum - the actual starting time of service downtime will get pusblished on rather short notice (expect it to happen during next 24h), duration up to a few hours..

Sorry for the inconvenience!
jOERG
(maemo infra administration coordinator)
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2013-07-31 at 16:49.
 

The Following 16 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 35 | Thanked: 504 times | Joined on Jan 2013 @ Germany
#84
Talking about early,

I'll shutdown garage, www and db in 30 minutes, around 21:15 (GMT+2) for about 2-3 hours.
__________________
--
We reject kings, presidents and voting.
We believe in rough consensus and running code.
- David Clark
 

The Following 9 Users Say Thank You to fstern For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#85
Originally Posted by joerg_rw View Post
we found a flaw/bug/issue in "core of" maemo.org. Midgard/MidCOM introduced a r/o issue that's incompatible to the old maemo midgard code we run. This had impact to a multitude of maemo.org services since ~2012-12-28.

We're going to apply a patch and see if that gives our beloved infra a good boost towards a decently operating system. Before we do, we need to do complete backups which might cause a few hours of service downtime for everything except this very forum - the actual starting time of service downtime will get pusblished on rather short notice (expect it to happen during next 24h), duration up to a few hours..
Downtime ended, patches applied. Please report on stuff that suddenly works as expected! ;-)

A special extra-bold THANK YOU to freemangordon. Also thanks to Falk, Merlin1991, shawnjefferson.

cheers
jOERG

ps. we're going to have some champagne now, and a fat cigar each! we earned it.
Code:
[2013-08-01 00:09:55] <freemangordon> http://maemo.org/packages/view/autobuildertest/
[2013-08-01 00:10:17] <freemangordon> /usr/bin/php5 /usr/local/bin/packages/package-promote.php fremantle extras-devel extras-testing autobuildertest 0.1-1Signing repo
[2013-08-01 00:10:19] <freemangordon> Touching changed file: /var/repository/staging/extras-testing/.fremantle.changed
[2013-08-01 00:10:21] <freemangordon> Touching changed file: /var/tmp/.extras.sync.needed
[2013-08-01 00:10:23] <freemangordon> Syncing fremantle extras-testing
[2013-08-01 00:10:25] <freemangordon> Done
[2013-08-01 00:10:37] <freemangordon> still missing in the package interface
[2013-08-01 00:10:52] <freemangordon> but I guess it needs some time
[2013-08-01 00:11:36] * freemangordon needs coffee
[2013-08-01 00:12:47] <DocScrutinizer05> \o/
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2013-07-31 at 22:38.
 

The Following 18 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#86
Unfortunately promotion devel->testing still doesn't work, but it shouldn't be that hard to fix it. Will look at it today(hopefully)
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 12 Users Say Thank You to freemangordon For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#87
Originally Posted by joerg_rw View Post
ps. we're going to have some champagne now, and a fat cigar each! we earned it.
You certainly deserve it, all of you guys. I'm sending a further donation to techstaff ** for private use ** right now.
 

The Following 8 Users Say Thank You to reinob For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#88
http://maemo.org/packages/package_in...dertest/0.1-2/



Please test if promotion works for those of you who got their packages stuck in extras-devel or extras-testing. Promote the 386 package if armel one is already promoted(and stuck).
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 10 Users Say Thank You to freemangordon For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#89
Sent over the mailinglist, repeating it here:

Hi all,

As many of you know Maemo autobuilder and package interface were not fully functional for more than half an year.

I am officially announcing those are back in full service. Please those of you who have packages stuck in extras-devel because promotion was not working, to promote them now. The same goes for those packages that are stuck in extras-testing - promotion to extras should be fine too.

So far I fixed and did test fremantle autobuilder only, I suspect package promotion is still semi-broken for the older distributions. If anyone still has problems with promotion, please inform me - by either sending an email or on #maemo, I will fix it ASAP.

Please, all of you who were using extras-devel as a replacement to extras, disable extras-devel and extras-testing repositories. Now our packages infra is(or at least looks like) functional, we should revert to the way all this is supposed to work. Testers/users - please do your job and vote for the packages in testing. Developers - promote the stuff to extras.

Many, many thanks for the great support I had/have (as autobuilder maintainer) from the other members of the Maemo crew in the course of fixing all the broken bits.

Regards,
Ivo (freemangordon@TMO)
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 13 Users Say Thank You to freemangordon For This Useful Post:
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#90
now that it feels like we changed ship's heading towards the more comfortable shores, I announce an outtime for personal reasons. All account related stuff and hardware maintenance and addons will get handled by warfare aka Falk Stern. In *urgent* cases I'm available via email or other channels for those who know those. Donations are available to those who are entitled to draft from those. The duration of such outtime is undetermined, something between a week and several months. I'm confident maemo.org won't suffer from this measure, which been inevitable and long pending.

Good luck!
jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2013-08-02 at 00:33.
 

The Following 15 Users Say Thank You to joerg_rw For This Useful Post:
Reply

Tags
migration, migration#2


 
Forum Jump


All times are GMT. The time now is 23:24.