Re: Template ISO Cannot Be Deleted

2024-03-13 Thread Granwille Strauss

Hi Pearl

Thank you very much this seemed to have worked 100%. I appreciate your 
assistance.


On 3/13/24 17:10, Pearl d'Silva wrote:

Hi Granwille,

One possibility of the template /iso being in the Migrating state could be that 
an attempt to migrate resources from one secondary store to another would have 
been made which could have possibly left the iso is an incorrect state. Since 
you mention that the iso is not present in the secondary store, you could mark 
the iso as Destroyed in the template_store_ref table.

update template_store_ref set state='Destroyed', destroyed=1 where id = 
;

Correspondingly, update the vm_template table as well:

update vm_template set removed = now() where id = ;

Hope this helps.

Regards.



  


From: Granwille Strauss
Sent: Tuesday, March 12, 2024 11:29 AM
To:users@cloudstack.apache.org
Subject: Template ISO Cannot Be Deleted


Hi Guys

I am trying to delete an ISO from Cloudstack UI. But it keep ending with error 
"Failed to update state" when I try to delete it from my zone via UI. Here's a 
screenshot:https://tinyurl.com/282udj4s

In the database, when I run `select * from template_view\G;` I see two entries of the same template. Entry with  same 
ID 238. One shows the state is "Ready" but the other State is "Migrating". Both template_state show 
as "Active" and I can confirm both entries in the DB have the same uuid. However, take note in the UI, from 
the screenshot, you see it says "Not Ready".

The template ISO file does not seem to exist on my secondary storage so this is 
some database/UI glitch. What's the best way to have this removed/solved? 
Because each time I restart SSVM, I get failed to sync template error for this 
ISO that no longer exists.

I appreciate any assistance, thank you.

--
Regards / Groete

Granwille Strauss  // Senior Systems Admin

e:granwi...@namhost.com<mailto:granwi...@namhost.com>
m: +264 81 323 1260
w:www.namhost.com<https://www.namhost.com/>




Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA


The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It is 
forbidden to copy, forward, or in any way reveal the contents of this message 
to anyone without our explicit consent. The integrity and security of this 
email cannot be guaranteed over the Internet. Therefore, the sender will not be 
held liable for any damage caused by the message. For our full privacy policy 
and disclaimers, please go tohttps://www.namhost.com/privacy-policy


--
Regards / Groete

<https://www.namhost.com> Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com <https://www.namhost.com/>

<https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>

<https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>

Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 
<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>

smime.p7s
Description: S/MIME Cryptographic Signature


Re: Template ISO Cannot Be Deleted

2024-03-13 Thread Pearl d'Silva

Hi Granwille,

One possibility of the template /iso being in the Migrating state could be that 
an attempt to migrate resources from one secondary store to another would have 
been made which could have possibly left the iso is an incorrect state. Since 
you mention that the iso is not present in the secondary store, you could mark 
the iso as Destroyed in the template_store_ref table.

update template_store_ref set state='Destroyed', destroyed=1 where id = 
;

Correspondingly, update the vm_template table as well:

update vm_template set removed = now() where id = ;

Hope this helps.

Regards.



 

From: Granwille Strauss
Sent: Tuesday, March 12, 2024 11:29 AM
To: users@cloudstack.apache.org
Subject: Template ISO Cannot Be Deleted


Hi Guys

I am trying to delete an ISO from Cloudstack UI. But it keep ending with error 
"Failed to update state" when I try to delete it from my zone via UI. Here's a 
screenshot: https://tinyurl.com/282udj4s

In the database, when I run `select * from template_view\G;` I see two entries 
of the same template. Entry with  same ID 238. One shows the state is "Ready" 
but the other State is "Migrating". Both template_state show as "Active" and I 
can confirm both entries in the DB have the same uuid. However, take note in 
the UI, from the screenshot, you see it says "Not Ready".

The template ISO file does not seem to exist on my secondary storage so this is 
some database/UI glitch. What's the best way to have this removed/solved? 
Because each time I restart SSVM, I get failed to sync template error for this 
ISO that no longer exists.

I appreciate any assistance, thank you.

--
Regards / Groete

Granwille Strauss  // Senior Systems Admin

e: granwi...@namhost.com<mailto:granwi...@namhost.com>
m: +264 81 323 1260
w: www.namhost.com<https://www.namhost.com/>




Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA


The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It is 
forbidden to copy, forward, or in any way reveal the contents of this message 
to anyone without our explicit consent. The integrity and security of this 
email cannot be guaranteed over the Internet. Therefore, the sender will not be 
held liable for any damage caused by the message. For our full privacy policy 
and disclaimers, please go to https://www.namhost.com/privacy-policy


Re: Template ISO Cannot Be Deleted

2024-03-13 Thread Granwille Strauss

Any takes guys?

On 3/12/24 17:29, Granwille Strauss wrote:


Hi Guys

I am trying to delete an ISO from Cloudstack UI. But it keep ending 
with error "Failed to update state" when I try to delete it from my 
zone via UI. Here's a screenshot: https://tinyurl.com/282udj4s


In the database, when I run `*select * from template_view\G;*` I see 
two entries of the same template. Entry with  same ID 238. One shows 
the state is "Ready" but the other State is "Migrating". Both 
template_state show as "Active" and I can confirm both entries in the 
DB have the same uuid. However, take note in the UI, from the 
screenshot, you see it says "Not Ready".


The template ISO file does not seem to exist on my secondary storage 
so this is some database/UI glitch. What's the best way to have this 
removed/solved? Because each time I restart SSVM, I get failed to sync 
template error for this ISO that no longer exists.


I appreciate any assistance, thank you.

--
Regards / Groete

<https://www.namhost.com> Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com <https://www.namhost.com/>

<https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>

<https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>

Namhost Internet Services (Pty) Ltd,
24 Black Eagle Rd, Hermanus, 7210, RSA


The content of this message is confidential. If you have received it 
by mistake, please inform us by email reply and then delete the 
message. It is forbidden to copy, forward, or in any way reveal the 
contents of this message to anyone without our explicit consent. The 
integrity and security of this email cannot be guaranteed over the 
Internet. Therefore, the sender will not be held liable for any damage 
caused by the message. For our full privacy policy and disclaimers, 
please go to https://www.namhost.com/privacy-policy


Powered by AdSigner 
<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>

--
Regards / Groete

<https://www.namhost.com> Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com <https://www.namhost.com/>

<https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>

<https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>

Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 
<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>

smime.p7s
Description: S/MIME Cryptographic Signature


Template ISO Cannot Be Deleted

2024-03-12 Thread Granwille Strauss

Hi Guys

I am trying to delete an ISO from Cloudstack UI. But it keep ending with 
error "Failed to update state" when I try to delete it from my zone via 
UI. Here's a screenshot: https://tinyurl.com/282udj4s


In the database, when I run `*select * from template_view\G;*` I see two 
entries of the same template. Entry with  same ID 238. One shows the 
state is "Ready" but the other State is "Migrating". Both template_state 
show as "Active" and I can confirm both entries in the DB have the same 
uuid. However, take note in the UI, from the screenshot, you see it says 
"Not Ready".


The template ISO file does not seem to exist on my secondary storage so 
this is some database/UI glitch. What's the best way to have this 
removed/solved? Because each time I restart SSVM, I get failed to sync 
template error for this ISO that no longer exists.


I appreciate any assistance, thank you.

--
Regards / Groete

<https://www.namhost.com> Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com <https://www.namhost.com/>

<https://www.facebook.com/namhost><https://twitter.com/namhost><https://www.instagram.com/namhostinternetservices/><https://www.linkedin.com/company/namhos><https://www.youtube.com/channel/UCTd5v-kVPaic_dguGur15AA>

<https://www.adsigner.com/v1/l/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818/banner>

Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 
<https://www.adsigner.com/v1/c/631091998d4670001fe43ec2/621c9b76c140bb001ed0f818>

smime.p7s
Description: S/MIME Cryptographic Signature


Re: Template & ISO Copy Error

2022-11-18 Thread Granwille Strauss
Nevermind, cleaning out the keystore table in DB and re-installed SSL 
certificate via UI seems to have solved this issue now.


On 11/18/22 21:25, Granwille Strauss wrote:


Hi Guys

I seem to be getting an SSL error when trying to copy existing 
templates and ISOs from one zone to another. The error reads:


PKIX path building failed: 
sun.security.provider.certpath.SunCertPathBuilderException: unable to 
find valid certification path to requested target


See attached screenshot. Based on this: 
https://stackoverflow.com/questions/21076179/pkix-path-building-failed-and-unable-to-find-valid-certification-path-to-requ 
It seems java has a problem determining the certificate path.


Does anyone know how this can be fixed for cloudstack?

--
Regards / Groete

 Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com 





Namhost Internet Services (Pty) Ltd,
24 Black Eagle Rd, Hermanus, 7210, RSA


The content of this message is confidential. If you have received it 
by mistake, please inform us by email reply and then delete the 
message. It is forbidden to copy, forward, or in any way reveal the 
contents of this message to anyone without our explicit consent. The 
integrity and security of this email cannot be guaranteed over the 
Internet. Therefore, the sender will not be held liable for any damage 
caused by the message. For our full privacy policy and disclaimers, 
please go to https://www.namhost.com/privacy-policy


Powered by AdSigner 


--
Regards / Groete

 Granwille Strauss  // Senior Systems Admin

*e:* granwi...@namhost.com
*m:* +264 81 323 1260 
*w:* www.namhost.com 





Namhost Internet Services (Pty) Ltd,

24 Black Eagle Rd, Hermanus, 7210, RSA



The content of this message is confidential. If you have received it by 
mistake, please inform us by email reply and then delete the message. It 
is forbidden to copy, forward, or in any way reveal the contents of this 
message to anyone without our explicit consent. The integrity and 
security of this email cannot be guaranteed over the Internet. 
Therefore, the sender will not be held liable for any damage caused by 
the message. For our full privacy policy and disclaimers, please go to 
https://www.namhost.com/privacy-policy


Powered by AdSigner 


smime.p7s
Description: S/MIME Cryptographic Signature


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Larry Sevilla
thx...

On Tue, Mar 12, 2019 at 5:21 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Try to fire API from a browser. For deleteIso,
> "http://:/client/api?command=deleteIso&id=".
> For example: IP: 1.2.3.4, Port:8080 and
> UUID: f4f42f7b-a678-4d17-b746-cd3e696ed4dc, then API to fire: "
> http://1.2.3.4:
> 8080/client/api?command=deleteIso&id=f4f42f7b-a678-4d17-b746-cd3e696ed4dc".
>
> Alternatively, try cloudmonkey (
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
> )
>
> For more details on cloudstack and API, Refer to the docs at
> http://docs.cloudstack.apache.org and
> https://cloudstack.apache.org/api.html
>
> - Suresh
>
> On Tue, Mar 12, 2019 at 2:22 PM Larry Sevilla  >
> wrote:
>
> > Sorry, I'm new to CloudStack.
> >
> > How do I use an API?  And, is it in the GUI or in the server?
> >
> > On Tue, Mar 12, 2019 at 4:30 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > Check deleteIso API.
> > >
> > > On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla <
> > sevilla.larry@gmail.com
> > > >
> > > wrote:
> > >
> > > > Fixed NFS on the server...
> > > >
> > > > How can I UnRegister ISOs in the Templates-ISO?
> > > >
> > > > There's no option to UnRegister or Delete ISOs.
> > > >
> > > > On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> > > > sureshkumar.anapa...@gmail.com> wrote:
> > > >
> > > > > Ping and check the connectivity from Host ad SSVM (details located
> at
> > > UI:
> > > > > Infrastructure -> System VMs -> Secondary Storage VM).
> > > > >
> > > > > Also, check private and public network configuration.
> > > > >
> > > > > - Suresh
> > > > >
> > > > >
> > > > > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > > > > sevilla.larry@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > SSVM = Secondary Storage Virtual Machine, right?
> > > > > >
> > > > > > Since it's a one PC cloud setup, the Management, Host, Primary
> > > Storage
> > > > > and
> > > > > > Secondary Storage are on the same PC.  I assumed it's reachable.
> > > > >
> > > > >
> > > > > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > > > > sureshkumar.anapa...@gmail.com> wrote:
> > > > >
> > > > > > You can check the status either from UI or API.
> > > > > > -> UI: Go to the Templates and Select View: ISOs.
> > > > > > -> API: Use listIsos
> > > > > >
> > > > > > SSVM is the Secondary Secondary VM , which is mainly responsible
> > for
> > > > all
> > > > > > the storage operations where secondary storage is involved.
> > > > > >
> > > > > > - Suresh
> > > > > >
> > > > > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > > > > sevilla.larry@gmail.com> wrote:
> > > > > >
> > > > > >> also, what's SSVM?
> > > > > >>
> > > > > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > > > > >> sevilla.larry@gmail.com>
> > > > > >> wrote:
> > > > > >>
> > > > > >> > Hi,
> > > > > >> >
> > > > > >> > Thx for the reply.
> > > > > >> >
> > > > > >> > (I'm new to CloudStack)
> > > > > >> >
> > > > > >> > How do I know if the ISO was downloaded? And Ready?
> > > > > >> >
> > > > > >> > Are there log files?
> > > > > >> >
> > > > > >> >
> > > > > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > > > > >> > sureshkumar.anapa...@gmail.com> wrote:
> > > > > >> >
> > > > > >> >> In order to create a VM using the ISO, the ISO registered
> > should
> > > be
> > > > > >> Ready
> > > > > >> >> s

Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Try to fire API from a browser. For deleteIso,
"http://:/client/api?command=deleteIso&id=".
For example: IP: 1.2.3.4, Port:8080 and
UUID: f4f42f7b-a678-4d17-b746-cd3e696ed4dc, then API to fire: "
http://1.2.3.4:
8080/client/api?command=deleteIso&id=f4f42f7b-a678-4d17-b746-cd3e696ed4dc".

Alternatively, try cloudmonkey (
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
)

For more details on cloudstack and API, Refer to the docs at
http://docs.cloudstack.apache.org and https://cloudstack.apache.org/api.html

- Suresh

On Tue, Mar 12, 2019 at 2:22 PM Larry Sevilla 
wrote:

> Sorry, I'm new to CloudStack.
>
> How do I use an API?  And, is it in the GUI or in the server?
>
> On Tue, Mar 12, 2019 at 4:30 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Check deleteIso API.
> >
> > On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla <
> sevilla.larry@gmail.com
> > >
> > wrote:
> >
> > > Fixed NFS on the server...
> > >
> > > How can I UnRegister ISOs in the Templates-ISO?
> > >
> > > There's no option to UnRegister or Delete ISOs.
> > >
> > > On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > > > Ping and check the connectivity from Host ad SSVM (details located at
> > UI:
> > > > Infrastructure -> System VMs -> Secondary Storage VM).
> > > >
> > > > Also, check private and public network configuration.
> > > >
> > > > - Suresh
> > > >
> > > >
> > > > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > > > sevilla.larry@gmail.com>
> > > > wrote:
> > > >
> > > > > SSVM = Secondary Storage Virtual Machine, right?
> > > > >
> > > > > Since it's a one PC cloud setup, the Management, Host, Primary
> > Storage
> > > > and
> > > > > Secondary Storage are on the same PC.  I assumed it's reachable.
> > > >
> > > >
> > > > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > > > sureshkumar.anapa...@gmail.com> wrote:
> > > >
> > > > > You can check the status either from UI or API.
> > > > > -> UI: Go to the Templates and Select View: ISOs.
> > > > > -> API: Use listIsos
> > > > >
> > > > > SSVM is the Secondary Secondary VM , which is mainly responsible
> for
> > > all
> > > > > the storage operations where secondary storage is involved.
> > > > >
> > > > > - Suresh
> > > > >
> > > > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > > > sevilla.larry@gmail.com> wrote:
> > > > >
> > > > >> also, what's SSVM?
> > > > >>
> > > > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > > > >> sevilla.larry@gmail.com>
> > > > >> wrote:
> > > > >>
> > > > >> > Hi,
> > > > >> >
> > > > >> > Thx for the reply.
> > > > >> >
> > > > >> > (I'm new to CloudStack)
> > > > >> >
> > > > >> > How do I know if the ISO was downloaded? And Ready?
> > > > >> >
> > > > >> > Are there log files?
> > > > >> >
> > > > >> >
> > > > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > > > >> > sureshkumar.anapa...@gmail.com> wrote:
> > > > >> >
> > > > >> >> In order to create a VM using the ISO, the ISO registered
> should
> > be
> > > > >> Ready
> > > > >> >> state.
> > > > >> >>
> > > > >> >> When  Direct Download is set to "No", the SSVM will download
> the
> > > ISO
> > > > >> into
> > > > >> >> the Secondary storage using the public network. Is ISO added
> with
> > > > >> Direct
> > > > >> >> Download "No" is in ready state? Does the SSVM could reach that
> > > host?
> > > > >> >>
> > > > >> >> In the second case, when Direct Download is set to "Yes", ISO
> is
&g

Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Larry Sevilla
Sorry, I'm new to CloudStack.

How do I use an API?  And, is it in the GUI or in the server?

On Tue, Mar 12, 2019 at 4:30 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Check deleteIso API.
>
> On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla  >
> wrote:
>
> > Fixed NFS on the server...
> >
> > How can I UnRegister ISOs in the Templates-ISO?
> >
> > There's no option to UnRegister or Delete ISOs.
> >
> > On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > Ping and check the connectivity from Host ad SSVM (details located at
> UI:
> > > Infrastructure -> System VMs -> Secondary Storage VM).
> > >
> > > Also, check private and public network configuration.
> > >
> > > - Suresh
> > >
> > >
> > > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > > sevilla.larry@gmail.com>
> > > wrote:
> > >
> > > > SSVM = Secondary Storage Virtual Machine, right?
> > > >
> > > > Since it's a one PC cloud setup, the Management, Host, Primary
> Storage
> > > and
> > > > Secondary Storage are on the same PC.  I assumed it's reachable.
> > >
> > >
> > > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > > > You can check the status either from UI or API.
> > > > -> UI: Go to the Templates and Select View: ISOs.
> > > > -> API: Use listIsos
> > > >
> > > > SSVM is the Secondary Secondary VM , which is mainly responsible for
> > all
> > > > the storage operations where secondary storage is involved.
> > > >
> > > > - Suresh
> > > >
> > > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > > sevilla.larry@gmail.com> wrote:
> > > >
> > > >> also, what's SSVM?
> > > >>
> > > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > > >> sevilla.larry@gmail.com>
> > > >> wrote:
> > > >>
> > > >> > Hi,
> > > >> >
> > > >> > Thx for the reply.
> > > >> >
> > > >> > (I'm new to CloudStack)
> > > >> >
> > > >> > How do I know if the ISO was downloaded? And Ready?
> > > >> >
> > > >> > Are there log files?
> > > >> >
> > > >> >
> > > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > > >> > sureshkumar.anapa...@gmail.com> wrote:
> > > >> >
> > > >> >> In order to create a VM using the ISO, the ISO registered should
> be
> > > >> Ready
> > > >> >> state.
> > > >> >>
> > > >> >> When  Direct Download is set to "No", the SSVM will download the
> > ISO
> > > >> into
> > > >> >> the Secondary storage using the public network. Is ISO added with
> > > >> Direct
> > > >> >> Download "No" is in ready state? Does the SSVM could reach that
> > host?
> > > >> >>
> > > >> >> In the second case, when Direct Download is set to "Yes", ISO is
> > > >> directly
> > > >> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by
> the
> > > >> Host.
> > > >> >> Might be the url is not reachable from Host.
> > > >> >>
> > > >> >> - Suresh
> > > >> >>
> > > >> >>
> > > >> >>
> > > >> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> > > >> >> sevilla.larry@gmail.com>
> > > >> >> wrote:
> > > >> >>
> > > >> >> > Hi,
> > > >> >> >
> > > >> >> > I have a single PC cloud with CentOS7 using:
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> > > >> >> >
> > > >> >> > Currently, I'm using "admin cloud".
> > > >> >> >
> > > >> >> > I'm trying to create a Virtual Machine, but failed.
> > > >> >> >
> > > >> >> > Steps:
> > > >> >> > 1. in Template - ISO, I Registered an ISO with the following
> > > fields:
> > > >> >> >a. Name: CentOSDVD1
> > > >> >> >b. Description: CentOSDVD1
> > > >> >> >c. URL:
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > > >> >> >d. Direct Download: no
> > > >> >> >e. Zone: All zones
> > > >> >> >f. Bootable: yes
> > > >> >> >g. OS Type: Cent OS 7.2
> > > >> >> >h. Extractable: yes
> > > >> >> >i. Public: yes
> > > >> >> >j. Featured: yes
> > > >> >> >
> > > >> >> >   ISO was added.
> > > >> >> >
> > > >> >> > If "Direct Download" is yes and add an MD5 checksum (by
> > generating
> > > >> using
> > > >> >> > MD5sum), I got error msg:
> > > >> >> > Couldn't find a host to validate URL
> > > >> >> >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > > >> >> >
> > > >> >> > 2. in (VM) Instances, I add an Instance:
> > > >> >> > a. Zone: Zone1
> > > >> >> > b. Template or ISO: ISO
> > > >> >> > Then, there's "Select an ISO box" with four (4) tabs:
> > > >> >> > Featured, Community, My ISOs and Shared
> > > >> >> > but there are NO items among the 4 tabs.
> > > >> >> >
> > > >> >> > Was this the right procedure?
> > > >> >> > Or did I missed something?
> > > >> >> >
> > > >> >>
> > > >> >
> > > >>
> > > >
> > >
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Check deleteIso API.

On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla 
wrote:

> Fixed NFS on the server...
>
> How can I UnRegister ISOs in the Templates-ISO?
>
> There's no option to UnRegister or Delete ISOs.
>
> On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > Ping and check the connectivity from Host ad SSVM (details located at UI:
> > Infrastructure -> System VMs -> Secondary Storage VM).
> >
> > Also, check private and public network configuration.
> >
> > - Suresh
> >
> >
> > On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> > sevilla.larry@gmail.com>
> > wrote:
> >
> > > SSVM = Secondary Storage Virtual Machine, right?
> > >
> > > Since it's a one PC cloud setup, the Management, Host, Primary Storage
> > and
> > > Secondary Storage are on the same PC.  I assumed it's reachable.
> >
> >
> > On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> > > You can check the status either from UI or API.
> > > -> UI: Go to the Templates and Select View: ISOs.
> > > -> API: Use listIsos
> > >
> > > SSVM is the Secondary Secondary VM , which is mainly responsible for
> all
> > > the storage operations where secondary storage is involved.
> > >
> > > - Suresh
> > >
> > > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > > sevilla.larry@gmail.com> wrote:
> > >
> > >> also, what's SSVM?
> > >>
> > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > >> sevilla.larry@gmail.com>
> > >> wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> > Thx for the reply.
> > >> >
> > >> > (I'm new to CloudStack)
> > >> >
> > >> > How do I know if the ISO was downloaded? And Ready?
> > >> >
> > >> > Are there log files?
> > >> >
> > >> >
> > >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > >> > sureshkumar.anapa...@gmail.com> wrote:
> > >> >
> > >> >> In order to create a VM using the ISO, the ISO registered should be
> > >> Ready
> > >> >> state.
> > >> >>
> > >> >> When  Direct Download is set to "No", the SSVM will download the
> ISO
> > >> into
> > >> >> the Secondary storage using the public network. Is ISO added with
> > >> Direct
> > >> >> Download "No" is in ready state? Does the SSVM could reach that
> host?
> > >> >>
> > >> >> In the second case, when Direct Download is set to "Yes", ISO is
> > >> directly
> > >> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> > >> Host.
> > >> >> Might be the url is not reachable from Host.
> > >> >>
> > >> >> - Suresh
> > >> >>
> > >> >>
> > >> >>
> > >> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> > >> >> sevilla.larry@gmail.com>
> > >> >> wrote:
> > >> >>
> > >> >> > Hi,
> > >> >> >
> > >> >> > I have a single PC cloud with CentOS7 using:
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> > >> >> >
> > >> >> > Currently, I'm using "admin cloud".
> > >> >> >
> > >> >> > I'm trying to create a Virtual Machine, but failed.
> > >> >> >
> > >> >> > Steps:
> > >> >> > 1. in Template - ISO, I Registered an ISO with the following
> > fields:
> > >> >> >a. Name: CentOSDVD1
> > >> >> >b. Description: CentOSDVD1
> > >> >> >c. URL:
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >> >d. Direct Download: no
> > >> >> >e. Zone: All zones
> > >> >> >f. Bootable: yes
> > >> >> >g. OS Type: Cent OS 7.2
> > >> >> >h. Extractable: yes
> > >> >> >i. Public: yes
> > >> >> >j. Featured: yes
> > >> >> >
> > >> >> >   ISO was added.
> > >> >> >
> > >> >> > If "Direct Download" is yes and add an MD5 checksum (by
> generating
> > >> using
> > >> >> > MD5sum), I got error msg:
> > >> >> > Couldn't find a host to validate URL
> > >> >> >
> > >> >> >
> > >> >>
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >> >
> > >> >> > 2. in (VM) Instances, I add an Instance:
> > >> >> > a. Zone: Zone1
> > >> >> > b. Template or ISO: ISO
> > >> >> > Then, there's "Select an ISO box" with four (4) tabs:
> > >> >> > Featured, Community, My ISOs and Shared
> > >> >> > but there are NO items among the 4 tabs.
> > >> >> >
> > >> >> > Was this the right procedure?
> > >> >> > Or did I missed something?
> > >> >> >
> > >> >>
> > >> >
> > >>
> > >
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Larry Sevilla
Fixed NFS on the server...

How can I UnRegister ISOs in the Templates-ISO?

There's no option to UnRegister or Delete ISOs.

On Tue, Mar 12, 2019 at 3:21 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> Ping and check the connectivity from Host ad SSVM (details located at UI:
> Infrastructure -> System VMs -> Secondary Storage VM).
>
> Also, check private and public network configuration.
>
> - Suresh
>
>
> On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla <
> sevilla.larry@gmail.com>
> wrote:
>
> > SSVM = Secondary Storage Virtual Machine, right?
> >
> > Since it's a one PC cloud setup, the Management, Host, Primary Storage
> and
> > Secondary Storage are on the same PC.  I assumed it's reachable.
>
>
> On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
> > You can check the status either from UI or API.
> > -> UI: Go to the Templates and Select View: ISOs.
> > -> API: Use listIsos
> >
> > SSVM is the Secondary Secondary VM , which is mainly responsible for all
> > the storage operations where secondary storage is involved.
> >
> > - Suresh
> >
> > On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> > sevilla.larry@gmail.com> wrote:
> >
> >> also, what's SSVM?
> >>
> >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> >> sevilla.larry@gmail.com>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > Thx for the reply.
> >> >
> >> > (I'm new to CloudStack)
> >> >
> >> > How do I know if the ISO was downloaded? And Ready?
> >> >
> >> > Are there log files?
> >> >
> >> >
> >> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> >> > sureshkumar.anapa...@gmail.com> wrote:
> >> >
> >> >> In order to create a VM using the ISO, the ISO registered should be
> >> Ready
> >> >> state.
> >> >>
> >> >> When  Direct Download is set to "No", the SSVM will download the ISO
> >> into
> >> >> the Secondary storage using the public network. Is ISO added with
> >> Direct
> >> >> Download "No" is in ready state? Does the SSVM could reach that host?
> >> >>
> >> >> In the second case, when Direct Download is set to "Yes", ISO is
> >> directly
> >> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> >> Host.
> >> >> Might be the url is not reachable from Host.
> >> >>
> >> >> - Suresh
> >> >>
> >> >>
> >> >>
> >> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> >> >> sevilla.larry@gmail.com>
> >> >> wrote:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > I have a single PC cloud with CentOS7 using:
> >> >> >
> >> >> >
> >> >>
> >>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> >> >> >
> >> >> > Currently, I'm using "admin cloud".
> >> >> >
> >> >> > I'm trying to create a Virtual Machine, but failed.
> >> >> >
> >> >> > Steps:
> >> >> > 1. in Template - ISO, I Registered an ISO with the following
> fields:
> >> >> >a. Name: CentOSDVD1
> >> >> >b. Description: CentOSDVD1
> >> >> >c. URL:
> >> >> >
> >> >> >
> >> >>
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >> >d. Direct Download: no
> >> >> >e. Zone: All zones
> >> >> >f. Bootable: yes
> >> >> >g. OS Type: Cent OS 7.2
> >> >> >h. Extractable: yes
> >> >> >i. Public: yes
> >> >> >j. Featured: yes
> >> >> >
> >> >> >   ISO was added.
> >> >> >
> >> >> > If "Direct Download" is yes and add an MD5 checksum (by generating
> >> using
> >> >> > MD5sum), I got error msg:
> >> >> > Couldn't find a host to validate URL
> >> >> >
> >> >> >
> >> >>
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >> >
> >> >> > 2. in (VM) Instances, I add an Instance:
> >> >> > a. Zone: Zone1
> >> >> > b. Template or ISO: ISO
> >> >> > Then, there's "Select an ISO box" with four (4) tabs:
> >> >> > Featured, Community, My ISOs and Shared
> >> >> > but there are NO items among the 4 tabs.
> >> >> >
> >> >> > Was this the right procedure?
> >> >> > Or did I missed something?
> >> >> >
> >> >>
> >> >
> >>
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
Ping and check the connectivity from Host ad SSVM (details located at UI:
Infrastructure -> System VMs -> Secondary Storage VM).

Also, check private and public network configuration.

- Suresh


On Tue, Mar 12, 2019 at 12:30 PM Larry Sevilla 
wrote:

> SSVM = Secondary Storage Virtual Machine, right?
>
> Since it's a one PC cloud setup, the Management, Host, Primary Storage and
> Secondary Storage are on the same PC.  I assumed it's reachable.


On Tue, Mar 12, 2019 at 12:34 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> You can check the status either from UI or API.
> -> UI: Go to the Templates and Select View: ISOs.
> -> API: Use listIsos
>
> SSVM is the Secondary Secondary VM , which is mainly responsible for all
> the storage operations where secondary storage is involved.
>
> - Suresh
>
> On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> sevilla.larry@gmail.com> wrote:
>
>> also, what's SSVM?
>>
>> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
>> sevilla.larry@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > Thx for the reply.
>> >
>> > (I'm new to CloudStack)
>> >
>> > How do I know if the ISO was downloaded? And Ready?
>> >
>> > Are there log files?
>> >
>> >
>> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
>> > sureshkumar.anapa...@gmail.com> wrote:
>> >
>> >> In order to create a VM using the ISO, the ISO registered should be
>> Ready
>> >> state.
>> >>
>> >> When  Direct Download is set to "No", the SSVM will download the ISO
>> into
>> >> the Secondary storage using the public network. Is ISO added with
>> Direct
>> >> Download "No" is in ready state? Does the SSVM could reach that host?
>> >>
>> >> In the second case, when Direct Download is set to "Yes", ISO is
>> directly
>> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
>> Host.
>> >> Might be the url is not reachable from Host.
>> >>
>> >> - Suresh
>> >>
>> >>
>> >>
>> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
>> >> sevilla.larry@gmail.com>
>> >> wrote:
>> >>
>> >> > Hi,
>> >> >
>> >> > I have a single PC cloud with CentOS7 using:
>> >> >
>> >> >
>> >>
>> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>> >> >
>> >> > Currently, I'm using "admin cloud".
>> >> >
>> >> > I'm trying to create a Virtual Machine, but failed.
>> >> >
>> >> > Steps:
>> >> > 1. in Template - ISO, I Registered an ISO with the following fields:
>> >> >a. Name: CentOSDVD1
>> >> >b. Description: CentOSDVD1
>> >> >c. URL:
>> >> >
>> >> >
>> >>
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >> >d. Direct Download: no
>> >> >e. Zone: All zones
>> >> >f. Bootable: yes
>> >> >g. OS Type: Cent OS 7.2
>> >> >h. Extractable: yes
>> >> >i. Public: yes
>> >> >j. Featured: yes
>> >> >
>> >> >   ISO was added.
>> >> >
>> >> > If "Direct Download" is yes and add an MD5 checksum (by generating
>> using
>> >> > MD5sum), I got error msg:
>> >> > Couldn't find a host to validate URL
>> >> >
>> >> >
>> >>
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >> >
>> >> > 2. in (VM) Instances, I add an Instance:
>> >> > a. Zone: Zone1
>> >> > b. Template or ISO: ISO
>> >> > Then, there's "Select an ISO box" with four (4) tabs:
>> >> > Featured, Community, My ISOs and Shared
>> >> > but there are NO items among the 4 tabs.
>> >> >
>> >> > Was this the right procedure?
>> >> > Or did I missed something?
>> >> >
>> >>
>> >
>>
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Larry Sevilla
thx...

I think I found it.

I got a "Failed to start NFS server and services" after reboot. (and long
wait... about 30 minutes)


On Tue, Mar 12, 2019 at 3:04 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> You can check the status either from UI or API.
> -> UI: Go to the Templates and Select View: ISOs.
> -> API: Use listIsos
>
> SSVM is the Secondary Secondary VM , which is mainly responsible for all
> the storage operations where secondary storage is involved.
>
> - Suresh
>
> On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla <
> sevilla.larry@gmail.com>
> wrote:
>
> > also, what's SSVM?
> >
> > On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> sevilla.larry@gmail.com
> > >
> > wrote:
> >
> > > Hi,
> > >
> > > Thx for the reply.
> > >
> > > (I'm new to CloudStack)
> > >
> > > How do I know if the ISO was downloaded? And Ready?
> > >
> > > Are there log files?
> > >
> > >
> > > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > > sureshkumar.anapa...@gmail.com> wrote:
> > >
> > >> In order to create a VM using the ISO, the ISO registered should be
> > Ready
> > >> state.
> > >>
> > >> When  Direct Download is set to "No", the SSVM will download the ISO
> > into
> > >> the Secondary storage using the public network. Is ISO added with
> Direct
> > >> Download "No" is in ready state? Does the SSVM could reach that host?
> > >>
> > >> In the second case, when Direct Download is set to "Yes", ISO is
> > directly
> > >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> > Host.
> > >> Might be the url is not reachable from Host.
> > >>
> > >> - Suresh
> > >>
> > >>
> > >>
> > >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> > >> sevilla.larry@gmail.com>
> > >> wrote:
> > >>
> > >> > Hi,
> > >> >
> > >> > I have a single PC cloud with CentOS7 using:
> > >> >
> > >> >
> > >>
> >
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> > >> >
> > >> > Currently, I'm using "admin cloud".
> > >> >
> > >> > I'm trying to create a Virtual Machine, but failed.
> > >> >
> > >> > Steps:
> > >> > 1. in Template - ISO, I Registered an ISO with the following fields:
> > >> >a. Name: CentOSDVD1
> > >> >b. Description: CentOSDVD1
> > >> >c. URL:
> > >> >
> > >> >
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >d. Direct Download: no
> > >> >e. Zone: All zones
> > >> >f. Bootable: yes
> > >> >g. OS Type: Cent OS 7.2
> > >> >h. Extractable: yes
> > >> >i. Public: yes
> > >> >j. Featured: yes
> > >> >
> > >> >   ISO was added.
> > >> >
> > >> > If "Direct Download" is yes and add an MD5 checksum (by generating
> > using
> > >> > MD5sum), I got error msg:
> > >> > Couldn't find a host to validate URL
> > >> >
> > >> >
> > >>
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> > >> >
> > >> > 2. in (VM) Instances, I add an Instance:
> > >> > a. Zone: Zone1
> > >> > b. Template or ISO: ISO
> > >> > Then, there's "Select an ISO box" with four (4) tabs:
> > >> > Featured, Community, My ISOs and Shared
> > >> > but there are NO items among the 4 tabs.
> > >> >
> > >> > Was this the right procedure?
> > >> > Or did I missed something?
> > >> >
> > >>
> > >
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Suresh Kumar Anaparti
You can check the status either from UI or API.
-> UI: Go to the Templates and Select View: ISOs.
-> API: Use listIsos

SSVM is the Secondary Secondary VM , which is mainly responsible for all
the storage operations where secondary storage is involved.

- Suresh

On Tue, Mar 12, 2019 at 12:22 PM Larry Sevilla 
wrote:

> also, what's SSVM?
>
> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla  >
> wrote:
>
> > Hi,
> >
> > Thx for the reply.
> >
> > (I'm new to CloudStack)
> >
> > How do I know if the ISO was downloaded? And Ready?
> >
> > Are there log files?
> >
> >
> > On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> > sureshkumar.anapa...@gmail.com> wrote:
> >
> >> In order to create a VM using the ISO, the ISO registered should be
> Ready
> >> state.
> >>
> >> When  Direct Download is set to "No", the SSVM will download the ISO
> into
> >> the Secondary storage using the public network. Is ISO added with Direct
> >> Download "No" is in ready state? Does the SSVM could reach that host?
> >>
> >> In the second case, when Direct Download is set to "Yes", ISO is
> directly
> >> downloaded to Primary Storage (Sec Storage is ByPassed here) by the
> Host.
> >> Might be the url is not reachable from Host.
> >>
> >> - Suresh
> >>
> >>
> >>
> >> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> >> sevilla.larry@gmail.com>
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > I have a single PC cloud with CentOS7 using:
> >> >
> >> >
> >>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> >> >
> >> > Currently, I'm using "admin cloud".
> >> >
> >> > I'm trying to create a Virtual Machine, but failed.
> >> >
> >> > Steps:
> >> > 1. in Template - ISO, I Registered an ISO with the following fields:
> >> >a. Name: CentOSDVD1
> >> >b. Description: CentOSDVD1
> >> >c. URL:
> >> >
> >> >
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >d. Direct Download: no
> >> >e. Zone: All zones
> >> >f. Bootable: yes
> >> >g. OS Type: Cent OS 7.2
> >> >h. Extractable: yes
> >> >i. Public: yes
> >> >j. Featured: yes
> >> >
> >> >   ISO was added.
> >> >
> >> > If "Direct Download" is yes and add an MD5 checksum (by generating
> using
> >> > MD5sum), I got error msg:
> >> > Couldn't find a host to validate URL
> >> >
> >> >
> >>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >> >
> >> > 2. in (VM) Instances, I add an Instance:
> >> > a. Zone: Zone1
> >> > b. Template or ISO: ISO
> >> > Then, there's "Select an ISO box" with four (4) tabs:
> >> > Featured, Community, My ISOs and Shared
> >> > but there are NO items among the 4 tabs.
> >> >
> >> > Was this the right procedure?
> >> > Or did I missed something?
> >> >
> >>
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-12 Thread Larry Sevilla
SSVM = Secondary Storage Virtual Machine, right?

Since it's a one PC cloud setup, the Management, Host, Primary Storage and
Secondary Storage are on the same PC.  I assumed it's reachable.

On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla 
wrote:

> also, what's SSVM?
>
> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla 
> wrote:
>
>> Hi,
>>
>> Thx for the reply.
>>
>> (I'm new to CloudStack)
>>
>> How do I know if the ISO was downloaded? And Ready?
>>
>> Are there log files?
>>
>>
>> On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
>> sureshkumar.anapa...@gmail.com> wrote:
>>
>>> In order to create a VM using the ISO, the ISO registered should be Ready
>>> state.
>>>
>>> When  Direct Download is set to "No", the SSVM will download the ISO into
>>> the Secondary storage using the public network. Is ISO added with Direct
>>> Download "No" is in ready state? Does the SSVM could reach that host?
>>>
>>> In the second case, when Direct Download is set to "Yes", ISO is directly
>>> downloaded to Primary Storage (Sec Storage is ByPassed here) by the Host.
>>> Might be the url is not reachable from Host.
>>>
>>> - Suresh
>>>
>>>
>>>
>>> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
>>> sevilla.larry@gmail.com>
>>> wrote:
>>>
>>> > Hi,
>>> >
>>> > I have a single PC cloud with CentOS7 using:
>>> >
>>> >
>>> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>>> >
>>> > Currently, I'm using "admin cloud".
>>> >
>>> > I'm trying to create a Virtual Machine, but failed.
>>> >
>>> > Steps:
>>> > 1. in Template - ISO, I Registered an ISO with the following fields:
>>> >a. Name: CentOSDVD1
>>> >b. Description: CentOSDVD1
>>> >c. URL:
>>> >
>>> >
>>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>>> >d. Direct Download: no
>>> >e. Zone: All zones
>>> >f. Bootable: yes
>>> >g. OS Type: Cent OS 7.2
>>> >h. Extractable: yes
>>> >i. Public: yes
>>> >j. Featured: yes
>>> >
>>> >   ISO was added.
>>> >
>>> > If "Direct Download" is yes and add an MD5 checksum (by generating
>>> using
>>> > MD5sum), I got error msg:
>>> > Couldn't find a host to validate URL
>>> >
>>> >
>>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>>> >
>>> > 2. in (VM) Instances, I add an Instance:
>>> > a. Zone: Zone1
>>> > b. Template or ISO: ISO
>>> > Then, there's "Select an ISO box" with four (4) tabs:
>>> > Featured, Community, My ISOs and Shared
>>> > but there are NO items among the 4 tabs.
>>> >
>>> > Was this the right procedure?
>>> > Or did I missed something?
>>> >
>>>
>>


Re: No Template ISO during adding a VM Instance

2019-03-11 Thread Larry Sevilla
also, what's SSVM?

On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla 
wrote:

> Hi,
>
> Thx for the reply.
>
> (I'm new to CloudStack)
>
> How do I know if the ISO was downloaded? And Ready?
>
> Are there log files?
>
>
> On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
> sureshkumar.anapa...@gmail.com> wrote:
>
>> In order to create a VM using the ISO, the ISO registered should be Ready
>> state.
>>
>> When  Direct Download is set to "No", the SSVM will download the ISO into
>> the Secondary storage using the public network. Is ISO added with Direct
>> Download "No" is in ready state? Does the SSVM could reach that host?
>>
>> In the second case, when Direct Download is set to "Yes", ISO is directly
>> downloaded to Primary Storage (Sec Storage is ByPassed here) by the Host.
>> Might be the url is not reachable from Host.
>>
>> - Suresh
>>
>>
>>
>> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
>> sevilla.larry@gmail.com>
>> wrote:
>>
>> > Hi,
>> >
>> > I have a single PC cloud with CentOS7 using:
>> >
>> >
>> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>> >
>> > Currently, I'm using "admin cloud".
>> >
>> > I'm trying to create a Virtual Machine, but failed.
>> >
>> > Steps:
>> > 1. in Template - ISO, I Registered an ISO with the following fields:
>> >a. Name: CentOSDVD1
>> >b. Description: CentOSDVD1
>> >c. URL:
>> >
>> >
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >d. Direct Download: no
>> >e. Zone: All zones
>> >f. Bootable: yes
>> >g. OS Type: Cent OS 7.2
>> >h. Extractable: yes
>> >i. Public: yes
>> >j. Featured: yes
>> >
>> >   ISO was added.
>> >
>> > If "Direct Download" is yes and add an MD5 checksum (by generating using
>> > MD5sum), I got error msg:
>> > Couldn't find a host to validate URL
>> >
>> >
>> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>> >
>> > 2. in (VM) Instances, I add an Instance:
>> > a. Zone: Zone1
>> > b. Template or ISO: ISO
>> > Then, there's "Select an ISO box" with four (4) tabs:
>> > Featured, Community, My ISOs and Shared
>> > but there are NO items among the 4 tabs.
>> >
>> > Was this the right procedure?
>> > Or did I missed something?
>> >
>>
>


Re: No Template ISO during adding a VM Instance

2019-03-11 Thread Larry Sevilla
Hi,

Thx for the reply.

(I'm new to CloudStack)

How do I know if the ISO was downloaded? And Ready?

Are there log files?


On Tue, Mar 12, 2019 at 2:43 PM Suresh Kumar Anaparti <
sureshkumar.anapa...@gmail.com> wrote:

> In order to create a VM using the ISO, the ISO registered should be Ready
> state.
>
> When  Direct Download is set to "No", the SSVM will download the ISO into
> the Secondary storage using the public network. Is ISO added with Direct
> Download "No" is in ready state? Does the SSVM could reach that host?
>
> In the second case, when Direct Download is set to "Yes", ISO is directly
> downloaded to Primary Storage (Sec Storage is ByPassed here) by the Host.
> Might be the url is not reachable from Host.
>
> - Suresh
>
>
>
> On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla <
> sevilla.larry@gmail.com>
> wrote:
>
> > Hi,
> >
> > I have a single PC cloud with CentOS7 using:
> >
> >
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
> >
> > Currently, I'm using "admin cloud".
> >
> > I'm trying to create a Virtual Machine, but failed.
> >
> > Steps:
> > 1. in Template - ISO, I Registered an ISO with the following fields:
> >a. Name: CentOSDVD1
> >b. Description: CentOSDVD1
> >c. URL:
> >
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >d. Direct Download: no
> >e. Zone: All zones
> >f. Bootable: yes
> >g. OS Type: Cent OS 7.2
> >h. Extractable: yes
> >i. Public: yes
> >j. Featured: yes
> >
> >   ISO was added.
> >
> > If "Direct Download" is yes and add an MD5 checksum (by generating using
> > MD5sum), I got error msg:
> > Couldn't find a host to validate URL
> >
> >
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
> >
> > 2. in (VM) Instances, I add an Instance:
> > a. Zone: Zone1
> > b. Template or ISO: ISO
> > Then, there's "Select an ISO box" with four (4) tabs:
> > Featured, Community, My ISOs and Shared
> > but there are NO items among the 4 tabs.
> >
> > Was this the right procedure?
> > Or did I missed something?
> >
>


Re: No Template ISO during adding a VM Instance

2019-03-11 Thread Suresh Kumar Anaparti
In order to create a VM using the ISO, the ISO registered should be Ready
state.

When  Direct Download is set to "No", the SSVM will download the ISO into
the Secondary storage using the public network. Is ISO added with Direct
Download "No" is in ready state? Does the SSVM could reach that host?

In the second case, when Direct Download is set to "Yes", ISO is directly
downloaded to Primary Storage (Sec Storage is ByPassed here) by the Host.
Might be the url is not reachable from Host.

- Suresh



On Tue, Mar 12, 2019 at 11:48 AM Larry Sevilla 
wrote:

> Hi,
>
> I have a single PC cloud with CentOS7 using:
>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>
> Currently, I'm using "admin cloud".
>
> I'm trying to create a Virtual Machine, but failed.
>
> Steps:
> 1. in Template - ISO, I Registered an ISO with the following fields:
>a. Name: CentOSDVD1
>b. Description: CentOSDVD1
>c. URL:
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>d. Direct Download: no
>e. Zone: All zones
>f. Bootable: yes
>g. OS Type: Cent OS 7.2
>h. Extractable: yes
>i. Public: yes
>j. Featured: yes
>
>   ISO was added.
>
> If "Direct Download" is yes and add an MD5 checksum (by generating using
> MD5sum), I got error msg:
> Couldn't find a host to validate URL
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>
> 2. in (VM) Instances, I add an Instance:
> a. Zone: Zone1
> b. Template or ISO: ISO
> Then, there's "Select an ISO box" with four (4) tabs:
> Featured, Community, My ISOs and Shared
> but there are NO items among the 4 tabs.
>
> Was this the right procedure?
> Or did I missed something?
>


Re: No Template ISO during adding a VM Instance

2019-03-11 Thread Thomas Joseph
Hi

Did the ISO complete downloading in all the zones? That's the only reason
this issue would happen.
When you say it was added, I reckon you mean the details for the iso was
visible in cloud portal, there is another tab zones, wherein you can check
the status of the download for specific zones.
In case the download hasn't completed, connect to the ssvm and run a wget
with the iso url and check if it's able to connect and download. You can
also check if the file exists and the size, on the secondary storage.

Regards
Thomas

On Tue, 12 Mar 2019, 6:18 am Larry Sevilla, 
wrote:

> Hi,
>
> I have a single PC cloud with CentOS7 using:
>
> https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst
>
> Currently, I'm using "admin cloud".
>
> I'm trying to create a Virtual Machine, but failed.
>
> Steps:
> 1. in Template - ISO, I Registered an ISO with the following fields:
>a. Name: CentOSDVD1
>b. Description: CentOSDVD1
>c. URL:
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>d. Direct Download: no
>e. Zone: All zones
>f. Bootable: yes
>g. OS Type: Cent OS 7.2
>h. Extractable: yes
>i. Public: yes
>j. Featured: yes
>
>   ISO was added.
>
> If "Direct Download" is yes and add an MD5 checksum (by generating using
> MD5sum), I got error msg:
> Couldn't find a host to validate URL
>
> http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
>
> 2. in (VM) Instances, I add an Instance:
> a. Zone: Zone1
> b. Template or ISO: ISO
> Then, there's "Select an ISO box" with four (4) tabs:
> Featured, Community, My ISOs and Shared
> but there are NO items among the 4 tabs.
>
> Was this the right procedure?
> Or did I missed something?
>


No Template ISO during adding a VM Instance

2019-03-11 Thread Larry Sevilla
Hi,

I have a single PC cloud with CentOS7 using:
https://github.com/apache/cloudstack-documentation/blob/master/source/quickinstallationguide/qig.rst

Currently, I'm using "admin cloud".

I'm trying to create a Virtual Machine, but failed.

Steps:
1. in Template - ISO, I Registered an ISO with the following fields:
   a. Name: CentOSDVD1
   b. Description: CentOSDVD1
   c. URL:
http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso
   d. Direct Download: no
   e. Zone: All zones
   f. Bootable: yes
   g. OS Type: Cent OS 7.2
   h. Extractable: yes
   i. Public: yes
   j. Featured: yes

  ISO was added.

If "Direct Download" is yes and add an MD5 checksum (by generating using
MD5sum), I got error msg:
Couldn't find a host to validate URL
http://mirror.rise.ph/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.iso

2. in (VM) Instances, I add an Instance:
a. Zone: Zone1
b. Template or ISO: ISO
Then, there's "Select an ISO box" with four (4) tabs:
Featured, Community, My ISOs and Shared
but there are NO items among the 4 tabs.

Was this the right procedure?
Or did I missed something?


ACS attempts to re-download a template/ISO

2017-11-25 Thread Vladimir Melnik
Dear colleagues,

Did anyone experienced attempts to download a template/ISO that had been 
already loaded some time ago. In my case it happens after the management-server 
restart (running 4.9.2).

Have to update these templates' info in the `template_store_ref` table each 
time it happens (path = 
'template/tmpl/13/666/13-666-01234567-89ab-cdef-fedc-ba9876543210.iso', 
download_state = 'DOWNLOADED', error_str = 'Install completed successfully at 
13/13/13 04:20 AM', state= 'Ready'), but would like to prevent that. So, any 
tiny piece of advice would be appreciated.

-- 
V.Melnik


Re: Template/iso

2017-04-12 Thread Gian Paolo Buono
Hi,

I have resolved restart service cloud on SSVM

Bye

On 04/11/2017 10:39 PM, Gian Paolo Buono wrote:


I have find many template from this query:

select * from template_store_ref\G

in status Creating and Allocated.  I dont think it is a good thing.
 Bye
On 04/11/2017 10:12 PM, Gian Paolo Buono wrote:

Hi all,

I have a trouble with a Template/iso, the template is in stuck and when a try 
to delete:

2017-04-11 21:59:01,084 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-66:ctx-e3b54e00 job-55008) (logid:b4253eaa) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to update state
at 
org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:174)
at 
org.apache.cloudstack.storage.image.TemplateServiceImpl.deleteTemplateAsync(TemplateServiceImpl.java:698)
at 
com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:401)
at 
com.cloud.template.TemplateManagerImpl.deleteIso(TemplateManagerImpl.java:1219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy185.deleteIso(Unknown Source)
at 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd.execute(DeleteIsoCmd.java:114)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4NzYxMTlkN2I0NTgzNjBkNj01OEVEMzhCRF8yMzAxXzE0MV8xJiY2YTdmZGQ4N2U1NGJiNGE9MTIyMyYmdXJsPW9yZyUyRWFwYWNoZSUyRWNsb3Vkc3RhY2slMkVtYW5hZ2VkJTJFY29udGV4dCUyRU1hbmFnZWRDb250ZXh0UnVubmFibGUlMkVydW4=(ManagedContextRunnable.java:46)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4YjYzMTVkN2EyNTkyNzAyNz01OEVEMzhCRF8yMzAxXzE0MV8xJiYxZTI5NWMwNmI0ZmE4NDg9MTIyMyYmdXJsPWphdmElMkV1dGlsJTJFY29uY3VycmVudCUyRUZ1dHVyZVRhc2slMkVydW4=(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4ZTZjMDBjM2ZlNDcyMzAyNj01OEVEMzhCRF8yMzAxXzE0MV8xJiYyZTI4N2RkNmQ1ZmJiNDk9MTIyMyYmdXJsPWphdmElMkVsYW5nJTJFVGhyZWFkJTJFcnVu(Thread.java:745)
Caused by: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a 
new state from Creating via DestroyRequested
at com.cloud.utils.fsm.StateMachine2.getTransition(StateMachine2.java:108)
at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:94)
at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:124)

thanks, bye
Gian Paolo






Re: Template/iso

2017-04-11 Thread Gian Paolo Buono

I have find many template from this query:

select * from template_store_ref\G

in status Creating and Allocated.  I dont think it is a good thing.
 Bye
On 04/11/2017 10:12 PM, Gian Paolo Buono wrote:

Hi all,

I have a trouble with a Template/iso, the template is in stuck and when a try 
to delete:

2017-04-11 21:59:01,084 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-66:ctx-e3b54e00 job-55008) (logid:b4253eaa) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to update state
at 
org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:174)
at 
org.apache.cloudstack.storage.image.TemplateServiceImpl.deleteTemplateAsync(TemplateServiceImpl.java:698)
at 
com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:401)
at 
com.cloud.template.TemplateManagerImpl.deleteIso(TemplateManagerImpl.java:1219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy185.deleteIso(Unknown Source)
at 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd.execute(DeleteIsoCmd.java:114)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4NzYxMTlkN2I0NTgzNjBkNj01OEVEMzhCRF8yMzAxXzE0MV8xJiY2YTdmZGQ4N2U1NGJiNGE9MTIyMyYmdXJsPW9yZyUyRWFwYWNoZSUyRWNsb3Vkc3RhY2slMkVtYW5hZ2VkJTJFY29udGV4dCUyRU1hbmFnZWRDb250ZXh0UnVubmFibGUlMkVydW4=(ManagedContextRunnable.java:46)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4YjYzMTVkN2EyNTkyNzAyNz01OEVEMzhCRF8yMzAxXzE0MV8xJiYxZTI5NWMwNmI0ZmE4NDg9MTIyMyYmdXJsPWphdmElMkV1dGlsJTJFY29uY3VycmVudCUyRUZ1dHVyZVRhc2slMkVydW4=(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
http://mail01.gesca.it:32224/?dmVyPTEuMDAxJiY4ZTZjMDBjM2ZlNDcyMzAyNj01OEVEMzhCRF8yMzAxXzE0MV8xJiYyZTI4N2RkNmQ1ZmJiNDk9MTIyMyYmdXJsPWphdmElMkVsYW5nJTJFVGhyZWFkJTJFcnVu(Thread.java:745)
Caused by: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a 
new state from Creating via DestroyRequested
at com.cloud.utils.fsm.StateMachine2.getTransition(StateMachine2.java:108)
at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:94)
at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:124)

thanks, bye
Gian Paolo




Template/iso

2017-04-11 Thread Gian Paolo Buono
Hi all,

I have a trouble with a Template/iso, the template is in stuck and when a try 
to delete:

2017-04-11 21:59:01,084 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-66:ctx-e3b54e00 job-55008) (logid:b4253eaa) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to update state
at 
org.apache.cloudstack.storage.image.store.TemplateObject.processEvent(TemplateObject.java:174)
at 
org.apache.cloudstack.storage.image.TemplateServiceImpl.deleteTemplateAsync(TemplateServiceImpl.java:698)
at 
com.cloud.template.HypervisorTemplateAdapter.delete(HypervisorTemplateAdapter.java:401)
at 
com.cloud.template.TemplateManagerImpl.deleteIso(TemplateManagerImpl.java:1219)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy185.deleteIso(Unknown Source)
at 
org.apache.cloudstack.api.command.user.iso.DeleteIsoCmd.execute(DeleteIsoCmd.java:114)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:554)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:502)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a 
new state from Creating via DestroyRequested
at com.cloud.utils.fsm.StateMachine2.getTransition(StateMachine2.java:108)
at com.cloud.utils.fsm.StateMachine2.getNextState(StateMachine2.java:94)
at com.cloud.utils.fsm.StateMachine2.transitTo(StateMachine2.java:124)

thanks, bye
Gian Paolo


Re: Template/ISO register issue: SSVM java error

2014-11-28 Thread Tejas Sheth
Hello,

  I have updated cloudstack 4.3.1 with latest system vm template but now i
am getting folloing error when i try to upload iso image to secondary
storage.


Error In UI: Timeout waiting for response from storage host
Error in Management server log:
2014-11-28 20:25:26,772 DEBUG [c.c.s.d.DownloadListener]
(Timer-10:ctx-a4559d36) timeout: transitioning to download error state,
currstate=NOT_DOWNLOADED, TEMPLATE: 202 at host 7
2014-11-28 20:25:26,812 WARN  [c.c.s.d.DownloadListener]
(Timer-10:ctx-a4559d36) Entering download error state: timeout waiting for
response from storage host, TEMPLATE: 202 at host 7

 I have executed *ssvm-check.sh* it shows following output.


===
First DNS server is  10.3.4.9
PING 10.3.4.9 (10.3.4.9): 56 data bytes
64 bytes from 10.3.4.9: icmp_seq=0 ttl=64 time=2.606 ms
64 bytes from 10.3.4.9: icmp_seq=1 ttl=64 time=0.751 ms
--- 10.3.4.9 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.751/1.678/2.606/0.928 ms
Good: Can ping DNS server

Good: DNS resolves download.cloud.com

nfs is currently mounted

Management server is 10.3.4.3. Checking connectivity.
Good: Can connect to management server port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.


  Any Idea about the reason behind above issue in cloudstack with advance
zone configuration?.


Thanks

On Thu, Nov 27, 2014 at 10:45 PM, Jayapal Reddy Uradi <
jayapalreddy.ur...@citrix.com> wrote:

> Hi Tejas,
>
> Please run the following command in the ssvm.
> /usr/local/cloud/systemvm/ssvm-check.sh
>
> For more troubleshooting of ssvm follow the below link.
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
>
> Thanks,
> Jayapal
> On 27-Nov-2014, at 9:00 PM, Tejas Sheth  tshet...@gmail.com>> wrote:
>
> Hello guyz,
>
>   We have deployed advanced zone with xenserver 6.2 sucessfully but we are
> not able to register ISO or template.
>
>  The Ready parameter is showing NO and Status parameter is BLANK.
>
> When i went to secondary storage VM and if we run ./run.sh it shows
> following error.
>
>
> ERROR AgentShell:464 - Unable to start agent: Java process is being started
> twice.  If this is not true, remove /var/run/agent.SecStorage.pid
> Unable to start agent: Java process is being started twice.  If this is not
> true, remove /var/run/agent.SecStorage.pid
>
>
> Thanks and regards,
> Tejas
>
>


Re: Template/ISO register issue: SSVM java error

2014-11-27 Thread Jayapal Reddy Uradi
Hi Tejas,

Please run the following command in the ssvm.
/usr/local/cloud/systemvm/ssvm-check.sh

For more troubleshooting of ssvm follow the below link.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

Thanks,
Jayapal
On 27-Nov-2014, at 9:00 PM, Tejas Sheth 
mailto:tshet...@gmail.com>> wrote:

Hello guyz,

  We have deployed advanced zone with xenserver 6.2 sucessfully but we are
not able to register ISO or template.

 The Ready parameter is showing NO and Status parameter is BLANK.

When i went to secondary storage VM and if we run ./run.sh it shows
following error.


ERROR AgentShell:464 - Unable to start agent: Java process is being started
twice.  If this is not true, remove /var/run/agent.SecStorage.pid
Unable to start agent: Java process is being started twice.  If this is not
true, remove /var/run/agent.SecStorage.pid


Thanks and regards,
Tejas



Template/ISO register issue: SSVM java error

2014-11-27 Thread Tejas Sheth
 Hello guyz,

   We have deployed advanced zone with xenserver 6.2 sucessfully but we are
not able to register ISO or template.

  The Ready parameter is showing NO and Status parameter is BLANK.

 When i went to secondary storage VM and if we run ./run.sh it shows
following error.


ERROR AgentShell:464 - Unable to start agent: Java process is being started
twice.  If this is not true, remove /var/run/agent.SecStorage.pid
Unable to start agent: Java process is being started twice.  If this is not
true, remove /var/run/agent.SecStorage.pid


Thanks and regards,
Tejas


RE: Empty Template/ISO List on Instance Add Menu

2013-06-11 Thread David Ortiz
Did you try:ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@169.254.0.236?  It 
looks like that is the link local IP which is the one you need to ssh from for 
system VMs.

> From: mr...@shirazu.ac.ir
> Date: Tue, 11 Jun 2013 12:48:35 +0430
> To: users@cloudstack.apache.org
> Subject: Re: Empty Template/ISO List on Instance Add Menu
> 
> Many Thanks,
> 
> Names-1-VMID41cd3e05-07b3-42ab-a394-99e9e2055368StateRunningTypeSecondary 
> Storage VMZonezone1Public IP Address172.16.1.202Private IP 
> Address172.16.1.66Link Local IP Adddress169.254.0.236
> 
> But there is a problem when I type:
> ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@LinkLocal
> Could not find LinkLocal
> 
> ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@192.168.1.66
> Connection Refused
> 
> ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@192.168.1.202
> 
> Connection Timeout
> 
> What now ?
> 
> On Tue, Jun 11, 2013 12:37  PM, Nitin Mehta  wrote:
> > #3 in
> > https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html
> > 
> > 
> > 
> > On 11/06/13 1:24 PM, "Mohammad Mahdi Raja"  wrote:
> > 
> > >Dear All Users
> > >
> > >There is no option for me to create any instance when I install my
> > >CloudStack and add host and template in correct way.
> > >I have SSVM and PROXYVM too.
> > >Storage is configured.
> > >Template is added and I have 3 of them there.
> > >But when we go to "Instances" > "Add New Instance" > From ISO/Template >
> > >EMPTY LIST (Featured/Community/My X)
> > >
> > >Please Help us to solve the issue
> > >
> > >Regards,
> > >Mahdi
> > 
> > 
  

Re: Empty Template/ISO List on Instance Add Menu

2013-06-11 Thread Mohammad Mahdi Raja
Many Thanks,

Names-1-VMID41cd3e05-07b3-42ab-a394-99e9e2055368StateRunningTypeSecondary 
Storage VMZonezone1Public IP Address172.16.1.202Private IP 
Address172.16.1.66Link Local IP Adddress169.254.0.236

But there is a problem when I type:
ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@LinkLocal
Could not find LinkLocal

ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@192.168.1.66
Connection Refused

ssh -i /root/.ssh/id_rsa.cloud -p 3922 root@192.168.1.202

Connection Timeout

What now ?

On Tue, Jun 11, 2013 12:37  PM, Nitin Mehta  wrote:
> #3 in
> https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html
> 
> 
> 
> On 11/06/13 1:24 PM, "Mohammad Mahdi Raja"  wrote:
> 
> >Dear All Users
> >
> >There is no option for me to create any instance when I install my
> >CloudStack and add host and template in correct way.
> >I have SSVM and PROXYVM too.
> >Storage is configured.
> >Template is added and I have 3 of them there.
> >But when we go to "Instances" > "Add New Instance" > From ISO/Template >
> >EMPTY LIST (Featured/Community/My X)
> >
> >Please Help us to solve the issue
> >
> >Regards,
> >Mahdi
> 
> 

Re: Empty Template/ISO List on Instance Add Menu

2013-06-11 Thread Nitin Mehta
#3 in
https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html



On 11/06/13 1:24 PM, "Mohammad Mahdi Raja"  wrote:

>Dear All Users
>
>There is no option for me to create any instance when I install my
>CloudStack and add host and template in correct way.
>I have SSVM and PROXYVM too.
>Storage is configured.
>Template is added and I have 3 of them there.
>But when we go to "Instances" > "Add New Instance" > From ISO/Template >
>EMPTY LIST (Featured/Community/My X)
>
>Please Help us to solve the issue
>
>Regards,
>Mahdi



Empty Template/ISO List on Instance Add Menu

2013-06-11 Thread Mohammad Mahdi Raja
Dear All Users

There is no option for me to create any instance when I install my CloudStack 
and add host and template in correct way.
I have SSVM and PROXYVM too. 
Storage is configured.
Template is added and I have 3 of them there.
But when we go to "Instances" > "Add New Instance" > From ISO/Template > EMPTY 
LIST (Featured/Community/My X)

Please Help us to solve the issue

Regards,
Mahdi