Re: VR for VPC won't start anymore

2022-08-05 Thread vas...@gmx.de
Good evening everyone,

got everything working as expected. Resolved this by restarting the VPC
with the clean-up option Could have thought about this before
But everything seems back to normal and working as expected.

Thanks for your support - as always really helpfull! Until the next topic -

Regards,
Chris

Am Fr., 5. Aug. 2022 um 17:45 Uhr schrieb vas...@gmx.de :

>
> Hi everyone,
>
> @Slavka Peleva 
> Thx for your efforts here - i decided to go with the DB-manipulation first
> as i wanted to make shure that i don't have any impact on other existing
> vms.
>
> @Wei ZHOU 
> Inserted the values into template.properties as well as the database.
>
> Result:
> Router is deployed again
>
> BUT:
>
> now the newly started router and the old one aren't communicationg
> properly which one is prime and which one is second. Leading to the
> situation where i have to prime routers for one VPC - which isn't helpful
> by any means.
> Looking in the DB (vpc_gateways), both routers are in Primary state...
> So for now i destroyed the old router, hopeing that the HA-Scripts for the
> VPC will trigger creation of a new one again
>
> Regards,
> Chris
>
> Am Fr., 5. Aug. 2022 um 13:54 Uhr schrieb vas...@gmx.de :
>
>> Hi Wei,
>>
>> whatever it was / is - guess i will try this.
>> I also found another reference for the template size in 'vm_template' -
>> guess i shall update this one as well manually...
>>
>> Regards,
>> Chris
>>
>> Am Fr., 5. Aug. 2022 um 13:01 Uhr schrieb Wei ZHOU > >:
>>
>>> Hi,
>>>
>>> It might be because qemu-img is not installed on your management server.
>>>
>>> You can update the template.properties and database manually.
>>>
>>> -Wei
>>>
>>> On Thu, 4 Aug 2022 at 18:13, vas...@gmx.de  wrote:
>>>
>>>> Hi everyone -
>>>>
>>>> @Gary
>>>> thanks for your input
>>>>
>>>> @Wei ZHOU 
>>>> Yes, the image is completely downloaded to the imagestore. I also
>>>> checked the availeabilty on the storage beneath - everything seems to be in
>>>> place like it should
>>>>
>>>> Following the values out ouf the db you requested:
>>>> id= 18
>>>> store_id = 1
>>>> download_pct = 100
>>>> size = "NULL"
>>>> store_role = Image
>>>> physical_size = 0
>>>> download_state = DOWNLOADED
>>>> state = READY
>>>> install_path =
>>>> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>>
>>>> @Slavka
>>>> Following the information of the 'template.properties'
>>>>
>>>> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>> description=SystemVM Template ( kvm )
>>>> hvm=false
>>>> size=460067328
>>>> qcow2=true
>>>> id=212
>>>> public=true
>>>> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>> uniquename=routing-212
>>>> qcow2.virtualsize=
>>>> virtualsize=
>>>> qcow2.size=
>>>>
>>>> Regards,
>>>> Chris
>>>>
>>>> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
>>>> :
>>>>
>>>>> Hi Christopher,
>>>>>
>>>>> Can you share the information of the `template.properties` file
>>>>> located on
>>>>> your secondary storage, where the template file is downloaded? You can
>>>>> find
>>>>> the path in the template_store_ref tabled - install_path.
>>>>>
>>>>> Best regards,
>>>>> Slavka
>>>>>
>>>>> On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon >>>> .invalid>
>>>>> wrote:
>>>>>
>>>>> > Hi Christopher
>>>>> >
>>>>> > My values show :
>>>>> > size=262144 physical size=375471104 and this is for a 4.15.1
>>>>> systemVM
>>>>> > template
>>>>> >
>>>>> > BR
>>>>> > Gary
>>>>> >
>>>>> > Gary Dixon
>>>>> > Senior Technical Consultant
>>>>> > T:  *0161 537 4980* <0161%20537%204980>
>>>>> > W: www.quadris.co.uk
>>>>> > The information contained in this e-mail from Quadris may be
>>>>> c

Re: VR for VPC won't start anymore

2022-08-05 Thread vas...@gmx.de
Hi Wei,

whatever it was / is - guess i will try this.
I also found another reference for the template size in 'vm_template' -
guess i shall update this one as well manually...

Regards,
Chris

Am Fr., 5. Aug. 2022 um 13:01 Uhr schrieb Wei ZHOU :

> Hi,
>
> It might be because qemu-img is not installed on your management server.
>
> You can update the template.properties and database manually.
>
> -Wei
>
> On Thu, 4 Aug 2022 at 18:13, vas...@gmx.de  wrote:
>
>> Hi everyone -
>>
>> @Gary
>> thanks for your input
>>
>> @Wei ZHOU 
>> Yes, the image is completely downloaded to the imagestore. I also checked
>> the availeabilty on the storage beneath - everything seems to be in place
>> like it should
>>
>> Following the values out ouf the db you requested:
>> id= 18
>> store_id = 1
>> download_pct = 100
>> size = "NULL"
>> store_role = Image
>> physical_size = 0
>> download_state = DOWNLOADED
>> state = READY
>> install_path =
>> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>
>> @Slavka
>> Following the information of the 'template.properties'
>>
>> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>> description=SystemVM Template ( kvm )
>> hvm=false
>> size=460067328
>> qcow2=true
>> id=212
>> public=true
>> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>> uniquename=routing-212
>> qcow2.virtualsize=
>> virtualsize=
>> qcow2.size=
>>
>> Regards,
>> Chris
>>
>> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
>> :
>>
>>> Hi Christopher,
>>>
>>> Can you share the information of the `template.properties` file located
>>> on
>>> your secondary storage, where the template file is downloaded? You can
>>> find
>>> the path in the template_store_ref tabled - install_path.
>>>
>>> Best regards,
>>> Slavka
>>>
>>> On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon >> .invalid>
>>> wrote:
>>>
>>> > Hi Christopher
>>> >
>>> > My values show :
>>> > size=262144 physical size=375471104 and this is for a 4.15.1
>>> systemVM
>>> > template
>>> >
>>> > BR
>>> > Gary
>>> >
>>> > Gary Dixon​
>>> > Senior Technical Consultant
>>> > T:  *0161 537 4980* <0161%20537%204980>
>>> > W: www.quadris.co.uk
>>> > The information contained in this e-mail from Quadris may be
>>> confidential
>>> > and privileged for the private use of the named recipient.  The
>>> contents of
>>> > this e-mail may not necessarily represent the official views of
>>> Quadris.
>>> > If you have received this information in error you must not copy,
>>> > distribute or take any action or reliance on its contents.  Please
>>> destroy
>>> > any hard copies and delete this message.
>>> > -Original Message-
>>> > From: vas...@gmx.de 
>>> > Sent: 04 August 2022 09:40
>>> > To: users@cloudstack.apache.org; Wei ZHOU 
>>> > Subject: Re: VR for VPC won't start anymore
>>> >
>>> > I forgot to ask - might anyone take a quick look into the database and
>>> can
>>> > give a hind if the fields are indeed "filled" with values
>>> > (template_store_res.size / template_store_res.physical_size)?
>>> > Another question for understanding would be the difference of the
>>> values -
>>> > physical size is the actual amount of data on a datasystemlevel - but
>>> what
>>> > represents the value of "size"?
>>> >
>>> > Regards,
>>> > Christopher
>>> >
>>> > Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de >> >:
>>> >
>>> > > Wei, seems like you are heading twards the right direction - like
>>> always.
>>> > >
>>> > > i took a look into the "template_store_res" table... and guess: There
>>> > > is a entry for the current systemvmtemplate-4.16.1. How ever: The
>>> > > field for "size" ist "null" and "physical_size" is "0".
>>> > >
>>> > > Might this be the reason for the " java.lang.NullPointerException" ?
>>> > >
>>> > > Regards,
>>

Re: VR for VPC won't start anymore

2022-08-05 Thread Slavka Peleva
t; at
>>> org.apache.cloudstack.storage.datastore.db.TemplateDataStoreVO.getSize(TemplateDataStoreVO.java:280)
>>> at
>>> com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateManagerImpl.java:2009)
>>> "
>>>
>>> so the question for me is  - can i manually place the missing values in
>>> the DB, so that the template is useable again? Or will i wait until i
>>> upgrade to 4.17.1 - which might bring a new systemVM template which will
>>> then be seeded again ?
>>>
>>> Regards,
>>> Chris
>>>
>>> Am Do., 4. Aug. 2022 um 19:10 Uhr schrieb Slavka Peleva <
>>> slav...@storpool.com>:
>>>
>>>> Hi Christopher,
>>>>
>>>> For some reason, these fields' values are empty, which probably
>>>> happened while you seed the system VM template.
>>>>
>>>>> qcow2.virtualsize=
>>>>> virtualsize=
>>>>> qcow2.size=
>>>>
>>>>
>>>> From the DB record, the only option for the values of physical_size = 0
>>>> and size=Null, is that CS couldn't read the `template.properties` file. Can
>>>> you search in the management log file for a message like "Failed to read
>>>> from template.properties"? It should contain more detailed information
>>>> about the failure.
>>>>
>>>> Best regards,
>>>> Slavka
>>>>
>>>> On Thu, Aug 4, 2022 at 7:13 PM vas...@gmx.de  wrote:
>>>>
>>>>> Hi everyone -
>>>>>
>>>>> @Gary
>>>>> thanks for your input
>>>>>
>>>>> @Wei ZHOU 
>>>>> Yes, the image is completely downloaded to the imagestore. I also
>>>>> checked
>>>>> the availeabilty on the storage beneath - everything seems to be in
>>>>> place
>>>>> like it should
>>>>>
>>>>> Following the values out ouf the db you requested:
>>>>> id= 18
>>>>> store_id = 1
>>>>> download_pct = 100
>>>>> size = "NULL"
>>>>> store_role = Image
>>>>> physical_size = 0
>>>>> download_state = DOWNLOADED
>>>>> state = READY
>>>>> install_path =
>>>>> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>>>
>>>>> @Slavka
>>>>> Following the information of the 'template.properties'
>>>>>
>>>>> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>>> description=SystemVM Template ( kvm )
>>>>> hvm=false
>>>>> size=460067328
>>>>> qcow2=true
>>>>> id=212
>>>>> public=true
>>>>> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>>> uniquename=routing-212
>>>>> qcow2.virtualsize=
>>>>> virtualsize=
>>>>> qcow2.size=
>>>>>
>>>>> Regards,
>>>>> Chris
>>>>>
>>>>> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
>>>>> :
>>>>>
>>>>> > Hi Christopher,
>>>>> >
>>>>> > Can you share the information of the `template.properties` file
>>>>> located on
>>>>> > your secondary storage, where the template file is downloaded? You
>>>>> can find
>>>>> > the path in the template_store_ref tabled - install_path.
>>>>> >
>>>>> > Best regards,
>>>>> > Slavka
>>>>> >
>>>>> > On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon >>>> > .invalid>
>>>>> > wrote:
>>>>> >
>>>>> > > Hi Christopher
>>>>> > >
>>>>> > > My values show :
>>>>> > > size=262144 physical size=375471104 and this is for a 4.15.1
>>>>> systemVM
>>>>> > > template
>>>>> > >
>>>>> > > BR
>>>>> > > Gary
>>>>> > >
>>>>> > > Gary Dixon​
>>>>> > > Senior Technical Consultant
>>>>> > > T:  *0161 537 4980* <0161%20537%204980>
>>>>> > > W: www.quadris.co.uk
>>>>> > > The information contained in this e-mail from Quadris may be
>

Re: VR for VPC won't start anymore

2022-08-05 Thread vas...@gmx.de
ike "Failed to read
>>> from template.properties"? It should contain more detailed information
>>> about the failure.
>>>
>>> Best regards,
>>> Slavka
>>>
>>> On Thu, Aug 4, 2022 at 7:13 PM vas...@gmx.de  wrote:
>>>
>>>> Hi everyone -
>>>>
>>>> @Gary
>>>> thanks for your input
>>>>
>>>> @Wei ZHOU 
>>>> Yes, the image is completely downloaded to the imagestore. I also
>>>> checked
>>>> the availeabilty on the storage beneath - everything seems to be in
>>>> place
>>>> like it should
>>>>
>>>> Following the values out ouf the db you requested:
>>>> id= 18
>>>> store_id = 1
>>>> download_pct = 100
>>>> size = "NULL"
>>>> store_role = Image
>>>> physical_size = 0
>>>> download_state = DOWNLOADED
>>>> state = READY
>>>> install_path =
>>>> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>>
>>>> @Slavka
>>>> Following the information of the 'template.properties'
>>>>
>>>> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>> description=SystemVM Template ( kvm )
>>>> hvm=false
>>>> size=460067328
>>>> qcow2=true
>>>> id=212
>>>> public=true
>>>> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>>> uniquename=routing-212
>>>> qcow2.virtualsize=
>>>> virtualsize=
>>>> qcow2.size=
>>>>
>>>> Regards,
>>>> Chris
>>>>
>>>> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
>>>> :
>>>>
>>>> > Hi Christopher,
>>>> >
>>>> > Can you share the information of the `template.properties` file
>>>> located on
>>>> > your secondary storage, where the template file is downloaded? You
>>>> can find
>>>> > the path in the template_store_ref tabled - install_path.
>>>> >
>>>> > Best regards,
>>>> > Slavka
>>>> >
>>>> > On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon >>> > .invalid>
>>>> > wrote:
>>>> >
>>>> > > Hi Christopher
>>>> > >
>>>> > > My values show :
>>>> > > size=262144 physical size=375471104 and this is for a 4.15.1
>>>> systemVM
>>>> > > template
>>>> > >
>>>> > > BR
>>>> > > Gary
>>>> > >
>>>> > > Gary Dixon​
>>>> > > Senior Technical Consultant
>>>> > > T:  *0161 537 4980* <0161%20537%204980>
>>>> > > W: www.quadris.co.uk
>>>> > > The information contained in this e-mail from Quadris may be
>>>> confidential
>>>> > > and privileged for the private use of the named recipient.  The
>>>> contents
>>>> > of
>>>> > > this e-mail may not necessarily represent the official views of
>>>> Quadris.
>>>> > > If you have received this information in error you must not copy,
>>>> > > distribute or take any action or reliance on its contents.  Please
>>>> > destroy
>>>> > > any hard copies and delete this message.
>>>> > > -Original Message-
>>>> > > From: vas...@gmx.de 
>>>> > > Sent: 04 August 2022 09:40
>>>> > > To: users@cloudstack.apache.org; Wei ZHOU 
>>>> > > Subject: Re: VR for VPC won't start anymore
>>>> > >
>>>> > > I forgot to ask - might anyone take a quick look into the database
>>>> and
>>>> > can
>>>> > > give a hind if the fields are indeed "filled" with values
>>>> > > (template_store_res.size / template_store_res.physical_size)?
>>>> > > Another question for understanding would be the difference of the
>>>> values
>>>> > -
>>>> > > physical size is the actual amount of data on a datasystemlevel -
>>>> but
>>>> > what
>>>> > > represents the value of "size"?
>>>> > >
>>>> > > Regards,
>>>> > > Christopher
>>>> >

Re: VR for VPC won't start anymore

2022-08-05 Thread Slavka Peleva
t;>> located on
>>> > your secondary storage, where the template file is downloaded? You can
>>> find
>>> > the path in the template_store_ref tabled - install_path.
>>> >
>>> > Best regards,
>>> > Slavka
>>> >
>>> > On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon >> > .invalid>
>>> > wrote:
>>> >
>>> > > Hi Christopher
>>> > >
>>> > > My values show :
>>> > > size=262144 physical size=375471104 and this is for a 4.15.1
>>> systemVM
>>> > > template
>>> > >
>>> > > BR
>>> > > Gary
>>> > >
>>> > > Gary Dixon​
>>> > > Senior Technical Consultant
>>> > > T:  *0161 537 4980* <0161%20537%204980>
>>> > > W: www.quadris.co.uk
>>> > > The information contained in this e-mail from Quadris may be
>>> confidential
>>> > > and privileged for the private use of the named recipient.  The
>>> contents
>>> > of
>>> > > this e-mail may not necessarily represent the official views of
>>> Quadris.
>>> > > If you have received this information in error you must not copy,
>>> > > distribute or take any action or reliance on its contents.  Please
>>> > destroy
>>> > > any hard copies and delete this message.
>>> > > -Original Message-
>>> > > From: vas...@gmx.de 
>>> > > Sent: 04 August 2022 09:40
>>> > > To: users@cloudstack.apache.org; Wei ZHOU 
>>> > > Subject: Re: VR for VPC won't start anymore
>>> > >
>>> > > I forgot to ask - might anyone take a quick look into the database
>>> and
>>> > can
>>> > > give a hind if the fields are indeed "filled" with values
>>> > > (template_store_res.size / template_store_res.physical_size)?
>>> > > Another question for understanding would be the difference of the
>>> values
>>> > -
>>> > > physical size is the actual amount of data on a datasystemlevel - but
>>> > what
>>> > > represents the value of "size"?
>>> > >
>>> > > Regards,
>>> > > Christopher
>>> > >
>>> > > Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de <
>>> vas...@gmx.de>:
>>> > >
>>> > > > Wei, seems like you are heading twards the right direction - like
>>> > always.
>>> > > >
>>> > > > i took a look into the "template_store_res" table... and guess:
>>> There
>>> > > > is a entry for the current systemvmtemplate-4.16.1. How ever: The
>>> > > > field for "size" ist "null" and "physical_size" is "0".
>>> > > >
>>> > > > Might this be the reason for the " java.lang.NullPointerException"
>>> ?
>>> > > >
>>> > > > Regards,
>>> > > > Chris
>>> > > >
>>> > > > Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU
>>> > > > >> > > > >:
>>> > > >
>>> > > >> It looks there is no entry in template_store_ref table for the
>>> > > >> systemvm template
>>> > > >>
>>> > > >> -Wei
>>> > > >>
>>> > > >> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
>>> > > >>
>>> > > >> > Hi everyone,
>>> > > >> >
>>> > > >> > faceing currently some challanges regarding my network
>>> > > >> > configuration in
>>> > > >> CS
>>> > > >> > 4.16.1.
>>> > > >> >
>>> > > >> > Setup:
>>> > > >> > VPC with redundant routers and some tiers as well as an private
>>> > > gateway.
>>> > > >> >
>>> > > >> > Today i wanted to restart the whole VPC - sadly only one vrouter
>>> > > >> > "survived"  Currently i can't depoly any networks in or
>>> outside
>>> > > >> > the VPC. Also the second router shall be delployed but keeps in
>>> the
>>> >

Re: VR for VPC won't start anymore

2022-08-04 Thread vas...@gmx.de
hi slavka,
i checked the log and didn't found anything like "failed to read from
template.properties".

Just for understanding:
When deploying a new "systemvm"-template, which i normally would do while
upgardeing mi CS-Environment, the values of the template.properties will be
transfaired into DB. The management server will then make use of the values
which are stored in the DB?

i destroyed the "stopped" router in my installation and triggered a
re-deployment. The term "template" is mentioned inside the logs only for
two reasons:
1. Successfull router health check of the running router (the primary one
of my vpc)
2. In the mentioned error log
" at
org.apache.cloudstack.storage.datastore.db.TemplateDataStoreVO.getSize(TemplateDataStoreVO.java:280)
at
com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateManagerImpl.java:2009)
"

so the question for me is  - can i manually place the missing values in the
DB, so that the template is useable again? Or will i wait until i upgrade
to 4.17.1 - which might bring a new systemVM template which will then be
seeded again ?

Regards,
Chris

Am Do., 4. Aug. 2022 um 19:10 Uhr schrieb Slavka Peleva <
slav...@storpool.com>:

> Hi Christopher,
>
> For some reason, these fields' values are empty, which probably
> happened while you seed the system VM template.
>
>> qcow2.virtualsize=
>> virtualsize=
>> qcow2.size=
>
>
> From the DB record, the only option for the values of physical_size = 0
> and size=Null, is that CS couldn't read the `template.properties` file. Can
> you search in the management log file for a message like "Failed to read
> from template.properties"? It should contain more detailed information
> about the failure.
>
> Best regards,
> Slavka
>
> On Thu, Aug 4, 2022 at 7:13 PM vas...@gmx.de  wrote:
>
>> Hi everyone -
>>
>> @Gary
>> thanks for your input
>>
>> @Wei ZHOU 
>> Yes, the image is completely downloaded to the imagestore. I also checked
>> the availeabilty on the storage beneath - everything seems to be in place
>> like it should
>>
>> Following the values out ouf the db you requested:
>> id= 18
>> store_id = 1
>> download_pct = 100
>> size = "NULL"
>> store_role = Image
>> physical_size = 0
>> download_state = DOWNLOADED
>> state = READY
>> install_path =
>> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>>
>> @Slavka
>> Following the information of the 'template.properties'
>>
>> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>> description=SystemVM Template ( kvm )
>> hvm=false
>> size=460067328
>> qcow2=true
>> id=212
>> public=true
>> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>> uniquename=routing-212
>> qcow2.virtualsize=
>> virtualsize=
>> qcow2.size=
>>
>> Regards,
>> Chris
>>
>> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
>> :
>>
>> > Hi Christopher,
>> >
>> > Can you share the information of the `template.properties` file located
>> on
>> > your secondary storage, where the template file is downloaded? You can
>> find
>> > the path in the template_store_ref tabled - install_path.
>> >
>> > Best regards,
>> > Slavka
>> >
>> > On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon > > .invalid>
>> > wrote:
>> >
>> > > Hi Christopher
>> > >
>> > > My values show :
>> > > size=262144 physical size=375471104 and this is for a 4.15.1
>> systemVM
>> > > template
>> > >
>> > > BR
>> > > Gary
>> > >
>> > > Gary Dixon​
>> > > Senior Technical Consultant
>> > > T:  *0161 537 4980* <0161%20537%204980>
>> > > W: www.quadris.co.uk
>> > > The information contained in this e-mail from Quadris may be
>> confidential
>> > > and privileged for the private use of the named recipient.  The
>> contents
>> > of
>> > > this e-mail may not necessarily represent the official views of
>> Quadris.
>> > > If you have received this information in error you must not copy,
>> > > distribute or take any action or reliance on its contents.  Please
>> > destroy
>> > > any hard copies and delete this message.
>> > > -Original Message-
>> > > From: vas...@gmx.de 
>> > > Sent: 04 August 2022 09:40
>> > > To: users@cloudstack.apache.org

Re: VR for VPC won't start anymore

2022-08-04 Thread Slavka Peleva
Hi Christopher,

For some reason, these fields' values are empty, which probably
happened while you seed the system VM template.

> qcow2.virtualsize=
> virtualsize=
> qcow2.size=


>From the DB record, the only option for the values of physical_size = 0 and
size=Null, is that CS couldn't read the `template.properties` file. Can you
search in the management log file for a message like "Failed to read from
template.properties"? It should contain more detailed information about the
failure.

Best regards,
Slavka

On Thu, Aug 4, 2022 at 7:13 PM vas...@gmx.de  wrote:

> Hi everyone -
>
> @Gary
> thanks for your input
>
> @Wei ZHOU 
> Yes, the image is completely downloaded to the imagestore. I also checked
> the availeabilty on the storage beneath - everything seems to be in place
> like it should
>
> Following the values out ouf the db you requested:
> id= 18
> store_id = 1
> download_pct = 100
> size = "NULL"
> store_role = Image
> physical_size = 0
> download_state = DOWNLOADED
> state = READY
> install_path =
> /template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
>
> @Slavka
> Following the information of the 'template.properties'
>
> filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
> description=SystemVM Template ( kvm )
> hvm=false
> size=460067328
> qcow2=true
> id=212
> public=true
> qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
> uniquename=routing-212
> qcow2.virtualsize=
> virtualsize=
> qcow2.size=
>
> Regards,
> Chris
>
> Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
> :
>
> > Hi Christopher,
> >
> > Can you share the information of the `template.properties` file located
> on
> > your secondary storage, where the template file is downloaded? You can
> find
> > the path in the template_store_ref tabled - install_path.
> >
> > Best regards,
> > Slavka
> >
> > On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon  > .invalid>
> > wrote:
> >
> > > Hi Christopher
> > >
> > > My values show :
> > > size=262144 physical size=375471104 and this is for a 4.15.1
> systemVM
> > > template
> > >
> > > BR
> > > Gary
> > >
> > > Gary Dixon​
> > > Senior Technical Consultant
> > > T:  *0161 537 4980* <0161%20537%204980>
> > > W: www.quadris.co.uk
> > > The information contained in this e-mail from Quadris may be
> confidential
> > > and privileged for the private use of the named recipient.  The
> contents
> > of
> > > this e-mail may not necessarily represent the official views of
> Quadris.
> > > If you have received this information in error you must not copy,
> > > distribute or take any action or reliance on its contents.  Please
> > destroy
> > > any hard copies and delete this message.
> > > -Original Message-
> > > From: vas...@gmx.de 
> > > Sent: 04 August 2022 09:40
> > > To: users@cloudstack.apache.org; Wei ZHOU 
> > > Subject: Re: VR for VPC won't start anymore
> > >
> > > I forgot to ask - might anyone take a quick look into the database and
> > can
> > > give a hind if the fields are indeed "filled" with values
> > > (template_store_res.size / template_store_res.physical_size)?
> > > Another question for understanding would be the difference of the
> values
> > -
> > > physical size is the actual amount of data on a datasystemlevel - but
> > what
> > > represents the value of "size"?
> > >
> > > Regards,
> > > Christopher
> > >
> > > Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de  >:
> > >
> > > > Wei, seems like you are heading twards the right direction - like
> > always.
> > > >
> > > > i took a look into the "template_store_res" table... and guess: There
> > > > is a entry for the current systemvmtemplate-4.16.1. How ever: The
> > > > field for "size" ist "null" and "physical_size" is "0".
> > > >
> > > > Might this be the reason for the " java.lang.NullPointerException" ?
> > > >
> > > > Regards,
> > > > Chris
> > > >
> > > > Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU
> > > >  > > > >:
> > > >
> > > >> It looks there is no entry in template_store_ref table for the
> > > >> systemvm template
&

Re: VR for VPC won't start anymore

2022-08-04 Thread vas...@gmx.de
Hi everyone -

@Gary
thanks for your input

@Wei ZHOU 
Yes, the image is completely downloaded to the imagestore. I also checked
the availeabilty on the storage beneath - everything seems to be in place
like it should

Following the values out ouf the db you requested:
id= 18
store_id = 1
download_pct = 100
size = "NULL"
store_role = Image
physical_size = 0
download_state = DOWNLOADED
state = READY
install_path =
/template/tmpl/1/212/0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2

@Slavka
Following the information of the 'template.properties'

filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
description=SystemVM Template ( kvm )
hvm=false
size=460067328
qcow2=true
id=212
public=true
qcow2.filename=0573ec70-0a30-4e2a-be9e-4675bf755cf2.qcow2
uniquename=routing-212
qcow2.virtualsize=
virtualsize=
qcow2.size=

Regards,
Chris

Am Do., 4. Aug. 2022 um 12:05 Uhr schrieb Slavka Peleva
:

> Hi Christopher,
>
> Can you share the information of the `template.properties` file located on
> your secondary storage, where the template file is downloaded? You can find
> the path in the template_store_ref tabled - install_path.
>
> Best regards,
> Slavka
>
> On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon  .invalid>
> wrote:
>
> > Hi Christopher
> >
> > My values show :
> > size=262144 physical size=375471104 and this is for a 4.15.1 systemVM
> > template
> >
> > BR
> > Gary
> >
> > Gary Dixon​
> > Senior Technical Consultant
> > T:  *0161 537 4980* <0161%20537%204980>
> > W: www.quadris.co.uk
> > The information contained in this e-mail from Quadris may be confidential
> > and privileged for the private use of the named recipient.  The contents
> of
> > this e-mail may not necessarily represent the official views of Quadris.
> > If you have received this information in error you must not copy,
> > distribute or take any action or reliance on its contents.  Please
> destroy
> > any hard copies and delete this message.
> > -Original Message-
> > From: vas...@gmx.de 
> > Sent: 04 August 2022 09:40
> > To: users@cloudstack.apache.org; Wei ZHOU 
> > Subject: Re: VR for VPC won't start anymore
> >
> > I forgot to ask - might anyone take a quick look into the database and
> can
> > give a hind if the fields are indeed "filled" with values
> > (template_store_res.size / template_store_res.physical_size)?
> > Another question for understanding would be the difference of the values
> -
> > physical size is the actual amount of data on a datasystemlevel - but
> what
> > represents the value of "size"?
> >
> > Regards,
> > Christopher
> >
> > Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de :
> >
> > > Wei, seems like you are heading twards the right direction - like
> always.
> > >
> > > i took a look into the "template_store_res" table... and guess: There
> > > is a entry for the current systemvmtemplate-4.16.1. How ever: The
> > > field for "size" ist "null" and "physical_size" is "0".
> > >
> > > Might this be the reason for the " java.lang.NullPointerException" ?
> > >
> > > Regards,
> > > Chris
> > >
> > > Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU
> > >  > > >:
> > >
> > >> It looks there is no entry in template_store_ref table for the
> > >> systemvm template
> > >>
> > >> -Wei
> > >>
> > >> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
> > >>
> > >> > Hi everyone,
> > >> >
> > >> > faceing currently some challanges regarding my network
> > >> > configuration in
> > >> CS
> > >> > 4.16.1.
> > >> >
> > >> > Setup:
> > >> > VPC with redundant routers and some tiers as well as an private
> > gateway.
> > >> >
> > >> > Today i wanted to restart the whole VPC - sadly only one vrouter
> > >> > "survived"  Currently i can't depoly any networks in or outside
> > >> > the VPC. Also the second router shall be delployed but keeps in the
> > >> > stopped state.
> > >> > I really dont have a clue where to look at first...
> > >> >
> > >> > here the logfile from the Management-Server:
> > >> >
> > >> > 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
> > >> > (API-Job-Executor-60:ctx-

Re: VR for VPC won't start anymore

2022-08-04 Thread Slavka Peleva
Hi Christopher,

Can you share the information of the `template.properties` file located on
your secondary storage, where the template file is downloaded? You can find
the path in the template_store_ref tabled - install_path.

Best regards,
Slavka

On Thu, Aug 4, 2022 at 12:41 PM Gary Dixon 
wrote:

> Hi Christopher
>
> My values show :
> size=262144 physical size=375471104 and this is for a 4.15.1 systemVM
> template
>
> BR
> Gary
>
> Gary Dixon​
> Senior Technical Consultant
> T:  *0161 537 4980* <0161%20537%204980>
> W: www.quadris.co.uk
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient.  The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents.  Please destroy
> any hard copies and delete this message.
> -Original Message-
> From: vas...@gmx.de 
> Sent: 04 August 2022 09:40
> To: users@cloudstack.apache.org; Wei ZHOU 
> Subject: Re: VR for VPC won't start anymore
>
> I forgot to ask - might anyone take a quick look into the database and can
> give a hind if the fields are indeed "filled" with values
> (template_store_res.size / template_store_res.physical_size)?
> Another question for understanding would be the difference of the values -
> physical size is the actual amount of data on a datasystemlevel - but what
> represents the value of "size"?
>
> Regards,
> Christopher
>
> Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de :
>
> > Wei, seems like you are heading twards the right direction - like always.
> >
> > i took a look into the "template_store_res" table... and guess: There
> > is a entry for the current systemvmtemplate-4.16.1. How ever: The
> > field for "size" ist "null" and "physical_size" is "0".
> >
> > Might this be the reason for the " java.lang.NullPointerException" ?
> >
> > Regards,
> > Chris
> >
> > Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU
> >  > >:
> >
> >> It looks there is no entry in template_store_ref table for the
> >> systemvm template
> >>
> >> -Wei
> >>
> >> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
> >>
> >> > Hi everyone,
> >> >
> >> > faceing currently some challanges regarding my network
> >> > configuration in
> >> CS
> >> > 4.16.1.
> >> >
> >> > Setup:
> >> > VPC with redundant routers and some tiers as well as an private
> gateway.
> >> >
> >> > Today i wanted to restart the whole VPC - sadly only one vrouter
> >> > "survived"  Currently i can't depoly any networks in or outside
> >> > the VPC. Also the second router shall be delployed but keeps in the
> >> > stopped state.
> >> > I really dont have a clue where to look at first...
> >> >
> >> > here the logfile from the Management-Server:
> >> >
> >> > 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
> >> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
> >> (logid:6b6b9867)
> >> > Allocating the VR with id=74 in datacenter Zone {"id": "1", "name":
> >> > "xx", "uuid": "48e2e928-3300-43b5-8e3a-d>
> >> > 2022-08-03 20:35:48,776 DEBUG [c.c.n.r.NetworkHelperImpl]
> >> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
> >> (logid:6b6b9867)
> >> > Adding nic for Virtual Router in Control network
> >> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> >> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
> >> (logid:6b6b9867)
> >> > Found existing network configuration for offering [Network Offering
> >> > [3-Control-System-Control-Network]: Ntwk[202|>
> >> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> >> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
> >> (logid:6b6b9867)
> >> > Releasing lock for
> >> > Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] -- Account {"id":
> >> > 1, "name": "system", "uuid>
> >> > 2022-08-03 20:35:48,785 DEBUG [c.c.n.r.NetworkHelperImpl]
> >> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e

RE: VR for VPC won't start anymore

2022-08-04 Thread Gary Dixon
Hi Christopher

My values show :
size=262144 physical size=375471104 and this is for a 4.15.1 systemVM 
template

BR
Gary


Gary Dixon
Senior Technical Consultant
T:  0161 537 4980
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and 
privileged for the private use of the named recipient.  The contents of this 
e-mail may not necessarily represent the official views of Quadris.  If you 
have received this information in error you must not copy, distribute or take 
any action or reliance on its contents.  Please destroy any hard copies and 
delete this message.
-Original Message-
From: vas...@gmx.de 
Sent: 04 August 2022 09:40
To: users@cloudstack.apache.org; Wei ZHOU 
Subject: Re: VR for VPC won't start anymore

I forgot to ask - might anyone take a quick look into the database and can give 
a hind if the fields are indeed "filled" with values (template_store_res.size / 
template_store_res.physical_size)?
Another question for understanding would be the difference of the values - 
physical size is the actual amount of data on a datasystemlevel - but what 
represents the value of "size"?

Regards,
Christopher

Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de :

> Wei, seems like you are heading twards the right direction - like always.
>
> i took a look into the "template_store_res" table... and guess: There
> is a entry for the current systemvmtemplate-4.16.1. How ever: The
> field for "size" ist "null" and "physical_size" is "0".
>
> Might this be the reason for the " java.lang.NullPointerException" ?
>
> Regards,
> Chris
>
> Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU
>  >:
>
>> It looks there is no entry in template_store_ref table for the
>> systemvm template
>>
>> -Wei
>>
>> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
>>
>> > Hi everyone,
>> >
>> > faceing currently some challanges regarding my network
>> > configuration in
>> CS
>> > 4.16.1.
>> >
>> > Setup:
>> > VPC with redundant routers and some tiers as well as an private gateway.
>> >
>> > Today i wanted to restart the whole VPC - sadly only one vrouter
>> > "survived"  Currently i can't depoly any networks in or outside
>> > the VPC. Also the second router shall be delployed but keeps in the
>> > stopped state.
>> > I really dont have a clue where to look at first...
>> >
>> > here the  logfile from the Management-Server:
>> >
>> > 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Allocating the VR with id=74 in datacenter Zone {"id": "1", "name":
>> > "xx", "uuid": "48e2e928-3300-43b5-8e3a-d>
>> > 2022-08-03 20:35:48,776 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Adding nic for Virtual Router in Control network
>> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Found existing network configuration for offering [Network Offering
>> > [3-Control-System-Control-Network]: Ntwk[202|>
>> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Releasing lock for
>> > Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] -- Account {"id":
>> > 1, "name": "system", "uuid>
>> > 2022-08-03 20:35:48,785 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Adding nic for Virtual Router in Public network
>> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Found existing network configuration for offering [Network Offering
>> > [1-Public-System-Public-Network]: Ntwk[200|Pu>
>> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Releasing lock for
>> > Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] -- Account {"id":
>> > 1, "name": "system", "uuid>
>> > 2022-08-03 20:3

Re: VR for VPC won't start anymore

2022-08-04 Thread vas...@gmx.de
I forgot to ask - might anyone take a quick look into the database and can
give a hind if the fields are indeed "filled" with values
(template_store_res.size / template_store_res.physical_size)?
Another question for understanding would be the difference of the values -
physical size is the actual amount of data on a datasystemlevel - but what
represents the value of "size"?

Regards,
Christopher

Am Mi., 3. Aug. 2022 um 23:14 Uhr schrieb vas...@gmx.de :

> Wei, seems like you are heading twards the right direction - like always.
>
> i took a look into the "template_store_res" table... and guess: There is a
> entry for the current systemvmtemplate-4.16.1. How ever: The field for
> "size" ist "null" and "physical_size" is "0".
>
> Might this be the reason for the " java.lang.NullPointerException" ?
>
> Regards,
> Chris
>
> Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU  >:
>
>> It looks there is no entry in template_store_ref table for the systemvm
>> template
>>
>> -Wei
>>
>> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
>>
>> > Hi everyone,
>> >
>> > faceing currently some challanges regarding my network configuration in
>> CS
>> > 4.16.1.
>> >
>> > Setup:
>> > VPC with redundant routers and some tiers as well as an private gateway.
>> >
>> > Today i wanted to restart the whole VPC - sadly only one vrouter
>> > "survived"  Currently i can't depoly any networks in or outside the
>> > VPC. Also the second router shall be delployed but keeps in the stopped
>> > state.
>> > I really dont have a clue where to look at first...
>> >
>> > here the  logfile from the Management-Server:
>> >
>> > 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Allocating the VR with id=74 in datacenter Zone {"id": "1", "name":
>> > "xx", "uuid": "48e2e928-3300-43b5-8e3a-d>
>> > 2022-08-03 20:35:48,776 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Adding nic for Virtual Router in Control network
>> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Found existing network configuration for offering [Network Offering
>> > [3-Control-System-Control-Network]: Ntwk[202|>
>> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
>> > Account {"id": 1, "name": "system", "uuid>
>> > 2022-08-03 20:35:48,785 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Adding nic for Virtual Router in Public network
>> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Found existing network configuration for offering [Network Offering
>> > [1-Public-System-Public-Network]: Ntwk[200|Pu>
>> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
>> > Account {"id": 1, "name": "system", "uuid>
>> > 2022-08-03 20:35:48,793 INFO  [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Use same MAC as previous RvR, the MAC is 1e:00:59:00:00:b2
>> > 2022-08-03 20:35:48,793 DEBUG [c.c.n.r.NetworkHelperImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Adding nic for Virtual Router in Guest network Ntwk[249|Guest|30]
>> > 2022-08-03 20:35:48,801 DEBUG [c.c.u.d.T.Transaction]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Rolling back the transaction: Time = 0 Name =  API-Job-Executor-60;
>> called
>> > by -TransactionLegacy.rollback:888-PrivateIpDa>
>> > 2022-08-03 20:35:48,808 DEBUG [c.c.n.NetworkModelImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Service SecurityGroup is not supported in the network id=236
>> > 2022-08-03 20:35:48,851 INFO  [c.c.v.VirtualMachineManagerImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > allocating virtual machine from
>> > template:0573ec70-0a30-4e2a-be9e-4675bf755cf2 with hostname:r-74-VM and
>> 12
>> > netw>
>> > 2022-08-03 20:35:48,852 DEBUG [c.c.v.VirtualMachineManagerImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9867)
>> > Allocating entries for VM: VM instance {id: "74", name: "r-74-VM", uuid:
>> > "09dc644b-76a2-404a-82fd-aecc8d5799c3">
>> > 2022-08-03 20:35:48,857 DEBUG [c.c.v.VirtualMachineManagerImpl]
>> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2)
>> (logid:6b6b9

Re: VR for VPC won't start anymore

2022-08-03 Thread vas...@gmx.de
Wei, seems like you are heading twards the right direction - like always.

i took a look into the "template_store_res" table... and guess: There is a
entry for the current systemvmtemplate-4.16.1. How ever: The field for
"size" ist "null" and "physical_size" is "0".

Might this be the reason for the " java.lang.NullPointerException" ?

Regards,
Chris

Am Mi., 3. Aug. 2022 um 21:56 Uhr schrieb Wei ZHOU :

> It looks there is no entry in template_store_ref table for the systemvm
> template
>
> -Wei
>
> On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:
>
> > Hi everyone,
> >
> > faceing currently some challanges regarding my network configuration in
> CS
> > 4.16.1.
> >
> > Setup:
> > VPC with redundant routers and some tiers as well as an private gateway.
> >
> > Today i wanted to restart the whole VPC - sadly only one vrouter
> > "survived"  Currently i can't depoly any networks in or outside the
> > VPC. Also the second router shall be delployed but keeps in the stopped
> > state.
> > I really dont have a clue where to look at first...
> >
> > here the  logfile from the Management-Server:
> >
> > 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Allocating the VR with id=74 in datacenter Zone {"id": "1", "name":
> > "xx", "uuid": "48e2e928-3300-43b5-8e3a-d>
> > 2022-08-03 20:35:48,776 DEBUG [c.c.n.r.NetworkHelperImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Adding nic for Virtual Router in Control network
> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Found existing network configuration for offering [Network Offering
> > [3-Control-System-Control-Network]: Ntwk[202|>
> > 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
> > Account {"id": 1, "name": "system", "uuid>
> > 2022-08-03 20:35:48,785 DEBUG [c.c.n.r.NetworkHelperImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Adding nic for Virtual Router in Public network
> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Found existing network configuration for offering [Network Offering
> > [1-Public-System-Public-Network]: Ntwk[200|Pu>
> > 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
> > Account {"id": 1, "name": "system", "uuid>
> > 2022-08-03 20:35:48,793 INFO  [c.c.n.r.NetworkHelperImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Use same MAC as previous RvR, the MAC is 1e:00:59:00:00:b2
> > 2022-08-03 20:35:48,793 DEBUG [c.c.n.r.NetworkHelperImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Adding nic for Virtual Router in Guest network Ntwk[249|Guest|30]
> > 2022-08-03 20:35:48,801 DEBUG [c.c.u.d.T.Transaction]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Rolling back the transaction: Time = 0 Name =  API-Job-Executor-60;
> called
> > by -TransactionLegacy.rollback:888-PrivateIpDa>
> > 2022-08-03 20:35:48,808 DEBUG [c.c.n.NetworkModelImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Service SecurityGroup is not supported in the network id=236
> > 2022-08-03 20:35:48,851 INFO  [c.c.v.VirtualMachineManagerImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > allocating virtual machine from
> > template:0573ec70-0a30-4e2a-be9e-4675bf755cf2 with hostname:r-74-VM and
> 12
> > netw>
> > 2022-08-03 20:35:48,852 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Allocating entries for VM: VM instance {id: "74", name: "r-74-VM", uuid:
> > "09dc644b-76a2-404a-82fd-aecc8d5799c3">
> > 2022-08-03 20:35:48,857 DEBUG [c.c.v.VirtualMachineManagerImpl]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Allocating nics for VM instance {id: "74", name: "r-74-VM", uuid:
> > "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> > 2022-08-03 20:35:48,858 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Allocating nic for vm VM instance {id: "74", name: "r-74-VM", uuid:
> > "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> > 2022-08-03 20:35:48,866 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> > (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> > Allocating nic for vm VM instance {id: "74", name: "r-74-VM

Re: VR for VPC won't start anymore

2022-08-03 Thread Wei ZHOU
It looks there is no entry in template_store_ref table for the systemvm
template

-Wei

On Wed, 3 Aug 2022 at 21:43, vas...@gmx.de  wrote:

> Hi everyone,
>
> faceing currently some challanges regarding my network configuration in CS
> 4.16.1.
>
> Setup:
> VPC with redundant routers and some tiers as well as an private gateway.
>
> Today i wanted to restart the whole VPC - sadly only one vrouter
> "survived"  Currently i can't depoly any networks in or outside the
> VPC. Also the second router shall be delployed but keeps in the stopped
> state.
> I really dont have a clue where to look at first...
>
> here the  logfile from the Management-Server:
>
> 2022-08-03 20:35:48,768 DEBUG [c.c.n.r.NetworkHelperImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating the VR with id=74 in datacenter Zone {"id": "1", "name":
> "xx", "uuid": "48e2e928-3300-43b5-8e3a-d>
> 2022-08-03 20:35:48,776 DEBUG [c.c.n.r.NetworkHelperImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Adding nic for Virtual Router in Control network
> 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Found existing network configuration for offering [Network Offering
> [3-Control-System-Control-Network]: Ntwk[202|>
> 2022-08-03 20:35:48,781 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
> Account {"id": 1, "name": "system", "uuid>
> 2022-08-03 20:35:48,785 DEBUG [c.c.n.r.NetworkHelperImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Adding nic for Virtual Router in Public network
> 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Found existing network configuration for offering [Network Offering
> [1-Public-System-Public-Network]: Ntwk[200|Pu>
> 2022-08-03 20:35:48,789 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Releasing lock for Acct[60bddbd5-1d8a-11ec-83ce-525400c9c662-system] --
> Account {"id": 1, "name": "system", "uuid>
> 2022-08-03 20:35:48,793 INFO  [c.c.n.r.NetworkHelperImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Use same MAC as previous RvR, the MAC is 1e:00:59:00:00:b2
> 2022-08-03 20:35:48,793 DEBUG [c.c.n.r.NetworkHelperImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Adding nic for Virtual Router in Guest network Ntwk[249|Guest|30]
> 2022-08-03 20:35:48,801 DEBUG [c.c.u.d.T.Transaction]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Rolling back the transaction: Time = 0 Name =  API-Job-Executor-60; called
> by -TransactionLegacy.rollback:888-PrivateIpDa>
> 2022-08-03 20:35:48,808 DEBUG [c.c.n.NetworkModelImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Service SecurityGroup is not supported in the network id=236
> 2022-08-03 20:35:48,851 INFO  [c.c.v.VirtualMachineManagerImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> allocating virtual machine from
> template:0573ec70-0a30-4e2a-be9e-4675bf755cf2 with hostname:r-74-VM and 12
> netw>
> 2022-08-03 20:35:48,852 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating entries for VM: VM instance {id: "74", name: "r-74-VM", uuid:
> "09dc644b-76a2-404a-82fd-aecc8d5799c3">
> 2022-08-03 20:35:48,857 DEBUG [c.c.v.VirtualMachineManagerImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating nics for VM instance {id: "74", name: "r-74-VM", uuid:
> "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> 2022-08-03 20:35:48,858 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating nic for vm VM instance {id: "74", name: "r-74-VM", uuid:
> "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> 2022-08-03 20:35:48,866 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating nic for vm VM instance {id: "74", name: "r-74-VM", uuid:
> "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> 2022-08-03 20:35:48,886 DEBUG [o.a.c.e.o.NetworkOrchestrator]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Allocating nic for vm VM instance {id: "74", name: "r-74-VM", uuid:
> "09dc644b-76a2-404a-82fd-aecc8d5799c3", type=>
> 2022-08-03 20:35:48,904 DEBUG [c.c.n.NetworkModelImpl]
> (API-Job-Executor-60:ctx-a9f63190 job-3342 ctx-150e61a2) (logid:6b6b9867)
> Service SecurityGroup is not supported in the network id=249
> 2022-08-03 20:35:48,907 DEBUG [o.a.c.e.o.NetworkOrchestrator