Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 037A1106C5 for ; Sat, 15 Jun 2013 04:23:11 +0000 (UTC) Received: (qmail 87701 invoked by uid 500); 15 Jun 2013 04:23:10 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 87246 invoked by uid 500); 15 Jun 2013 04:23:08 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 87238 invoked by uid 99); 15 Jun 2013 04:23:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jun 2013 04:23:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of williamstevens@gmail.com designates 209.85.192.178 as permitted sender) Received: from [209.85.192.178] (HELO mail-pd0-f178.google.com) (209.85.192.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 15 Jun 2013 04:23:03 +0000 Received: by mail-pd0-f178.google.com with SMTP id w11so1135712pde.23 for ; Fri, 14 Jun 2013 21:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=2d7BfFMq+C87G+P4k3v7OFS9de6N01dBZ2DWsuoanmA=; b=M/Z+U+8KP056McPsNV/efem9ZbOLgZuywV63nptCG08J2mlxUHaRyiBfTR4IGDJKIl 0qVx+iGXZvx+pB7E+x7UlPKGiV7BHp4XQJTk2Vnk3AZxMMgCuBDAKdZZZuZEYVXdOrkf WA6SFissfbZiXiLAWfyuVyw7uG+EoX/IynjjID665+MXv6RpWWz/35QIHkgMaOP0LXZu i6ysusr60nlQYIPLpAcqEZwrKJCxMA/e6IEEzM328xQjHddnxdMNsqs5nTSTeRkFPSbX ndM4i8VTAgLKzdBn7M+1M+bzO+OBTXL/hxaBsWHj5DoGCprrE2peD2b+xv25YRAU8rtW krYw== MIME-Version: 1.0 X-Received: by 10.66.244.42 with SMTP id xd10mr5201687pac.100.1371270162203; Fri, 14 Jun 2013 21:22:42 -0700 (PDT) Sender: williamstevens@gmail.com Received: by 10.70.24.195 with HTTP; Fri, 14 Jun 2013 21:22:42 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Jun 2013 00:22:42 -0400 X-Google-Sender-Auth: baQx7qWTFH-IqWxuw-MBc1AHqVk Message-ID: Subject: Re: Bugs on Master From: Will Stevens To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=047d7b15b31de8ca6a04df29b658 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15b31de8ca6a04df29b658 Content-Type: text/plain; charset=ISO-8859-1 I will check and see how the API is handled now that the UI is fixed. Thanks, will On Fri, Jun 14, 2013 at 9:34 PM, Chiradeep Vittal < Chiradeep.Vittal@citrix.com> wrote: > Now that the UI works, just use Firebug to figure out the API. > And file a doc bug on the API docs. > (and submit a fix for the said bug :)) > > On 6/14/13 5:43 PM, "Will Stevens" wrote: > > >Thanks Sheng, that fixed the problem with the UI. > > > > > >On Fri, Jun 14, 2013 at 8:06 PM, Will Stevens > >wrote: > > > >> Yes, I am building nonoss. I actually have written my own network > >>service > >> provider plugin, so I was just using junipersrx as an example. I will > >> actually be using my own. > >> > >> My problem is that the API docs for createNetworkOffering ( > >> > >> > http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/createNetwor > >>kOffering.html) > >> do not have any documentation for how '*supportedservices*' is supposed > >> to be formatted when it is passed via the API. I believe it should be > >>an > >> array of objects which have things like 'name', 'provider', etc, but > >>there > >> is no documentation for how that should be formatted when it is passed > >>via > >> the API. It appears there is a documentation gap here. > >> > >> Sheng, I just saw your note. I will repull to see if it fixes the > >> problem. > >> > >> Thanks... > >> > >> > >> On Fri, Jun 14, 2013 at 7:39 PM, Chiradeep Vittal < > >> Chiradeep.Vittal@citrix.com> wrote: > >> > >>> Did you build the nonoss build? You have to add the SRX provider using > >>> addNetworkServiceProvider api, enable it and then the drop down for > >>> network offering should work. > >>> > >>> > >>> On 6/14/13 12:09 PM, "Will Stevens" wrote: > >>> > >>> >BTW, I am using cloudmonkey 4.1.0... Thx > >>> > > >>> > > >>> >On Fri, Jun 14, 2013 at 3:04 PM, Will Stevens > >>> >wrote: > >>> > > >>> >> Chiradeep, can you send me the format of the cloudmonkey call for > >>>the > >>> >>api > >>> >> request 'createNetworkOffering' with 'supportedservices' of > >>> >> 'dhcp:virtualrouter', 'dns:virtualrouter', 'firewall:junipersrx'. I > >>> can > >>> >> not figure out the format of this call. > >>> >> > >>> >> I have confirmed that I can reproduce the issue of not being able to > >>> >> select capability dropdowns in multiple browsers on master. > >>> >> > >>> >> Thanks, > >>> >> > >>> >> Will > >>> >> > >>> >> > >>> >> On Fri, Jun 14, 2013 at 1:56 PM, Will Stevens > >>> >>wrote: > >>> >> > >>> >>> I will try that. I am doing some testing right now. I am > >>>compiling > >>> >>>and > >>> >>> running just master now to validate everything. > >>> >>> > >>> >>> I will be in touch when I have more details... > >>> >>> > >>> >>> ws > >>> >>> > >>> >>> > >>> >>> On Fri, Jun 14, 2013 at 1:20 PM, Chiradeep Vittal < > >>> >>> Chiradeep.Vittal@citrix.com> wrote: > >>> >>> > >>> >>>> Are you able to use CloudMonkey? Perhaps it is a UI issue? > >>> >>>> > >>> >>>> On 6/14/13 9:50 AM, "Will Stevens" wrote: > >>> >>>> > >>> >>>> >11 days ago I pulled the master code into my branch. Master was > >>>at: > >>> >>>> >48913679e80e50228b1bd4b3d17fe5245461626a > >>> >>>> > > >>> >>>> >When I pulled, I had Egress firewall rules working perfectly. > >>>After > >>> >>>>the > >>> >>>> >pull I now get the following error when trying to create Egress > >>> >>>>firewall > >>> >>>> >rules: > >>> >>>> >ERROR [cloud.api.ApiServer] (1784147987@qtp-213982037-11:) > >>> unhandled > >>> >>>> >exception executing api command: createEgressFirewallRule > >>> >>>> >java.lang.NullPointerException > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>com.cloud.network.firewall.FirewallManagerImpl.validateFirewallRule > >>>>>>>>(Fi > >>> >>>>>rewa > >>> >>>> >llManagerImpl.java:485) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>com.cloud.network.firewall.FirewallManagerImpl.createFirewallRule(F > >>>>>>>>ire > >>> >>>>>wall > >>> >>>> >ManagerImpl.java:191) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>com.cloud.utils.component.ComponentInstantiationPostProcessor$Inter > >>>>>>>>cep > >>> >>>>>torD > >>> >>>> >ispatcher.intercept(ComponentInstantiationPostProcessor.java:125) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>com.cloud.network.firewall.FirewallManagerImpl.createEgressFirewall > >>>>>>>>Rul > >>> >>>>>e(Fi > >>> >>>> >rewallManagerImpl.java:157) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.apache.cloudstack.api.command.user.firewall.CreateEgressFirewal > >>>>>>>>lRu > >>> >>>>>leCm > >>> >>>> >d.create(CreateEgressFirewallRuleCmd.java:252) > >>> >>>> >at > >>> > >>>>>>>com.cloud.api.ApiDispatcher.dispatchCreateCmd(ApiDispatcher.java:101 > >>>>>>>) > >>> >>>> >at com.cloud.api.ApiServer.queueCommand(ApiServer.java:471) > >>> >>>> >at com.cloud.api.ApiServer.handleRequest(ApiServer.java:367) > >>> >>>> >at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304) > >>> >>>> >at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66) > >>> >>>> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > >>> >>>> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) > >>> >>>> >at > >>> >>>> > >>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) > >>> >>>> >at > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java > >>>>>>>>:40 > >>> >>>>>1) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.j > >>>>>>>>ava > >>> >>>>>:216 > >>> >>>> >) > >>> >>>> >at > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java > >>>>>>>>:18 > >>> >>>>>2) > >>> >>>> >at > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java > >>>>>>>>:76 > >>> >>>>>6) > >>> >>>> >at > >>> > >>>>>>>org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450 > >>>>>>>) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHa > >>>>>>>>ndl > >>> >>>>>erCo > >>> >>>> >llection.java:230) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollectio > >>>>>>>>n.j > >>> >>>>>ava: > >>> >>>> >114) > >>> >>>> >at > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java > >>>>>>>>:15 > >>> >>>>>2) > >>> >>>> >at org.mortbay.jetty.Server.handle(Server.java:326) > >>> >>>> >at > >>> >>>> > >>> > >>> > >>>>>>>org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:5 > >>>>>>>42) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(Http > >>>>>>>>Con > >>> >>>>>nect > >>> >>>> >ion.java:928) > >>> >>>> >at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) > >>> >>>> >at > >>>org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) > >>> >>>> >at > >>>org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint. > >>>>>>>>jav > >>> >>>>>a:41 > >>> >>>> >0) > >>> >>>> >at > >>> >>>> > >>> >>>> > >>> > >>> > >>>>>>>>org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool > >>>>>>>>.ja > >>> >>>>>va:5 > >>> >>>> >82) > >>> >>>> > > >>> >>>> >--- > >>> >>>> > > >>> >>>> >So I merged in master this morning to see if that issue was > >>>fixed. > >>> >>>>Now > >>> >>>> I > >>> >>>> >can not create a Network Service offering and select anything but > >>> >>>> Virtual > >>> >>>> >Router from any of the dropdowns for capabilities such as > >>> 'Firewall', > >>> >>>> >'Source NAT', etc... > >>> >>>> > > >>> >>>> >There are no JS errors, the dropdown just sits and thinks about > >>>it > >>> >>>>for a > >>> >>>> >second and does not change away from Virtual Router. > >>> >>>> > > >>> >>>> >So now I can't use my service provider at all, so my development > >>>is > >>> >>>> >completely stalled. > >>> >>>> > > >>> >>>> >Ideas??? > >>> >>>> > > >>> >>>> >ws > >>> >>>> > >>> >>>> > >>> >>> > >>> >> > >>> > >>> > >> > > --047d7b15b31de8ca6a04df29b658--