Hi Chris,

I have created a pull request for this issue
https://github.com/apache/cloudstack/pull/5701

-Wei

On Thu, 18 Nov 2021 at 23:36, vas...@gmx.de <vas...@gmx.de> wrote:

> Hi again,
>
> just wanted to inform you that changeing the values in the database was
> successfull.
> The Core-Count is visible in the dash-board again.
>
> That reminded me, that while adding hosts in one of my previous trials i
> was facing kind of a similar problem with the graph. That time there just 2
> out of 4 hosts had displayed theire values.
> Anyway, it is back to normal and up till know 4.16 is working like expected
> and performaning well.
>
> Regards,
> Chris
>
> Am Do., 18. Nov. 2021 um 12:47 Uhr schrieb vas...@gmx.de <vas...@gmx.de>:
>
> > No problem at all - looking at my last 'signature' i am prone to typo's,
> > too. 😉
> > How ever: Found the table as well as the entries stateing
> > "resource_state=Enabled" for all hosts.
> >
> > Will then try this evening to change the values in 'op_host_capacity' to
> > 'Enabled' (of course perfoming backup's and stuff beforehand) and report
> > back how things where going.
> >
> > Regards
> > Chris
> >
> > Am Do., 18. Nov. 2021 um 12:31 Uhr schrieb Wei ZHOU <
> ustcweiz...@gmail.com
> > >:
> >
> >> Hi Christ,
> >>
> >> The table name is `host`,  not `hosts`. Sorry for the typo
> >>
> >> -Wei
> >>
> >> On Thu, 18 Nov 2021 at 11:47, vas...@gmx.de <vas...@gmx.de> wrote:
> >>
> >>> Hi  Wei,
> >>>
> >>> thanks again for your support.
> >>> As I have not worked with the CS DB beforehand:
> >>> Which table are you referring to with "hosts table"? Taking a look into
> >>> my
> >>> DB I am not finding a table of the name "hosts".
> >>>
> >>> Thanks in advance,
> >>> Christ
> >>>
> >>> Am Do., 18. Nov. 2021 um 09:12 Uhr schrieb Wei ZHOU <
> >>> ustcweiz...@gmail.com>:
> >>>
> >>> > Hi,
> >>> >
> >>> > If you are sure that all hosts are enabled (resource_state='Enabled'
> in
> >>> > hosts table), you can update the capacity_state to "Enabled" by
> manual
> >>> db
> >>> > change.
> >>> >
> >>> > -Wei
> >>> >
> >>> > On Wed, 17 Nov 2021 at 20:32, vas...@gmx.de <vas...@gmx.de> wrote:
> >>> >
> >>> > > hi,
> >>> > >
> >>> > > all hosts are enabled and running fine.
> >>> > >
> >>> > > Am Mi., 17. Nov. 2021 um 19:59 Uhr schrieb Wei ZHOU <
> >>> > ustcweiz...@gmail.com
> >>> > > >:
> >>> > >
> >>> > > > Hi,
> >>> > > >
> >>> > > > Are the hosts Disabled or Enabled ?
> >>> > > >
> >>> > > > -Wei
> >>> > > >
> >>> > > > On Wed, 17 Nov 2021 at 16:54, vas...@gmx.de <vas...@gmx.de>
> wrote:
> >>> > > >
> >>> > > >> In the DB the records are there, entrys / values are correct BUT
> >>> > > >> "capacity_state" is "Disabled".
> >>> > > >>
> >>> > > >> Which is a bit odd to understand, as i didn't made any further
> >>> > changes.
> >>> > > >> My process was to put them into maintenance-mode, perform the
> >>> upgrade
> >>> > to
> >>> > > >> 4.16, restart the agent and then got them out of
> maintenance-mode
> >>> > again.
> >>> > > >> Did i made a mistake here?
> >>> > > >>
> >>> > > >> Any idea on how to get the values "Enabled" again?
> >>> > > >>
> >>> > > >> Am Mi., 17. Nov. 2021 um 15:40 Uhr schrieb Wei ZHOU <
> >>> > > >> ustcweiz...@gmail.com>:
> >>> > > >>
> >>> > > >> > any record in DB ?
> >>> > > >> >
> >>> > > >> > select * from op_host_capacity where capacity_type =90;
> >>> > > >> >
> >>> > > >> > -Wei
> >>> > > >> >
> >>> > > >> > On Wed, 17 Nov 2021 at 14:14, vas...@gmx.de <vas...@gmx.de>
> >>> wrote:
> >>> > > >> >
> >>> > > >> >> Sadly: Nothing at all. Not even a error.
> >>> > > >> >>
> >>> > > >> >>
> >>> > > >> >> Am Mi., 17. Nov. 2021 um 13:10 Uhr schrieb Wei ZHOU <
> >>> > > >> >> ustcweiz...@gmail.com>:
> >>> > > >> >>
> >>> > > >> >>> I do not have this issue.
> >>> > > >> >>>
> >>> > > >> >>> If you use cmk/cloudmonkey, can you share the result of the
> >>> > > following
> >>> > > >> >>> command ?
> >>> > > >> >>>
> >>> > > >> >>> cmk list capacity type=90
> >>> > > >> >>>
> >>> > > >> >>> -Wei
> >>> > > >> >>>
> >>> > > >> >>>
> >>> > > >> >>> On Wed, 17 Nov 2021 at 12:01, vas...@gmx.de <vas...@gmx.de>
> >>> > wrote:
> >>> > > >> >>>
> >>> > > >> >>>> Hi everyone,
> >>> > > >> >>>>
> >>> > > >> >>>> so far the upgrade to 4.16 worked well and everything seems
> >>> > working
> >>> > > >> >>>> fine.
> >>> > > >> >>>> What i noticed is, that for my root - admin the Dashboard
> >>> doesn't
> >>> > > >> show
> >>> > > >> >>>> the
> >>> > > >> >>>> CPU-Cores Graph anymore.
> >>> > > >> >>>> Is there a way to display this again at the Dashboard?
> >>> > > >> >>>>
> >>> > > >> >>>> Regards,
> >>> > > >> >>>> Chris
> >>> > > >> >>>>
> >>> > > >> >>>
> >>> > > >>
> >>> > > >
> >>> > >
> >>> >
> >>>
> >>
>

Reply via email to