You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Matthew Samani <sa...@montclair.edu> on 2021/12/10 16:25:30 UTC

Issue with Quick Start Guide

Good Morning All,

My name is Matt and I have just joined this mailing list. I apologize in
advance if this email becomes lengthy.

I am new to working with Cloudstack and I have been trying to test out the
software a bit. I am trying to use the Quick Start guide provided by
Cloudstack to get used to the general installation process and its use.
While there was a bit of a learning curve, I have reached all the way to
the end of the guide. To provide some information on my design, I am using
two CentOS VMs with one acting as the gateway and the other having the
entire installation. I made sure to set Promiscuous Mode to Allow VMs for
both the gateway and client, provided enough computational resources,
Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both the
gateway and client, and followed every single step verbatim (using
copy/paste as much as possible and making adjustments where needed).

The only issue is that when I hit "Launch Zone" as one of the final steps,
it gets stuck on Adding Host. I do usually get a notification saying that
it cannot connect to the management server. This doesn't make as much sense
since it should be the same machine. I have included a screenshot of where
I got stuck, the link to the Quick Start guide, and the link to the book I
used for my gateway (go to page 118). Can anyone give me any pointers? I
have done the whole process twice and received the same results. I am not
sure if it would be the cause, however I want to note that I stopped and
disabled the firewall on the client, but the gateway's firewall is still up
and running. While I can see the firewall on the client possibly causing
issues, I am not sure about the gateway.

[image: image (1).png]


Quick Start Guide:
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
Gateway: https://oiipdf.com/mastering-centos-7-linux-server
-- 
Regards,

Matthew Joseph Samani
Email: samanim1@montclair.edu
Cell: 201-359-6077

Re: Issue with Quick Start Guide

Posted by Matthew Samani <sa...@montclair.edu>.
Hi Daan,

You are correct. The gateway is not acting as a host. It just lets my other
machine connect to the outside world.

Also, you are correct that I am not using this as a production system. Next
semester though, I plan on creating a Cloudstack setup with 10 physical
machines.

Below is a screenshot of my management-server.log file during the time I
tried to run the install. The top one (2021-12-7 14:13:20, 315) is where I
began the management setup on my browser. At the bottom of the first
screenshot, I think that is where I tried to add a host from the
Infrastructure tab. The other screenshot is from my alerts page in the
Infrastructure tab.

[image: image (2).png]
[image: image (3).png]

On Fri, Dec 10, 2021 at 11:37 AM Daan Hoogland <da...@gmail.com>
wrote:

> welcome Matt,
> I'll take a while to read ;)
>
> When you call one machine the `gateway`, do you mean it is not acting as a
> host but as a gateway to the outside world, and only the machine with the
> management server is a host in the system?
> Firewalls can be a pain, however the ports to open are really limited and
> it sounds like you are not talking about this as an architecture for a
> production system, so it is alright to completely disable them.
> During enabling the zone, do you see any issues in the management server or
> agent logs?
>
>
> On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <sa...@montclair.edu>
> wrote:
>
> > Good Morning All,
> >
> > My name is Matt and I have just joined this mailing list. I apologize in
> > advance if this email becomes lengthy.
> >
> > I am new to working with Cloudstack and I have been trying to test out
> the
> > software a bit. I am trying to use the Quick Start guide provided by
> > Cloudstack to get used to the general installation process and its use.
> > While there was a bit of a learning curve, I have reached all the way to
> > the end of the guide. To provide some information on my design, I am
> using
> > two CentOS VMs with one acting as the gateway and the other having the
> > entire installation. I made sure to set Promiscuous Mode to Allow VMs for
> > both the gateway and client, provided enough computational resources,
> > Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both
> the
> > gateway and client, and followed every single step verbatim (using
> > copy/paste as much as possible and making adjustments where needed).
> >
> > The only issue is that when I hit "Launch Zone" as one of the final
> steps,
> > it gets stuck on Adding Host. I do usually get a notification saying that
> > it cannot connect to the management server. This doesn't make as much
> sense
> > since it should be the same machine. I have included a screenshot of
> where
> > I got stuck, the link to the Quick Start guide, and the link to the book
> I
> > used for my gateway (go to page 118). Can anyone give me any pointers? I
> > have done the whole process twice and received the same results. I am not
> > sure if it would be the cause, however I want to note that I stopped and
> > disabled the firewall on the client, but the gateway's firewall is still
> up
> > and running. While I can see the firewall on the client possibly causing
> > issues, I am not sure about the gateway.
> >
> > [image: image (1).png]
> >
> >
> > Quick Start Guide:
> >
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
> >
> > Gateway: https://oiipdf.com/mastering-centos-7-linux-server
> > --
> > Regards,
> >
> > Matthew Joseph Samani
> > Email: samanim1@montclair.edu
> > Cell: 201-359-6077
> >
> >
>
> --
> Daan
>


-- 
Regards,

Matthew Joseph Samani
Email: samanim1@montclair.edu
Cell: 201-359-6077

Re: Issue with Quick Start Guide

Posted by Daan Hoogland <da...@gmail.com>.
Matthew, only the following seems relevant (prior messages are not fatal)

2021-12-15 16:43:38,314 WARN [c.c.r.ResourceManagerImpl]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to
find the server
resources at http://192.168.1.2

2021-12-15 16:43:38,314 INFO [c.c.u.e.CSExceptionErrorCode]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Could not find
exception: com.cloud.exception.DiscoveryException in error code list for
exceptions

2021-12-15 16:43:38,315 WARN [0.a.c.a.c.a.h.AddHostCmd]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Exception
com. cloud.exception.DiscoveryException: Unable to add the host

2021-12-15 16:43:38,316 INFO [c.c.a.ApiServer]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to add
the host

It seems the hypervisor you are trying to configure is not reachable from
your management host. I think you need to check your network.


On Wed, Dec 15, 2021 at 11:12 PM Matthew Samani <sa...@montclair.edu>
wrote:

> Daan,
>
> Sorry for the delay. I am in school and I am juggling multiple classes.
> Since I am having issues installing guest additions on VirtualBox, I tried
> a workaround to get the wall of text from VirtualBox. It isn't perfect but
> I corrected what I was able to find. SIDE NOTE: This is an error log from
> today after trying a fresh install from scratch.
>
> 21-12-15 16:03:34,507 WARN [c.c.u.systemVmTemplateRegistration]
> (main:nullt) (togid:) 4.16.0 LAC SystemVm template not Tound. Cannot
> upgrade
> system Vms hypervisor is not used, so not failing upgrade
>
> 2021-12-15 16:03:34,808 WARN [c.c.u.SystemVmTemplateRegistration]
> (main:null) (logid:) 4.16.0 Hyperv SystemVm template not found. Cannot
> upgrade
> system Vms hypervisor is not used, so not failing upgrade
>
> 2021-12-15 16:03:34,810 WARN [c.c.u.SystemVmTemplateRegistration]
> (main:null) (logid:) 4.16.0 Ovm3 SystemVm template not found. Cannot
> upgrade
> system Vms hypervisor is not used, so not failing upgrade
>
> 2021-12-15 16:03:34,811 WARN [c.c.u.SystemVmTemplateRegistration]
> (main:null) (logid:) 4.16.0 KVM SystemVm template not found. Cannot upgrade
> system Vms hypervisor is not used, so not failing upgrade
>
> 2021-12-15 16:03:34,812 WARN [c.c.u.SystemVmTemplateRegistration]
> (main:null) (logid:) 4.16.0 VMware SystemVm template not found. Cannot
> upgrade
> system Vms hypervisor is not used, so not failing upgrade
>
> 2021-12-15 16:03:44,160 WARN [c.c.s.d.DownloadMonitorImpl] (main:null)
> (Llogid:) Only realhostip.com ssl cert is supported, ignoring self-signed
> and other certs
>
> 2021-12-15 16:03:44,186 DEBUG [o.a.c.u.m.SMTPMailSender] (main:null)
> (logid:) Unable to instantiate SMTP mail session due to empty or null host
> 2021-12-15 16:03:44,233 DEBUG [o.a.c.u.m.SMTPMailsender] (main:null)
> (logid:) Unable to instantiate SMTP mail session due to empty or null host
> 2021-12-15 16:03:44,954 ERROR [c.c.u.PropertiesUtil] (main:null) (logid:)
> Unable to find properties file: commands.properties
> 2021-12-15 16:03:45,415 DEBUG [o.a.c.u.m.SMTPMailsender] (main:null)
> (logid:) Unable to instantiate SMTP mail session due to empty or null host
> 2021-12-15 16:03:49,759 INFO [c.c.h.x.r.XenServerConnectionPool]
> (main:null) (logid:) XenServer Connection Pool Configs
> sleep. interval.on.error=10000
> 2021-12-15 16:03:50,037 WARN [c.c.c.ConfigurationManagerImpl]
> (main:ctx-216caf38) (Logid:) Management network CIDR is not configured
> originally
> Set it default to 192.168.1.0/24
>
> 2021-12-15 16:03:50,039 WARN [c.c.a.AlertManagerImpl] (main:ctx-216caf38)
> (logid:) alertType=[14] dataCenterId=[0] podId=[0] clusterId=[null]
> message=[Management network CIDR is not configured originally. Set it
> default to 192.168.1.0/24].
>
> 2021-12-15 16:03:50,049 WARN [c.c.a.AlertManagerImpl] (main:ctx-216caf38)
> (logid:) No recipients set in ‘alert.email.addresses', skipping sending
> alert with subject: Management network CIDR is not configured originally.
> Set it default to 192.168.1.0/24 and content
>
> 2021-12-15 16:03:50,621 DEBUG [o.a.c.u.p.ProcessRunner] (main:ctx-216caf38)
> (logid:) Process standard error output command [/usr/bin/ipmitool -V]:
> 1.
>
> 2021-12-15 16:03:52,899 WARN [c.c.a.AlertManagerImpl]
> (Cluster-Notification-1:ctx-58de38df) (logid:873728ac) alertType=[14]
> dataCenterId=[0]
> podId=[0] clusterId=[null] message=[Management server node 192.168.1.2 is
> up]
>
> 2021-12-15 16:03:52,902 WARN [c.c.a.AlertManagerImpl]
> (Cluster-Notification-1:ctx-58de38df) (logid:873728ac) No recipients set in
> ‘alert.email.addresses', skipping sending alert with subject: Management
> server node 192.168.1.2 is up and content
>
> 2021-12-15 16:03:52,904 WARN [c.c.c.ClusterManagerImpl]
> (Cluster-Notification-1:ctx-58de38df) (logid:873728ac) Notifying management
> server join
> event took 5 ms
>
> 2021-12-15 16:08:49,989 WARN [c.c.r.ResourceLimitManagerImp1]
> (ResourceCountChecker-1:ctx-33b5ae9a) (logid:6b9750f5) Discrepancy in the
> resource
> count (original count=@ correct count = 13) for type template for account
> ID 1 is fixed during resource count recalculation
>
> 2021-12-15 16:26:10,492 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp2063763486-280:ctx-8bl7ae80 ctx-ec6e287b) (logid:de8lc60a) Received
> lunknown parameters for command listZones. Unknown parameters : Listall
>
> 2021-12-15 16:26:12,618 WARN [c.c.a.ApiServer]
> (qtp2063763486-23:ctx-d4c8c024 ctx-31d999d5) (logid:a791e160) Unknown API
> command
> ‘ListAndSwitchSamlAccount,
>
> 2021-12-15 16:27:30,630 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp2063763486-19:ctx-bc650704 ctx-406876c5) (logid:e5356cfc) Received
> lunknown parameters for command listHypervisors. Unknown parameters :
> listall
>
> 2021-12-15 16:32:16,813 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp2063763486-19:ctx-737d961c ctx-c9e3f387) (logid:4d99103f) Received
> unknown parameters for command addHost. Unknown parameters : clustertype
>
> 2021-12-15 16:42:40,336 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp2063763486-283:ctx-868ee423 ctx-746378f0) (logid:9e7aeb58) Received
> unknown parameters for command listHostsMetrics. Unknown parameters :
> listall
>
> 2021-12-15 16:43:38,311 WARN [c.c.a.d.ParamGenericValidationWorker]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Received
> unknown parameters for command addHost. Unknown parameters : clustertype
>
> 2021-12-15 16:43:38,314 WARN [c.c.h.k.d.LibvirtServerDiscoverer]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) can't setup
> agent, due to com.cloud.utils.exception.CloudRuntimeException: Skipping
> host 192.168.1.2 because 8a120ff3-e2c8-3713-b4d3-46d20f763ee7 is already
> lin the database for resource
> 8a120ff3-e2c8-3713-b4d3-46d20f763ee7-LibvirtComputingResource with ID
> ce710cal-5781-4a17-b4be-1619d537642e - Skipping
> host 192.168.1.2 because 8a120ff3-e2c8-3713-b4d3-46d20f763ee7 is already in
> the database for resource 8al120ff3-e2c8-3713-b4d3-46d20f763ee7-
> |LibvirtComputingResource with ID ce710cal-5781-4a17-b4be-1619d537642e
>
> 2021-12-15 16:43:38,314 WARN [c.c.r.ResourceManagerImpl]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to
> find the server
> resources at http://192.168.1.2
>
> 2021-12-15 16:43:38,314 INFO [c.c.u.e.CSExceptionErrorCode]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Could not
> find
> exception: com.cloud.exception.DiscoveryException in error code list for
> exceptions
>
> 2021-12-15 16:43:38,315 WARN [0.a.c.a.c.a.h.AddHostCmd]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Exception
> com. cloud.exception.DiscoveryException: Unable to add the host
>
> 2021-12-15 16:43:38,316 INFO [c.c.a.ApiServer]
> (qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to add
> the host
>
>
>
> On Mon, Dec 13, 2021 at 3:49 AM Daan Hoogland <da...@gmail.com>
> wrote:
>
> > Matthew,
> > none of your screenshots are accepted by the list-server. Can grep it in
> > text form?
> >
> > On Fri, Dec 10, 2021 at 6:38 PM Matthew Samani <sa...@montclair.edu>
> > wrote:
> >
> > > Hi Daan,
> > >
> > > You are correct. The gateway is not acting as a host. It just lets my
> > > other machine connect to the outside world.
> > >
> > > Also, you are correct that I am not using this as a production system.
> > > Next semester though, I plan on creating a Cloudstack setup with 10
> > > physical machines.
> > >
> > > Below is a screenshot of my management-server.log file during the time
> I
> > > tried to run the install. The top one (2021-12-7 14:13:20, 315) is
> where
> > I
> > > began the management setup on my browser. At the bottom of the first
> > > screenshot, I think that is where I tried to add a host from the
> > > Infrastructure tab.
> > >
> > > [image: image (4).png]
> > >
> > > On Fri, Dec 10, 2021 at 11:37 AM Daan Hoogland <
> daan.hoogland@gmail.com>
> > > wrote:
> > >
> > >> welcome Matt,
> > >> I'll take a while to read ;)
> > >>
> > >> When you call one machine the `gateway`, do you mean it is not acting
> > as a
> > >> host but as a gateway to the outside world, and only the machine with
> > the
> > >> management server is a host in the system?
> > >> Firewalls can be a pain, however the ports to open are really limited
> > and
> > >> it sounds like you are not talking about this as an architecture for a
> > >> production system, so it is alright to completely disable them.
> > >> During enabling the zone, do you see any issues in the management
> server
> > >> or
> > >> agent logs?
> > >>
> > >>
> > >> On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <
> samanim1@montclair.edu>
> > >> wrote:
> > >>
> > >> > Good Morning All,
> > >> >
> > >> > My name is Matt and I have just joined this mailing list. I
> apologize
> > in
> > >> > advance if this email becomes lengthy.
> > >> >
> > >> > I am new to working with Cloudstack and I have been trying to test
> out
> > >> the
> > >> > software a bit. I am trying to use the Quick Start guide provided by
> > >> > Cloudstack to get used to the general installation process and its
> > use.
> > >> > While there was a bit of a learning curve, I have reached all the
> way
> > to
> > >> > the end of the guide. To provide some information on my design, I am
> > >> using
> > >> > two CentOS VMs with one acting as the gateway and the other having
> the
> > >> > entire installation. I made sure to set Promiscuous Mode to Allow
> VMs
> > >> for
> > >> > both the gateway and client, provided enough computational
> resources,
> > >> > Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on
> both
> > >> the
> > >> > gateway and client, and followed every single step verbatim (using
> > >> > copy/paste as much as possible and making adjustments where needed).
> > >> >
> > >> > The only issue is that when I hit "Launch Zone" as one of the final
> > >> steps,
> > >> > it gets stuck on Adding Host. I do usually get a notification saying
> > >> that
> > >> > it cannot connect to the management server. This doesn't make as
> much
> > >> sense
> > >> > since it should be the same machine. I have included a screenshot of
> > >> where
> > >> > I got stuck, the link to the Quick Start guide, and the link to the
> > >> book I
> > >> > used for my gateway (go to page 118). Can anyone give me any
> > pointers? I
> > >> > have done the whole process twice and received the same results. I
> am
> > >> not
> > >> > sure if it would be the cause, however I want to note that I stopped
> > and
> > >> > disabled the firewall on the client, but the gateway's firewall is
> > >> still up
> > >> > and running. While I can see the firewall on the client possibly
> > causing
> > >> > issues, I am not sure about the gateway.
> > >> >
> > >> > [image: image (1).png]
> > >> >
> > >> >
> > >> > Quick Start Guide:
> > >> >
> > >>
> >
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
> > >> >
> > >> > Gateway: https://oiipdf.com/mastering-centos-7-linux-server
> > >> > --
> > >> > Regards,
> > >> >
> > >> > Matthew Joseph Samani
> > >> > Email: samanim1@montclair.edu
> > >> > Cell: 201-359-6077
> > >> >
> > >> >
> > >>
> > >> --
> > >> Daan
> > >>
> > >
> > >
> > > --
> > > Regards,
> > >
> > > Matthew Joseph Samani
> > > Email: samanim1@montclair.edu
> > > Cell: 201-359-6077
> > >
> > >
> >
> > --
> > Daan
> >
>
>
> --
> Regards,
>
> Matthew Joseph Samani
> Email: samanim1@montclair.edu
> Cell: 201-359-6077
>


-- 
Daan

Re: Issue with Quick Start Guide

Posted by Matthew Samani <sa...@montclair.edu>.
Daan,

Sorry for the delay. I am in school and I am juggling multiple classes.
Since I am having issues installing guest additions on VirtualBox, I tried
a workaround to get the wall of text from VirtualBox. It isn't perfect but
I corrected what I was able to find. SIDE NOTE: This is an error log from
today after trying a fresh install from scratch.

21-12-15 16:03:34,507 WARN [c.c.u.systemVmTemplateRegistration]
(main:nullt) (togid:) 4.16.0 LAC SystemVm template not Tound. Cannot upgrade
system Vms hypervisor is not used, so not failing upgrade

2021-12-15 16:03:34,808 WARN [c.c.u.SystemVmTemplateRegistration]
(main:null) (logid:) 4.16.0 Hyperv SystemVm template not found. Cannot
upgrade
system Vms hypervisor is not used, so not failing upgrade

2021-12-15 16:03:34,810 WARN [c.c.u.SystemVmTemplateRegistration]
(main:null) (logid:) 4.16.0 Ovm3 SystemVm template not found. Cannot upgrade
system Vms hypervisor is not used, so not failing upgrade

2021-12-15 16:03:34,811 WARN [c.c.u.SystemVmTemplateRegistration]
(main:null) (logid:) 4.16.0 KVM SystemVm template not found. Cannot upgrade
system Vms hypervisor is not used, so not failing upgrade

2021-12-15 16:03:34,812 WARN [c.c.u.SystemVmTemplateRegistration]
(main:null) (logid:) 4.16.0 VMware SystemVm template not found. Cannot
upgrade
system Vms hypervisor is not used, so not failing upgrade

2021-12-15 16:03:44,160 WARN [c.c.s.d.DownloadMonitorImpl] (main:null)
(Llogid:) Only realhostip.com ssl cert is supported, ignoring self-signed
and other certs

2021-12-15 16:03:44,186 DEBUG [o.a.c.u.m.SMTPMailSender] (main:null)
(logid:) Unable to instantiate SMTP mail session due to empty or null host
2021-12-15 16:03:44,233 DEBUG [o.a.c.u.m.SMTPMailsender] (main:null)
(logid:) Unable to instantiate SMTP mail session due to empty or null host
2021-12-15 16:03:44,954 ERROR [c.c.u.PropertiesUtil] (main:null) (logid:)
Unable to find properties file: commands.properties
2021-12-15 16:03:45,415 DEBUG [o.a.c.u.m.SMTPMailsender] (main:null)
(logid:) Unable to instantiate SMTP mail session due to empty or null host
2021-12-15 16:03:49,759 INFO [c.c.h.x.r.XenServerConnectionPool]
(main:null) (logid:) XenServer Connection Pool Configs
sleep. interval.on.error=10000
2021-12-15 16:03:50,037 WARN [c.c.c.ConfigurationManagerImpl]
(main:ctx-216caf38) (Logid:) Management network CIDR is not configured
originally
Set it default to 192.168.1.0/24

2021-12-15 16:03:50,039 WARN [c.c.a.AlertManagerImpl] (main:ctx-216caf38)
(logid:) alertType=[14] dataCenterId=[0] podId=[0] clusterId=[null]
message=[Management network CIDR is not configured originally. Set it
default to 192.168.1.0/24].

2021-12-15 16:03:50,049 WARN [c.c.a.AlertManagerImpl] (main:ctx-216caf38)
(logid:) No recipients set in ‘alert.email.addresses', skipping sending
alert with subject: Management network CIDR is not configured originally.
Set it default to 192.168.1.0/24 and content

2021-12-15 16:03:50,621 DEBUG [o.a.c.u.p.ProcessRunner] (main:ctx-216caf38)
(logid:) Process standard error output command [/usr/bin/ipmitool -V]:
1.

2021-12-15 16:03:52,899 WARN [c.c.a.AlertManagerImpl]
(Cluster-Notification-1:ctx-58de38df) (logid:873728ac) alertType=[14]
dataCenterId=[0]
podId=[0] clusterId=[null] message=[Management server node 192.168.1.2 is
up]

2021-12-15 16:03:52,902 WARN [c.c.a.AlertManagerImpl]
(Cluster-Notification-1:ctx-58de38df) (logid:873728ac) No recipients set in
‘alert.email.addresses', skipping sending alert with subject: Management
server node 192.168.1.2 is up and content

2021-12-15 16:03:52,904 WARN [c.c.c.ClusterManagerImpl]
(Cluster-Notification-1:ctx-58de38df) (logid:873728ac) Notifying management
server join
event took 5 ms

2021-12-15 16:08:49,989 WARN [c.c.r.ResourceLimitManagerImp1]
(ResourceCountChecker-1:ctx-33b5ae9a) (logid:6b9750f5) Discrepancy in the
resource
count (original count=@ correct count = 13) for type template for account
ID 1 is fixed during resource count recalculation

2021-12-15 16:26:10,492 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp2063763486-280:ctx-8bl7ae80 ctx-ec6e287b) (logid:de8lc60a) Received
lunknown parameters for command listZones. Unknown parameters : Listall

2021-12-15 16:26:12,618 WARN [c.c.a.ApiServer]
(qtp2063763486-23:ctx-d4c8c024 ctx-31d999d5) (logid:a791e160) Unknown API
command
‘ListAndSwitchSamlAccount,

2021-12-15 16:27:30,630 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp2063763486-19:ctx-bc650704 ctx-406876c5) (logid:e5356cfc) Received
lunknown parameters for command listHypervisors. Unknown parameters :
listall

2021-12-15 16:32:16,813 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp2063763486-19:ctx-737d961c ctx-c9e3f387) (logid:4d99103f) Received
unknown parameters for command addHost. Unknown parameters : clustertype

2021-12-15 16:42:40,336 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp2063763486-283:ctx-868ee423 ctx-746378f0) (logid:9e7aeb58) Received
unknown parameters for command listHostsMetrics. Unknown parameters :
listall

2021-12-15 16:43:38,311 WARN [c.c.a.d.ParamGenericValidationWorker]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Received
unknown parameters for command addHost. Unknown parameters : clustertype

2021-12-15 16:43:38,314 WARN [c.c.h.k.d.LibvirtServerDiscoverer]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) can't setup
agent, due to com.cloud.utils.exception.CloudRuntimeException: Skipping
host 192.168.1.2 because 8a120ff3-e2c8-3713-b4d3-46d20f763ee7 is already
lin the database for resource
8a120ff3-e2c8-3713-b4d3-46d20f763ee7-LibvirtComputingResource with ID
ce710cal-5781-4a17-b4be-1619d537642e - Skipping
host 192.168.1.2 because 8a120ff3-e2c8-3713-b4d3-46d20f763ee7 is already in
the database for resource 8al120ff3-e2c8-3713-b4d3-46d20f763ee7-
|LibvirtComputingResource with ID ce710cal-5781-4a17-b4be-1619d537642e

2021-12-15 16:43:38,314 WARN [c.c.r.ResourceManagerImpl]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to
find the server
resources at http://192.168.1.2

2021-12-15 16:43:38,314 INFO [c.c.u.e.CSExceptionErrorCode]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Could not find
exception: com.cloud.exception.DiscoveryException in error code list for
exceptions

2021-12-15 16:43:38,315 WARN [0.a.c.a.c.a.h.AddHostCmd]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Exception
com. cloud.exception.DiscoveryException: Unable to add the host

2021-12-15 16:43:38,316 INFO [c.c.a.ApiServer]
(qtp2063763486-20:ctx-2f042107 ctx-2b5727cd) (logid:e72c2de3) Unable to add
the host



On Mon, Dec 13, 2021 at 3:49 AM Daan Hoogland <da...@gmail.com>
wrote:

> Matthew,
> none of your screenshots are accepted by the list-server. Can grep it in
> text form?
>
> On Fri, Dec 10, 2021 at 6:38 PM Matthew Samani <sa...@montclair.edu>
> wrote:
>
> > Hi Daan,
> >
> > You are correct. The gateway is not acting as a host. It just lets my
> > other machine connect to the outside world.
> >
> > Also, you are correct that I am not using this as a production system.
> > Next semester though, I plan on creating a Cloudstack setup with 10
> > physical machines.
> >
> > Below is a screenshot of my management-server.log file during the time I
> > tried to run the install. The top one (2021-12-7 14:13:20, 315) is where
> I
> > began the management setup on my browser. At the bottom of the first
> > screenshot, I think that is where I tried to add a host from the
> > Infrastructure tab.
> >
> > [image: image (4).png]
> >
> > On Fri, Dec 10, 2021 at 11:37 AM Daan Hoogland <da...@gmail.com>
> > wrote:
> >
> >> welcome Matt,
> >> I'll take a while to read ;)
> >>
> >> When you call one machine the `gateway`, do you mean it is not acting
> as a
> >> host but as a gateway to the outside world, and only the machine with
> the
> >> management server is a host in the system?
> >> Firewalls can be a pain, however the ports to open are really limited
> and
> >> it sounds like you are not talking about this as an architecture for a
> >> production system, so it is alright to completely disable them.
> >> During enabling the zone, do you see any issues in the management server
> >> or
> >> agent logs?
> >>
> >>
> >> On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <sa...@montclair.edu>
> >> wrote:
> >>
> >> > Good Morning All,
> >> >
> >> > My name is Matt and I have just joined this mailing list. I apologize
> in
> >> > advance if this email becomes lengthy.
> >> >
> >> > I am new to working with Cloudstack and I have been trying to test out
> >> the
> >> > software a bit. I am trying to use the Quick Start guide provided by
> >> > Cloudstack to get used to the general installation process and its
> use.
> >> > While there was a bit of a learning curve, I have reached all the way
> to
> >> > the end of the guide. To provide some information on my design, I am
> >> using
> >> > two CentOS VMs with one acting as the gateway and the other having the
> >> > entire installation. I made sure to set Promiscuous Mode to Allow VMs
> >> for
> >> > both the gateway and client, provided enough computational resources,
> >> > Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both
> >> the
> >> > gateway and client, and followed every single step verbatim (using
> >> > copy/paste as much as possible and making adjustments where needed).
> >> >
> >> > The only issue is that when I hit "Launch Zone" as one of the final
> >> steps,
> >> > it gets stuck on Adding Host. I do usually get a notification saying
> >> that
> >> > it cannot connect to the management server. This doesn't make as much
> >> sense
> >> > since it should be the same machine. I have included a screenshot of
> >> where
> >> > I got stuck, the link to the Quick Start guide, and the link to the
> >> book I
> >> > used for my gateway (go to page 118). Can anyone give me any
> pointers? I
> >> > have done the whole process twice and received the same results. I am
> >> not
> >> > sure if it would be the cause, however I want to note that I stopped
> and
> >> > disabled the firewall on the client, but the gateway's firewall is
> >> still up
> >> > and running. While I can see the firewall on the client possibly
> causing
> >> > issues, I am not sure about the gateway.
> >> >
> >> > [image: image (1).png]
> >> >
> >> >
> >> > Quick Start Guide:
> >> >
> >>
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
> >> >
> >> > Gateway: https://oiipdf.com/mastering-centos-7-linux-server
> >> > --
> >> > Regards,
> >> >
> >> > Matthew Joseph Samani
> >> > Email: samanim1@montclair.edu
> >> > Cell: 201-359-6077
> >> >
> >> >
> >>
> >> --
> >> Daan
> >>
> >
> >
> > --
> > Regards,
> >
> > Matthew Joseph Samani
> > Email: samanim1@montclair.edu
> > Cell: 201-359-6077
> >
> >
>
> --
> Daan
>


-- 
Regards,

Matthew Joseph Samani
Email: samanim1@montclair.edu
Cell: 201-359-6077

Re: Issue with Quick Start Guide

Posted by Daan Hoogland <da...@gmail.com>.
Matthew,
none of your screenshots are accepted by the list-server. Can grep it in
text form?

On Fri, Dec 10, 2021 at 6:38 PM Matthew Samani <sa...@montclair.edu>
wrote:

> Hi Daan,
>
> You are correct. The gateway is not acting as a host. It just lets my
> other machine connect to the outside world.
>
> Also, you are correct that I am not using this as a production system.
> Next semester though, I plan on creating a Cloudstack setup with 10
> physical machines.
>
> Below is a screenshot of my management-server.log file during the time I
> tried to run the install. The top one (2021-12-7 14:13:20, 315) is where I
> began the management setup on my browser. At the bottom of the first
> screenshot, I think that is where I tried to add a host from the
> Infrastructure tab.
>
> [image: image (4).png]
>
> On Fri, Dec 10, 2021 at 11:37 AM Daan Hoogland <da...@gmail.com>
> wrote:
>
>> welcome Matt,
>> I'll take a while to read ;)
>>
>> When you call one machine the `gateway`, do you mean it is not acting as a
>> host but as a gateway to the outside world, and only the machine with the
>> management server is a host in the system?
>> Firewalls can be a pain, however the ports to open are really limited and
>> it sounds like you are not talking about this as an architecture for a
>> production system, so it is alright to completely disable them.
>> During enabling the zone, do you see any issues in the management server
>> or
>> agent logs?
>>
>>
>> On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <sa...@montclair.edu>
>> wrote:
>>
>> > Good Morning All,
>> >
>> > My name is Matt and I have just joined this mailing list. I apologize in
>> > advance if this email becomes lengthy.
>> >
>> > I am new to working with Cloudstack and I have been trying to test out
>> the
>> > software a bit. I am trying to use the Quick Start guide provided by
>> > Cloudstack to get used to the general installation process and its use.
>> > While there was a bit of a learning curve, I have reached all the way to
>> > the end of the guide. To provide some information on my design, I am
>> using
>> > two CentOS VMs with one acting as the gateway and the other having the
>> > entire installation. I made sure to set Promiscuous Mode to Allow VMs
>> for
>> > both the gateway and client, provided enough computational resources,
>> > Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both
>> the
>> > gateway and client, and followed every single step verbatim (using
>> > copy/paste as much as possible and making adjustments where needed).
>> >
>> > The only issue is that when I hit "Launch Zone" as one of the final
>> steps,
>> > it gets stuck on Adding Host. I do usually get a notification saying
>> that
>> > it cannot connect to the management server. This doesn't make as much
>> sense
>> > since it should be the same machine. I have included a screenshot of
>> where
>> > I got stuck, the link to the Quick Start guide, and the link to the
>> book I
>> > used for my gateway (go to page 118). Can anyone give me any pointers? I
>> > have done the whole process twice and received the same results. I am
>> not
>> > sure if it would be the cause, however I want to note that I stopped and
>> > disabled the firewall on the client, but the gateway's firewall is
>> still up
>> > and running. While I can see the firewall on the client possibly causing
>> > issues, I am not sure about the gateway.
>> >
>> > [image: image (1).png]
>> >
>> >
>> > Quick Start Guide:
>> >
>> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
>> >
>> > Gateway: https://oiipdf.com/mastering-centos-7-linux-server
>> > --
>> > Regards,
>> >
>> > Matthew Joseph Samani
>> > Email: samanim1@montclair.edu
>> > Cell: 201-359-6077
>> >
>> >
>>
>> --
>> Daan
>>
>
>
> --
> Regards,
>
> Matthew Joseph Samani
> Email: samanim1@montclair.edu
> Cell: 201-359-6077
>
>

-- 
Daan

Re: Issue with Quick Start Guide

Posted by Matthew Samani <sa...@montclair.edu>.
Hi Daan,

You are correct. The gateway is not acting as a host. It just lets my other
machine connect to the outside world.

Also, you are correct that I am not using this as a production system. Next
semester though, I plan on creating a Cloudstack setup with 10 physical
machines.

Below is a screenshot of my management-server.log file during the time I
tried to run the install. The top one (2021-12-7 14:13:20, 315) is where I
began the management setup on my browser. At the bottom of the first
screenshot, I think that is where I tried to add a host from the
Infrastructure tab.

[image: image (4).png]

On Fri, Dec 10, 2021 at 11:37 AM Daan Hoogland <da...@gmail.com>
wrote:

> welcome Matt,
> I'll take a while to read ;)
>
> When you call one machine the `gateway`, do you mean it is not acting as a
> host but as a gateway to the outside world, and only the machine with the
> management server is a host in the system?
> Firewalls can be a pain, however the ports to open are really limited and
> it sounds like you are not talking about this as an architecture for a
> production system, so it is alright to completely disable them.
> During enabling the zone, do you see any issues in the management server or
> agent logs?
>
>
> On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <sa...@montclair.edu>
> wrote:
>
> > Good Morning All,
> >
> > My name is Matt and I have just joined this mailing list. I apologize in
> > advance if this email becomes lengthy.
> >
> > I am new to working with Cloudstack and I have been trying to test out
> the
> > software a bit. I am trying to use the Quick Start guide provided by
> > Cloudstack to get used to the general installation process and its use.
> > While there was a bit of a learning curve, I have reached all the way to
> > the end of the guide. To provide some information on my design, I am
> using
> > two CentOS VMs with one acting as the gateway and the other having the
> > entire installation. I made sure to set Promiscuous Mode to Allow VMs for
> > both the gateway and client, provided enough computational resources,
> > Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both
> the
> > gateway and client, and followed every single step verbatim (using
> > copy/paste as much as possible and making adjustments where needed).
> >
> > The only issue is that when I hit "Launch Zone" as one of the final
> steps,
> > it gets stuck on Adding Host. I do usually get a notification saying that
> > it cannot connect to the management server. This doesn't make as much
> sense
> > since it should be the same machine. I have included a screenshot of
> where
> > I got stuck, the link to the Quick Start guide, and the link to the book
> I
> > used for my gateway (go to page 118). Can anyone give me any pointers? I
> > have done the whole process twice and received the same results. I am not
> > sure if it would be the cause, however I want to note that I stopped and
> > disabled the firewall on the client, but the gateway's firewall is still
> up
> > and running. While I can see the firewall on the client possibly causing
> > issues, I am not sure about the gateway.
> >
> > [image: image (1).png]
> >
> >
> > Quick Start Guide:
> >
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
> >
> > Gateway: https://oiipdf.com/mastering-centos-7-linux-server
> > --
> > Regards,
> >
> > Matthew Joseph Samani
> > Email: samanim1@montclair.edu
> > Cell: 201-359-6077
> >
> >
>
> --
> Daan
>


-- 
Regards,

Matthew Joseph Samani
Email: samanim1@montclair.edu
Cell: 201-359-6077

Re: Issue with Quick Start Guide

Posted by Daan Hoogland <da...@gmail.com>.
welcome Matt,
I'll take a while to read ;)

When you call one machine the `gateway`, do you mean it is not acting as a
host but as a gateway to the outside world, and only the machine with the
management server is a host in the system?
Firewalls can be a pain, however the ports to open are really limited and
it sounds like you are not talking about this as an architecture for a
production system, so it is alright to completely disable them.
During enabling the zone, do you see any issues in the management server or
agent logs?


On Fri, Dec 10, 2021 at 5:27 PM Matthew Samani <sa...@montclair.edu>
wrote:

> Good Morning All,
>
> My name is Matt and I have just joined this mailing list. I apologize in
> advance if this email becomes lengthy.
>
> I am new to working with Cloudstack and I have been trying to test out the
> software a bit. I am trying to use the Quick Start guide provided by
> Cloudstack to get used to the general installation process and its use.
> While there was a bit of a learning curve, I have reached all the way to
> the end of the guide. To provide some information on my design, I am using
> two CentOS VMs with one acting as the gateway and the other having the
> entire installation. I made sure to set Promiscuous Mode to Allow VMs for
> both the gateway and client, provided enough computational resources,
> Enabled Nested VT-x/AMD-V, stopped and disabled NetworkManager on both the
> gateway and client, and followed every single step verbatim (using
> copy/paste as much as possible and making adjustments where needed).
>
> The only issue is that when I hit "Launch Zone" as one of the final steps,
> it gets stuck on Adding Host. I do usually get a notification saying that
> it cannot connect to the management server. This doesn't make as much sense
> since it should be the same machine. I have included a screenshot of where
> I got stuck, the link to the Quick Start guide, and the link to the book I
> used for my gateway (go to page 118). Can anyone give me any pointers? I
> have done the whole process twice and received the same results. I am not
> sure if it would be the cause, however I want to note that I stopped and
> disabled the firewall on the client, but the gateway's firewall is still up
> and running. While I can see the firewall on the client possibly causing
> issues, I am not sure about the gateway.
>
> [image: image (1).png]
>
>
> Quick Start Guide:
> http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html
>
> Gateway: https://oiipdf.com/mastering-centos-7-linux-server
> --
> Regards,
>
> Matthew Joseph Samani
> Email: samanim1@montclair.edu
> Cell: 201-359-6077
>
>

-- 
Daan