Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C36D4D168 for ; Tue, 19 Feb 2013 22:24:13 +0000 (UTC) Received: (qmail 51088 invoked by uid 500); 19 Feb 2013 22:24:13 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 51047 invoked by uid 500); 19 Feb 2013 22:24:13 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 51039 invoked by uid 99); 19 Feb 2013 22:24:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 22:24:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shadowsor@gmail.com designates 209.85.128.177 as permitted sender) Received: from [209.85.128.177] (HELO mail-ve0-f177.google.com) (209.85.128.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 22:24:07 +0000 Received: by mail-ve0-f177.google.com with SMTP id m1so6341785ves.36 for ; Tue, 19 Feb 2013 14:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=6BDnWE4+7AXqjLdFxq4h5iUJo6UJw89PMyTL9/+IO0Q=; b=ILvx7npTcublYCSGAbP1G8aZaWPFpwu8adEWGLzs5b9/AxTVzdHqDm3gf7hGn4SUea MCB5fd0wf/j9zhFKyuwXlrteuxb8YWdpg3jTyQ09wWLWpqIwoL07xIgvvbxfu3dL5cgt 8Hg4/O2iAwAoRfdQNhyMYKw9hHMoIlVeVnqiUu1y46VtST10NFT5GdR+o/EcOBtaRXCG uObe3qdCk42m+2ihJsUCwHnnMx2WPSp89Ydp9TjF4H7Txp60d59s4uTYMoIKwe/F4Rws UbmZipSh4rGjM+lZovdOCtIDbEwimPcHGk1UCOET0xakVZTHc4nU2+vFnEKrd5I4mBvG jvrg== MIME-Version: 1.0 X-Received: by 10.220.154.148 with SMTP id o20mr22887393vcw.54.1361312626117; Tue, 19 Feb 2013 14:23:46 -0800 (PST) Received: by 10.58.172.34 with HTTP; Tue, 19 Feb 2013 14:23:46 -0800 (PST) In-Reply-To: References: <7914B38A4445B34AA16EB9F1352942F1012F15D515F2@SJCPMAILBOX01.citrite.net> <7iyp9ti6fpknjqes58j7twjd.1360941171805@email.android.com> Date: Tue, 19 Feb 2013 15:23:46 -0700 Message-ID: Subject: Re: [ISSUE]ACS 4.1 code from today (02/14) broke login auth From: Marcus Sorensen To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Ok, so I just saw this issue where after cloudstack-management restart, user cannot log in as admin and I get " does not exist or it is not available for user with id:2". The environment was working, I restarted MS, and it stopped working. Then I rebooted the server, and management server came up and all was happy again. Very strange. On Fri, Feb 15, 2013 at 9:31 AM, Marcus Sorensen wrot= e: > Yes, hopping on cloudstack-dev > > On Fri, Feb 15, 2013 at 9:06 AM, Musayev, Ilya wrote= : >> Marcus, >> >> Are you on IRC by any means or some other chat? >> >> Thanks >> ilya >> >> -----Original Message----- >> From: Marcus Sorensen [mailto:shadowsor@gmail.com] >> Sent: Friday, February 15, 2013 10:58 AM >> To: cloudstack-dev@incubator.apache.org >> Subject: Re: [ISSUE]ACS 4.1 code from today (02/14) broke login auth >> >> I didn't assume you were using devcloud. Well if you did that then I ass= ume you ARE missing /var/cloudstack/management. Without a package install t= hese aren't set up... Or does the mvn install try to do that, and does it n= eed to be fixed? As far as I'm aware, a fresh OS on a management server won= 't work if you just run jetty out of the tree, as I've been saying there ar= e a lot of dependencies in the code for full paths elsewhere in the filesys= tem. >> On Feb 15, 2013 8:49 AM, "Musayev, Ilya" wrote: >> >>> Marcus >>> >>> Sorry was away from pc. I'm not using devcloud. What i did was install >>> blank cent 6.3 on vmware, git clone master branch, mvn install >>> -Dnonoss and can't recall the syntax - but also started the mvn with je= tty. >>> >>> In this case, the directory structure of where the code resides and >>> runs from is - at least in my case - >>> /usr/local/cloudstack/incubator-cloudstack-41/.... >>> >>> Ill see what patch caused this issue by rolli ng back and forward - >>> one patch at a time. >>> >>> This is definitely a blocker ATM >>> >>> Regards >>> Ilya >>> >>> >>> Marcus Sorensen wrote: >>> Any luck figuring this out? Maybe look at my email response to Dave >>> regarding how I fixed devcloud-kvm by uninstalling everything, >>> removing all >>> cloud* stuff, removing the cloud user... Basically starting fresh. >>> >>> Alternatively, if you have an installation you're attached to, you can >>> work through each thing one by one. I thin the main things are that >>> the cloud user's home Dir is changed and that the rpms are installed >>> so that all of the new paths exist. >>> >>> I think everyone who has a KVM environment will need to do this until >>> the RPMs are fixed to do a clean upgrade. The code just won't work >>> with the old installation. >>> On Feb 14, 2013 5:25 PM, "Marcus Sorensen" wrote: >>> >>> > Yeah, that's one of my packaging change fixes. I'm not sure what you >>> > mean about your github branch being different structure. You still >>> > have a user 'cloud' on your management server, with a home >>> > directory, and the management server still attempts to create keys >>> > in cloud's home, etc, correct? >>> > >>> > >>> > >>> > On Thu, Feb 14, 2013 at 5:06 PM, Sudha Ponnaganti >>> > wrote: >>> > > Can a blocker defect be logged for this?? >>> > > >>> > > -----Original Message----- >>> > > From: Musayev, Ilya [mailto:imusayev@webmd.net] >>> > > Sent: Thursday, February 14, 2013 3:31 PM >>> > > To: cloudstack-dev@incubator.apache.org >>> > > Subject: RE: [ISSUE]ACS 4.1 code from today (02/14) broke login >>> > > auth >>> > > >>> > > I'm 3 days apart between two HEADs and something within those 3 >>> > > days >>> > caused the issue. >>> > > >>> > > -----Original Message----- >>> > > From: Musayev, Ilya [mailto:imusayev@webmd.net] >>> > > Sent: Thursday, February 14, 2013 6:22 PM >>> > > To: cloudstack-dev@incubator.apache.org >>> > > Subject: RE: [ISSUE]ACS 4.1 code from today (02/14) broke login >>> > > auth >>> > > >>> > > I was on 1187fb7 HEAD - where login portion was working but >>> > > template >>> > import was broken I went forward to 298c5ee HEAD - and login >>> > portion is broken due to "The given command:listCapabilities" and >>> "command:listSwifts >>> > does not exist or it is not available for user with id:2" id:2 >>> > should be Admin >>> > > >>> > > >>> > > >>> > > -----Original Message----- >>> > > From: Musayev, Ilya [mailto:imusayev@webmd.net] >>> > > Sent: Thursday, February 14, 2013 6:08 PM >>> > > To: cloudstack-dev@incubator.apache.org >>> > > Subject: RE: [ISSUE]ACS 4.1 code from today (02/14) broke login >>> > > auth >>> > > >>> > > Marcus, >>> > > >>> > > Thanks for the feedback, but I don't believe it was this specific >>> > > issue >>> > as I'm running a code from github and as you know my folder >>> > structure is very different. >>> > > >>> > > Can someone please try pulling latest code, install with nonoss >>> > > and try >>> > to login? >>> > > >>> > > Thanks >>> > > ilya >>> > > >>> > > -----Original Message----- >>> > > From: Marcus Sorensen [mailto:shadowsor@gmail.com] >>> > > Sent: Thursday, February 14, 2013 5:18 PM >>> > > To: cloudstack-dev@incubator.apache.org >>> > > Subject: Re: [ISSUE]ACS 4.1 code from today (02/14) broke login >>> > > auth >>> > > >>> > > So, this was happening previously because the cloud user's home >>> > > was not >>> > right. I saw this yesterday and the management server was throwing >>> > an exception when trying to generate ssh keys in >>> > /var/lib/cloud/management, which didn't exist. The new path is /var/c= loudstack/management. >>> > > >>> > > So what may be happening is that people are now being bitten by >>> > everything being changed to match the package installs. I'll bet you >>> > have /var/lib/cloud/management/.ssh but not >>> > /var/cloudstack/management/.ssh >>> > > >>> > > On Thu, Feb 14, 2013 at 2:46 PM, Musayev, Ilya >>> > > >>> > wrote: >>> > >> ACS 4.1 code from today (02/14) broke login auth >>> > >> >>> > >> I get an error at login prompt "The given command does not exist >>> > >> or >>> its >>> > not available for the user" >>> > >> >>> > >> 2013-02-14 16:40:12,633 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DSTART=3D=3D=3D 10.46.40= .109 -- >>> > >> POST null >>> > >> 2013-02-14 16:40:12,639 DEBUG [cloud.user.AccountManagerImpl] >>> > >> (2087715408@qtp-44855217-5:null) Attempting to log in user: admin >>> > >> in domain 1 >>> > >> 2013-02-14 16:40:12,640 DEBUG [server.auth.MD5UserAuthenticator] >>> > >> (2087715408@qtp-44855217-5:null) Retrieving user: admin >>> > >> 2013-02-14 16:40:12,659 DEBUG [cloud.user.AccountManagerImpl] >>> > >> (2087715408@qtp-44855217-5:null) User: admin in domain 1 has >>> > >> successfully logged in >>> > >> 2013-02-14 16:40:12,689 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DEND=3D=3D=3D 10.46.40.1= 09 -- POST >>> null >>> > >> 2013-02-14 16:40:12,709 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DSTART=3D=3D=3D 10.46.40= .109 -- GET >>> > >> command=3DlistCapabilities&response=3Djson&sessionkey=3DMHQ4BNzDLC= xRyhB >>> > >> tAzRE >>> > >> vVWsJw0%3D&_=3D1360878012706 >>> > >> 2013-02-14 16:40:12,729 DEBUG [cloud.api.ApiServer] >>> > >> (2087715408@qtp-44855217-5:null) The given >>> > >> command:listCapabilities does not exist or it is not available >>> > >> for user with id:2 >>> > >> 2013-02-14 16:40:12,732 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DEND=3D=3D=3D 10.46.40.1= 09 -- GET >>> > >> command=3DlistCapabilities&response=3Djson&sessionkey=3DMHQ4BNzDLC= xRyhB >>> > >> tAzRE >>> > >> vVWsJw0%3D&_=3D1360878012706 >>> > >> 2013-02-14 16:40:12,746 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DSTART=3D=3D=3D 10.46.40= .109 -- GET >>> > >> command=3DlistSwifts&response=3Djson&sessionkey=3DMHQ4BNzDLCxRyhBt= AzREv >>> > >> VWsJw >>> > >> 0%3D&_=3D1360878012744 >>> > >> 2013-02-14 16:40:12,766 DEBUG [cloud.api.ApiServer] >>> > >> (2087715408@qtp-44855217-5:null) The given command:listSwifts >>> > >> does >>> not >>> > >> exist or it is not available for user with id:2 >>> > >> 2013-02-14 16:40:12,769 DEBUG [cloud.api.ApiServlet] >>> > >> (2087715408@qtp-44855217-5:null) =3D=3D=3DEND=3D=3D=3D 10.46.40.1= 09 -- GET >>> > >> command=3DlistSwifts&response=3Djson&sessionkey=3DMHQ4BNzDLCxRyhBt= AzREv >>> > >> VWsJw >>> > >> 0%3D&_=3D1360878012 >>> > >> >>> > >> >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > >>> >>