Try to fire API from a browser. For deleteIso,
"http://<IP>:<Port>/client/api?command=deleteIso&id=<UUID-of-ISO>".
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 <[email protected]>
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 <
> [email protected]> wrote:
>
> > Check deleteIso API.
> >
> > On Tue, Mar 12, 2019 at 1:44 PM Larry Sevilla <
> [email protected]
> > >
> > 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 <
> > > [email protected]> 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 <
> > > > [email protected]>
> > > > 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 <
> > > > [email protected]> 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 <
> > > > > [email protected]> wrote:
> > > > >
> > > > >> also, what's SSVM?
> > > > >>
> > > > >> On Tue, Mar 12, 2019 at 2:51 PM Larry Sevilla <
> > > > >> [email protected]>
> > > > >> 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 <
> > > > >> > [email protected]> 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 <
> > > > >> >> [email protected]>
> > > > >> >> 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?
> > > > >> >> >
> > > > >> >>
> > > > >> >
> > > > >>
> > > > >
> > > >
> > >
> >
>

Reply via email to