Daan,
Any chance you got to look at this? I am still confused why for a basic network with no vlans
the code is expecting a uri for a vlan.
thanks
Carlos
On Sep 30, 2014, at 11:37 AM, Carlos Reategui <carlos@reategui.com> wrote:
> ok. I see. Although wouldn't it be easier to query the DB based on what it is looking
for to see what is missing?
>
> When I originally set it up, I did not us the initial wizard. Instead I created it from
"Infrastructure->Zones->Add Zone" and then following:
> 1) Zone Type:
> Basic Network
>
> 2) Setup Zone:
> fill in values for DNS
> Hypervisor: ZenServer
> Network Offering: DefaultSharedNetworkOffering
> Network Domain: blank
> Dedicated: NO
> LocalStorageEnabled: YES (I do option 1 from the warning -- start zone in disabled state
and add primary storage)
>
> 3) Setup Network
> POD:
> Physical Network: xapi1 (Management and Guest) did not drag storage in.
> GUEST TRAFFIC:
> *Reserved system gateway: 172.30.45.1
> *Reserved system netmask: 255.255.255.0
> *Start Reserved system IP: 172.30.45.50
> End Reserved system IP: 172.30.45.80
>
> Guest Gateway: 172.30.45.1
> Guest Netmask: 255.255.255.0
> Guest start IP: 172.30.45.100
> Guest end IP: 172.30.45.250
>
> 4) Add Resources:
> CLUSTER:
> Hypervisor: Xenserver
> HOST:
> add the xenserver pool master info
>
> 5) Launch
> SECONDARY STORAGE:
> Add NFS storage
>
> Launch zone disabled
>
> The go to "Infrastructure->Primary Storage(view all)->Add Primary Storage" and
add primary NFS storage.
>
> This was working fine previously.
>
>
>
>
> On Tue, Sep 30, 2014 at 10:19 AM, Daan Hoogland <daan.hoogland@gmail.com> wrote:
> Carlos, the line of code that breaks expects a uri for a vlan. That is why
> I want more information from you. I can not judge whether the code is
> broken and should have dealt with the nullpointer or whether the
> configuration is incorrect. What are your guest/management/storage
> networks? what are the cidrs and ip-ranges you chose?
>
> On Tue, Sep 30, 2014 at 4:41 PM, Carlos Reátegui <carlos@reategui.com>
> wrote:
>
> > Daan,
> > Thanks for having a look
> >
> > On Sep 30, 2014, at 2:16 AM, Daan Hoogland <daan.hoogland@gmail.com>
> > wrote:
> >
> > >> 2014-09-29 16:26:25,834 WARN [c.c.h.x.r.CitrixResourceBase]
> > >> (DirectAgent-235:ctx-7f8db7ac) Catch Exception: class
> > >> java.lang.NullPointerException due to java.lang.NullPointerException
> > >>
> > >> java.lang.NullPointerException
> > >>
> > >> at
> > >>
> > >
> > com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.java:173)
> > >>
> > >> at
> > >>
> > com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:228)
> > >>
> > >> at
> > >>
> > >
> > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNetwork(CitrixResourceBase.java:1035)
> > >>
> > > ...
> > >
> > > Can you describe how you set up your network? Which cidrs/network
> > > types/vlans/ etc?
> > >
> >
> > This is a basic network. No security groups. No vlans.
> >
> > ACS: 4.3.1 (On ubuntu 12.04) + XS 6.2
> >
> > > --
> > > Daan
> >
> >
>
>
> --
> Daan
>
|