git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network "restart required - yes"


Thx Rohit!

On Wed, Oct 3, 2018, 14:27 Rohit Yadav <rohit.yadav@xxxxxxxxxxxxx> wrote:

> Hi Andrija,
>
>
> Since you're running an older ACS 4.8.x version, the rolling restart VPC
> code does not apply for you. Performing restart of a vpc network (tier, and
> when cleanup is not selected) will not restart the VPC VR but only re-apply
> the networking rules.
>
>
> When due to a failed shutdown of network elements or failed restart
> attempt, the VPC fails to restart, the restart_required column in vpc table
> is marked as true. This is the relevant code wrt 4.8:
>
>
> https://github.com/apache/cloudstack/blob/4.8/server/src/com/cloud/network/vpc/VpcManagerImpl.java#L1553
>
>
> It's possible that the restart flag in API response and UI is not actually
> *necessary*, this is just a presentational issue for users to perform an
> action when any past action may have failed.
>
>
> - Rohit
>
> <https://cloudstack.apache.org>
>
>
>
> ________________________________
> From: Andrija Panic <andrija.panic@xxxxxxxxx>
> Sent: Wednesday, September 19, 2018 8:56:51 PM
> To: users
> Subject: Re: Network "restart required - yes"
>
> Well, not recent at all, and no issues so far.... update was done a few
> months, and as I stated above, from DB I got all VRs reported to be running
> 4.6.0 version - I assume DB is populated dynamically as VR reports the
> version to MGMT server....
>
> Need to think...
>
>
> rohit.yadav@xxxxxxxxxxxxx
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
> On Wed, 19 Sep 2018 at 15:43, Simon Weller <sweller@xxxxxxx.invalid>
> wrote:
>
> > Without digging into the code, I believe that the VR reports the version
> > and it's matched against the min version. i'm not sure what happens if
> the
> > version is not reported at all.
> >
> > Is this recent and have you updated the system QCOW2 or systemvm.iso
> > recently? And if so, did you rebuild the rpms, or manually place the
> image
> > or iso?
> >
> >
> > - Si
> >
> > ________________________________
> > From: Andrija Panic <andrija.panic@xxxxxxxxx>
> > Sent: Wednesday, September 19, 2018 8:35 AM
> > To: users
> > Subject: Re: Network "restart required - yes"
> >
> > Just did some SQL - only 19 networks in this state (requires restart...),
> > so a few of VPCs
> >
> > Minimum template version ss 4.6.0 (we run acs 4.8.x)
> >
> > and just checked all VRs from DB, did SQL, all existing routers are on
> this
> > version (4.6.0)....
> >
> > Hm...
> >
> >
> > On Wed, 19 Sep 2018 at 15:02, Simon Weller <sweller@xxxxxxx.invalid>
> > wrote:
> >
> > > Andrija,
> > >
> > >
> > > Is this isolated to that particular VPC, or is this across the entire
> > > zone? What's the minreq.sysvmtemplate.version global set to?
> > >
> > >
> > > - Si
> > >
> > > ________________________________
> > > From: Andrija Panic <andrija.panic@xxxxxxxxx>
> > > Sent: Wednesday, September 19, 2018 7:55 AM
> > > To: users
> > > Subject: Re: Network "restart required - yes"
> > >
> > > Actually, its the filed called "Restart required" - check here:
> > > https://pasteboard.co/HEBUmB0.png
> > >
> > > you go to inside VPC, click on network, and there it is...
> > >
> > >
> > > Thanks !
> > >
> > > On Wed, 19 Sep 2018 at 14:42, Rafael Weingärtner <
> > > rafaelweingartner@xxxxxxxxx> wrote:
> > >
> > > > Where is this appearing? In the network 'state' field?
> > > >
> > > > On Wed, Sep 19, 2018 at 9:28 AM, Andrija Panic <
> > andrija.panic@xxxxxxxxx>
> > > > wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > does anyone know it means when on the Network tab (this is VPC
> > network)
> > > > it
> > > > > says "Restart Required - yes" ?
> > > > >  (the VR is using latest, up-to-date template just FYI).
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --
> > > > >
> > > > > Andrija Panić
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Rafael Weingärtner
> > > >
> > >
> > >
> > > --
> > >
> > > Andrija Panić
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>
>
> --
>
> Andrija Panić
>