cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pranav Saxena <pranav.sax...@citrix.com>
Subject RE: physical network is in incorrect state:Disabled
Date Thu, 18 Apr 2013 02:52:23 GMT
I see , if possible could you create a JIRA ticket  and investigate on the same . Perhaps the
difference in the current master code and the slightly outdated code would let you know as
to what's the root cause of this problem. Let me know if I can help.

Thanks,
Pranav

-----Original Message-----
From: Isaac Chiang [mailto:isaacchiang@gmail.com] 
Sent: Thursday, April 18, 2013 8:19 AM
To: dev@cloudstack.apache.org
Subject: Re: physical network is in incorrect state:Disabled

Hi Pranav:
             I observed the from the the Javascript console. As I know, after updating the
service provider's status,  should be followed a request call to update physical network with
state=enabled. But I didn't see that request now, but followed a createNetwork call.

Regards
Isaac



On Thu, Apr 18, 2013 at 10:40 AM, Pranav Saxena <pranav.saxena@citrix.com>wrote:

> Well , how is that possible otherwise the physical network state won't 
> be updated at all . It's a part of the zoneWizard work flow . Have a 
> look at the snippet below which is passing state as Enabled in 
> zoneWizard.js -
> /*
> if(args.data.zone.networkType == "Basic") {
>             $.ajax({
>               url: createURL("updatePhysicalNetwork&state=Enabled&id=" 
> + args.data.returnedBasicPhysicalNetwork.id),
>               dataType: "json",
>
> */
>
>
>
> -----Original Message-----
> From: Isaac Chiang [mailto:isaacchiang@gmail.com]
> Sent: Thursday, April 18, 2013 8:08 AM
> To: dev@cloudstack.apache.org
> Subject: Re: physical network is in incorrect state:Disabled
>
> Hi Pranav:
>             The UI doesn't send updatePhysicalNetwork call through 
> wizard now.
>
> Isaac
>
>
> On Thu, Apr 18, 2013 at 10:32 AM, Pranav Saxena 
> <pranav.saxena@citrix.com
> >wrote:
>
> > Isaac,
> >
> > Could you verify if UI is making the correct call to the 
> > UpdatePhysicalNetwork API with state being passed as "Enabled " ? If 
> > yes , then the issue is something serious since Sanjay pointed out 
> > that the db column contains state as "Disabled"  .This would mean 
> > that the API is not setting the db column correctly in case there 
> > have been modifications to the API code.
> >
> > Thanks,
> > Pranav
> >
> > -----Original Message-----
> > From: Isaac Chiang [mailto:isaacchiang@gmail.com]
> > Sent: Thursday, April 18, 2013 7:54 AM
> > To: dev@cloudstack.apache.org
> > Subject: Re: physical network is in incorrect state:Disabled
> >
> > Hi all:
> >           I encountered same issue. The zone installation wizard 
> > won't enable the physical network now in master code.
> >
> > Regards
> >
> > Isaac
> >
> >
> >
> >
> >
> > On Thu, Apr 18, 2013 at 12:39 AM, Alena Prokharchyk < 
> > Alena.Prokharchyk@citrix.com> wrote:
> >
> > > Hi Sanjay,
> > >
> > > You have to enable the physical network explicitly after its 
> > > creation if you configure CS using APIs. Here is the example of 
> > > the
> command:
> > >
> > > http://localhost:8096/?command=updatePhysicalNetwork&id=
> > > <UUID>&state=Enable
> > > d
> > >
> > > The cloudStack UI automatically does this call for you as the last 
> > > step of the zone creation.
> > >
> > > -Alena.
> > >
> > > On 4/17/13 3:40 AM, "Sanjay Tripathi" <sanjay.tripathi@citrix.com>
> > wrote:
> > >
> > > >Hi,
> > > >
> > > >While setting up the environment with the latest master code, the 
> > > >"createNetwork" API fails with this error message: "failed to 
> > > >create a guest network for basic zone Error: Specified physical 
> > > >network id is in incorrect state:Disabled". I checked the DB and 
> > > >found that in physical_network table the data entry is in 
> > > >disabled
> state.
> > > >
> > > >Is anyone else facing the same issue, or is there any use case 
> > > >why physical network is in disabled state?
> > > >
> > > >--Sanjay
> > > >
> > >
> > >
> > >
> >
>

Mime
View raw message