Re: Secondary storage doesn't work

2021-07-20 Thread Darrin Hüsselmann
Hi Andy,

Make sure when you navigate to Infrastructure -> System VMs, you have statuses 
of Running and Up.

Also, check if you can navigate to the "https://; IP address of the Secondary 
storage VM from your browser before uploading from local.

Regards,
Darrin


From: Andy Nguyen 
Sent: Tuesday, July 20, 2021 6:24 AM
To: users@cloudstack.apache.org 
Subject: Re: Secondary storage doesn't work

The host value has the correct IP so I didn't make any changes there.
I did some Googling and found someone mentioning uploading need to happen over 
https rather than http, so I switched to https, still no luck.
Checking the log, it says something about unable to find matched VM for 
management VM in CloudStack DB
The ISO info is registering though, so now I have several items on the list of 
ISOs, but none of it actually point to an actual ISO file, so I can't delete 
them from the UI either, but that's least of my concern right now.
Very tempted to redo everything once more to see if I can make it work... 
Dreading the outdated list of dependencies though...

On 2021/07/19 07:03:46, Darrin Hüsselmann  
wrote:
> Hi Andy,
>
> No worries, have a look at what is set in the global variable "host". You can 
> find global variables by going to Configuration -> Global Settings. You can 
> use the search field to narrow down the options. If you must make a change 
> there, try destroying the system VMs after changing the setting.
>
> Cheers,
> Darrin
>
> 
> From: Andy Nguyen 
> Sent: Monday, July 19, 2021 4:55 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Secondary storage doesn't work
>
> First off, sorry for the dup post. 2nd, sorry for the late reply, and 3rd, my 
> apologies for being such an idiot. I found that I missed the system VM 
> template step completely in all the times I go through the steps.
>
> That said, I got the system VM up, and now getting different error, that it 
> can't find the server. I checked the log, it says it can't resolve the server 
> name I provided, which is odd. I made sure the name resolves through the DNS, 
> I also made the entry in host file on the management VM, host machine, and my 
> own. There's no problem resolving the name from CLI. The only place I haven't 
> done anything is the system VM that's created from template, but logically it 
> should just pull from DNS on the network, right?
>
> On 2021/07/14 11:16:46, Darrin Hüsselmann  
> wrote:
> > Hi Andy,
> >
> > I agree with Ed.
> >
> > The error you are receiving means the Secondary Storage System VM has not 
> > started and is not in the correct state to download the iso.
> >
> > Cloudstack needs to start two System VMs for it to be operational, Console 
> > Proxy VM and Secondary Storage VM. But before it can do that, it needs a 
> > template to build the VMs from.
> >
> > You must execute the script from the management server that will upload the 
> > correct system VM template to your secondary storage first before the SSVM 
> > and CPVM can be started. Only then will you be able to register an iso.
> >
> > https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template
> >
> > You can find the Cloudstack logs under
> >
> > /var/log/cloudstack/
> >
> > Regards
> > Darrin
> > 
> > From: Edward St Pierre 
> > Sent: Wednesday, July 14, 2021 12:38 PM
> > To: users@cloudstack.apache.org 
> > Subject: Re: Secondary storage doesn't work
> >
> > Hi Andy,
> >
> > Have you prepared the system VM template?
> >
> > Ed
> >
> >
> >
> >
>
>
>
> 
 

> On Wed, 14 Jul 2021 at 11:32, Andy Nguyen  wrote:
> >
> > > Short version: identical nfs export for primary and secondary. Primary
> > > works fine, secondary mounts but doesn't write.
> > >
> > > Long version:
> > > I asked this on reddit
> > > https://www.reddit.com/r/cloudstack/comments/o8rbsb/secondary_storage_help_please/
> > > but didn't get much light on the matter.
> > > Hypervisor host: Alma Linux + QEMU KVM + Cloudstack Agent + nfsd
> > > Start a VM, also run Alma Linux + Cloudstack Management.
> > >
> > > Mount both primary and secondary via the web interface, that completed
> > > without error.
> > > Went and add ISO and I got "Request Failed (530) There is no secondary
> > > storage VM for downloading template to image store Secondary"
> > >
> > > I can manually mount the NFS shares and read/write to it from inside the
> > > VM without problem, so it's clearly not NFS nor permission problem.
> > >
> > > Any help on where I may start with troubleshooting? What log should I be
> > > looking at?
> > >
> >
>


Re: Secondary storage doesn't work

2021-07-19 Thread Darrin Hüsselmann
Hi Andy,

No worries, have a look at what is set in the global variable "host". You can 
find global variables by going to Configuration -> Global Settings. You can use 
the search field to narrow down the options. If you must make a change there, 
try destroying the system VMs after changing the setting.

Cheers,
Darrin


From: Andy Nguyen 
Sent: Monday, July 19, 2021 4:55 AM
To: users@cloudstack.apache.org 
Subject: Re: Secondary storage doesn't work

First off, sorry for the dup post. 2nd, sorry for the late reply, and 3rd, my 
apologies for being such an idiot. I found that I missed the system VM template 
step completely in all the times I go through the steps.

That said, I got the system VM up, and now getting different error, that it 
can't find the server. I checked the log, it says it can't resolve the server 
name I provided, which is odd. I made sure the name resolves through the DNS, I 
also made the entry in host file on the management VM, host machine, and my 
own. There's no problem resolving the name from CLI. The only place I haven't 
done anything is the system VM that's created from template, but logically it 
should just pull from DNS on the network, right?

On 2021/07/14 11:16:46, Darrin Hüsselmann  
wrote:
> Hi Andy,
>
> I agree with Ed.
>
> The error you are receiving means the Secondary Storage System VM has not 
> started and is not in the correct state to download the iso.
>
> Cloudstack needs to start two System VMs for it to be operational, Console 
> Proxy VM and Secondary Storage VM. But before it can do that, it needs a 
> template to build the VMs from.
>
> You must execute the script from the management server that will upload the 
> correct system VM template to your secondary storage first before the SSVM 
> and CPVM can be started. Only then will you be able to register an iso.
>
> https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template
>
> You can find the Cloudstack logs under
>
> /var/log/cloudstack/
>
> Regards
> Darrin
> 
> From: Edward St Pierre 
> Sent: Wednesday, July 14, 2021 12:38 PM
> To: users@cloudstack.apache.org 
> Subject: Re: Secondary storage doesn't work
>
> Hi Andy,
>
> Have you prepared the system VM template?
>
> Ed
>
>
>
>

 

> On Wed, 14 Jul 2021 at 11:32, Andy Nguyen  wrote:
>
> > Short version: identical nfs export for primary and secondary. Primary
> > works fine, secondary mounts but doesn't write.
> >
> > Long version:
> > I asked this on reddit
> > https://www.reddit.com/r/cloudstack/comments/o8rbsb/secondary_storage_help_please/
> > but didn't get much light on the matter.
> > Hypervisor host: Alma Linux + QEMU KVM + Cloudstack Agent + nfsd
> > Start a VM, also run Alma Linux + Cloudstack Management.
> >
> > Mount both primary and secondary via the web interface, that completed
> > without error.
> > Went and add ISO and I got "Request Failed (530) There is no secondary
> > storage VM for downloading template to image store Secondary"
> >
> > I can manually mount the NFS shares and read/write to it from inside the
> > VM without problem, so it's clearly not NFS nor permission problem.
> >
> > Any help on where I may start with troubleshooting? What log should I be
> > looking at?
> >
>


Re: Secondary storage doesn't work

2021-07-14 Thread Darrin Hüsselmann
Hi Andy,

I agree with Ed.

The error you are receiving means the Secondary Storage System VM has not 
started and is not in the correct state to download the iso.

Cloudstack needs to start two System VMs for it to be operational, Console 
Proxy VM and Secondary Storage VM. But before it can do that, it needs a 
template to build the VMs from.

You must execute the script from the management server that will upload the 
correct system VM template to your secondary storage first before the SSVM and 
CPVM can be started. Only then will you be able to register an iso.

https://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template

You can find the Cloudstack logs under

/var/log/cloudstack/

Regards
Darrin

From: Edward St Pierre 
Sent: Wednesday, July 14, 2021 12:38 PM
To: users@cloudstack.apache.org 
Subject: Re: Secondary storage doesn't work

Hi Andy,

Have you prepared the system VM template?

Ed


 

On Wed, 14 Jul 2021 at 11:32, Andy Nguyen  wrote:

> Short version: identical nfs export for primary and secondary. Primary
> works fine, secondary mounts but doesn't write.
>
> Long version:
> I asked this on reddit
> https://www.reddit.com/r/cloudstack/comments/o8rbsb/secondary_storage_help_please/
> but didn't get much light on the matter.
> Hypervisor host: Alma Linux + QEMU KVM + Cloudstack Agent + nfsd
> Start a VM, also run Alma Linux + Cloudstack Management.
>
> Mount both primary and secondary via the web interface, that completed
> without error.
> Went and add ISO and I got "Request Failed (530) There is no secondary
> storage VM for downloading template to image store Secondary"
>
> I can manually mount the NFS shares and read/write to it from inside the
> VM without problem, so it's clearly not NFS nor permission problem.
>
> Any help on where I may start with troubleshooting? What log should I be
> looking at?
>


Re: Private IP network Issues.

2021-07-09 Thread Darrin Hüsselmann
Hi John

For any traffic to leave your network, you need to have a router, I think in 
your case you are switching off the router, so there is no way for traffic to 
leave the network.

If you specifying a /24 subnet, all devices in the range of 192.168.1.1 - 
192.168.1.255 would be able to communicate with each other, but as soon as any 
of them needs to go to any other IP outside of the range, it will try to go via 
the router.

Regards

Darrin

On 2021/07/09 12:09:42, John  wrote:
> We have some issues we need help with.>
>
> It seems that when setting up the private network ( 192.168.1.0/24 ) which 
> has no internet access the deployment fails and the systemvms agent do not 
> start.>

> However, if I turn on my pfsense box which uses this subnet the deployment is 
> successful.>
>
> Our private IP uses gateway of 192.168.1.1 which is the LAN of the pfsense 
> box.>
>
> Naturally we do not want to rely on pfsense so is there a way to configure 
> the private IP network to use the default route to get internet access. I 
> though IP forwarding would work but am afraid it will mess with the host.>

>
> Any configuration help would be great.>

 



Re: [PROPOSE] RM for CloudMonkey v6.2.0

2021-07-09 Thread Darrin Hüsselmann
+1
Regards
Darrin

On 2021/07/09 05:21:44, Pearl d'Silva  wrote:
> Hi All,>
>
> I'd like to put myself forward as the release manager for CloudMonkey 6.2.0.>
>
> Our last release was almost a year ago, and since then we've had a few minor 
> fixes that have gone in, and it seems about the right time to have the next 
> release for CloudMonkey. There are a few open issues triaged for the 6.2.0 
> milestone: https://github.com/apache/cloudstack-cloudmonkey/milestone/3. If 
> you'll do encounter any further issues, please do report them at 
> https://github.com/apache/cloudstack-cloudmonkey/issues.>

>
>
> I hope to have your support.>
>
> Thanks,>
> Pearl Dsilva>
>
>
>  >
>
>

 



Re: HA State: Ineligible

2021-07-07 Thread Darrin Hüsselmann
Hi Jeremy,
I remember seeing this is the documentation, the section about Host HA, is just 
a duplication of VM HA. I think this was copied and pasted in error by the 
author.
For Host HA to work, you would need at least 3 hosts, all with Out of band 
management enabled.
Regards
Darrin


On 2021/06/11 09:03:03, Jeremy Hansen  wrote:
>
> I'm trying to play with HA.  I've enabled it via the interface but the HA 
> state is labeled as Ineligible.>
>
> I'm specifically interested in this:>
>
> HA for Hosts>
>
> The user can specify a virtual machine as HA-enabled. By default, all virtual 
> router VMs and Elastic Load Balancing VMs are automatically configured as 
> HA-enabled. When an HA-enabled VM crashes, CloudStack detects the crash and 
> restarts the VM automatically within the same Availability Zone. HA is never 
> performed across different Availability Zones. CloudStack has a conservative 
> policy towards restarting VMs and ensures that there will never be two 
> instances of the same VM running at the same time. The Management Server 
> attempts to start the VM on another Host in the same cluster.>

>
>
> My assumption is if a VM Host dies, whatever guests that were running on that 
> host would automatically move to an available VM host.  Maybe I'm 
> misinterpreting.>

>
> Thanks>
> -jeremy>
>

 



Re: [PROPOSE] RM for 4.16

2021-07-07 Thread Darrin Hüsselmann
You have my approval Nicolas,
Regards
Darrin

On 2021/06/23 13:32:50, Nicolas Vazquez  wrote:
> Dear All,>
>
> I'd like to put myself forward as the release manager for 4.16.0.0 and my 
> colleagues Suresh Anaparti and Rohit Yadav as the co-RMs.>

>
> For 4.16.0.0 my colleague Suresh will assist me during the process for 
> reviewing/testing/merging the PRs, others will be welcome to support as well.>

>
> I propose we have a window of at least 8 weeks (2 months) to allow community 
> and users to test and report issues and aim to cut RC1 in Q3 2021 (September 
> or onwards). I'll propose timeline and details by the end of July.>

>
> I hope to have your support. Any thoughts, feedback, comments? Thanks.>
>
>
> Regards,>
>
> Nicolas Vazquez>
>
>  >
>
>

 



Re: Scoping service offerings to individual accounts

2021-06-28 Thread Darrin Hüsselmann
Hi Rudi,

I think this would require some code changes, currently the 
createServiceOffering and listServiceOffering API doesn’t support account.

Regards
Darrin

On 2021/06/06 06:26:13, Rudraksh MK  wrote:
> Hello,>
>
> Something I’ve been thinking about for a while - how do you go about 
> restricting the use of a service offering to an individual account? One 
> option that seems the most obvious is creating a separate domain for an 
> account, and scoping a service offering - or a set of them - to that domain. 
> But I feel that can mean lots of individual domains in the long run.>
>
> I was wondering how others are thinking about this scenario - or dealing with 
> it without writing a ton of wrappers on top?>
> Thanks!>
>
> Best,>
>
> Rudi.>
>
Sent from Mail for Windows 10



Re: Problem list Host on UI. CloudStack 4.15.

2021-05-12 Thread Darrin Hüsselmann
Sorry, not UI, this is a backend issue.

Cheers
Darrin

From: Darrin Hüsselmann 
Sent: Wednesday, May 12, 2021 3:08 PM
To: users@cloudstack.apache.org 
Subject: Re: Problem list Host on UI. CloudStack 4.15.

Hi Kalil,

This is a known issue with the new UI related to listing hosts when using 
certain locales.

This issue has been addressed and will be in the next version.

https://github.com/apache/cloudstack/issues/4733

Cheers
Darrin

From: Kalil de Albuquerque Carvalho 
Sent: Wednesday, May 12, 2021 3:00 PM
To: users@cloudstack.apache.org 
Subject: Problem list Host on UI. CloudStack 4.15.

Hello all.

I'm knew using CloudStack, the project in my company it is to use it for
professional propose. The problem is that I'm trying a fresh install and
after every think is working, when I put the first host, the UI starts
to show me a error, "Request Failed (413) For input string" and some
numbers. On the page appear "404 Not Found.". On the management.log just
show a warning:

*"WARN  [c.c.a.d.ParamGenericValidationWorker]
(qtp769798433-319:ctx-fcef6a8b ctx-0321de05) (logid:2aeb6cc1) Received
unknown parameters for command listHostsMetrics. Unknown parameters :
listall"*

Research on the lists I found the following instruction:

"add.host.on.service.restart.kvm" to "false"

I tried, restarted even the whole serve, but not working.

Here my environment:

The management:

 Distro: CentOS 7.9.2009 (Core)

 Kernel: 3.10.0-1160.25.1.el7.x86_64

 CloudStack packages: cloudstack-common.x86_64 and
cloudstack-management.x86_64 both on the version 4.15.0.0-1.el7

 MySQL Server: mysql-community-client.x86_64
mysql-community-common.x86_64 mysql-community-libs.x86_64
mysql-community-server.x86_64 mysql-connector-python.x86_64, all on the
version 5.6.51-2.el7 and mysql-community-release.noarch version el7-5

 Java: java-11-openjdk.x86_64, just have this installed

The hosts

Distro: CentOS 7.9.2009 (Core)

 Kernel: 3.10.0-1160.25.1.el7.x86_64

 CloudStack packages: cloudstack-agent.x86_64 and
cloudstack-common.x86_64 both on the version 4.15.0.0-1.el7

 Java: java-11-openjdk.x86_64, just have this installed

Is there any one how has idea what I'm doing wrong?

Best regars.





 



Re: Problem list Host on UI. CloudStack 4.15.

2021-05-12 Thread Darrin Hüsselmann
Hi Kalil,

This is a known issue with the new UI related to listing hosts when using 
certain locales.

This issue has been addressed and will be in the next version.

https://github.com/apache/cloudstack/issues/4733

Cheers
Darrin

From: Kalil de Albuquerque Carvalho 
Sent: Wednesday, May 12, 2021 3:00 PM
To: users@cloudstack.apache.org 
Subject: Problem list Host on UI. CloudStack 4.15.

Hello all.

I'm knew using CloudStack, the project in my company it is to use it for
professional propose. The problem is that I'm trying a fresh install and
after every think is working, when I put the first host, the UI starts
to show me a error, "Request Failed (413) For input string" and some
numbers. On the page appear "404 Not Found.". On the management.log just
show a warning:

*"WARN  [c.c.a.d.ParamGenericValidationWorker]
(qtp769798433-319:ctx-fcef6a8b ctx-0321de05) (logid:2aeb6cc1) Received
unknown parameters for command listHostsMetrics. Unknown parameters :
listall"*

Research on the lists I found the following instruction:

"add.host.on.service.restart.kvm" to "false"

I tried, restarted even the whole serve, but not working.

Here my environment:

The management:

 Distro: CentOS 7.9.2009 (Core)

 Kernel: 3.10.0-1160.25.1.el7.x86_64

 CloudStack packages: cloudstack-common.x86_64 and
cloudstack-management.x86_64 both on the version 4.15.0.0-1.el7

 MySQL Server: mysql-community-client.x86_64
mysql-community-common.x86_64 mysql-community-libs.x86_64
mysql-community-server.x86_64 mysql-connector-python.x86_64, all on the
version 5.6.51-2.el7 and mysql-community-release.noarch version el7-5

 Java: java-11-openjdk.x86_64, just have this installed

The hosts

Distro: CentOS 7.9.2009 (Core)

 Kernel: 3.10.0-1160.25.1.el7.x86_64

 CloudStack packages: cloudstack-agent.x86_64 and
cloudstack-common.x86_64 both on the version 4.15.0.0-1.el7

 Java: java-11-openjdk.x86_64, just have this installed

Is there any one how has idea what I'm doing wrong?

Best regars.


 



Re: Services of management server listening on IPv6 Ports

2021-04-14 Thread Darrin Hüsselmann
Hi Chris,

Please elaborate on:
- ssh keys not working because of mangement server settings
I'm not sure what you mean here.

-  connections couldn't be established as the agent.conf had no IP-addresses 
for the management-server
This will be remedied when the agent is added from the management server 
successfully.

If your host is set up correctly the management server will be able to talk to 
the agent over the network interface cloudbr0, qemu-kvm would be set up 
correctly and the agent would be able to read and write to primary and 
secondary storages.

Before you can create an instance :

  *   Your hosts must be up
  *   Primary and secondary storages must be added
  *   Your zone must be enabled.
  *   CPVM and SSVM agents must be up and connected
  *   The default template should be done downloading

After the zone is enabled with hosts up and primary and secondary storage 
added, Cloudstack will try to start the system VMs. The system VMs are created 
from the systemVM template, which should have already been uploaded manually to 
secondary storage. Once the SSVM is up and connected, it will start to download 
the built-in template. When this is done you will be able to start an instance 
from the built-in template.

If there are some missing steps in the setup guide feel free to make an 
addition to the docs by raising a PR on 
https://github.com/apache/cloudstack-documentation or logging an issue.

Cheers
Darrin






From: vas...@gmx.de 
Sent: Friday, April 9, 2021 8:56 PM
To: users@cloudstack.apache.org 
Subject: Re: Services of management server listening on IPv6 Ports

Hi Darin,

well from a "technical" point of view, i currently have problems
getting the ssvm running. I have to admit that i need to take a closer
look into the logs myself to see what is happening. First messages i
read stated some problems with primary / secondary storage and the
given uuids. Might be a problem as i joyned the compute host in an
unusal(?) or not described way...
Which leads to my next problem:
Understanding the process of joining hosts.
Described in the documentation are more or less always the same way.
Log in to the management server gui - add host - give the requiered
data - and then the host will join (given the agent on the host is
installed properly). However, in non of my installation-trials this
worked out of the box (even if ubuntu 20.04 is expicit named in the
compability matrix).
Problems have been (using ubuntu server 20.04):
- ssh keys not working because of mangement server settings
- usage of older SSH algorithms...
- connections couldn't be established as the agent.conf had no
IP-addresses for the management-server (which is from my understanding
"normal" - the host can't know anything about the management server
till the connection from the management server is initialized).
however the agent is all the time lookining for an management server.
- missing uuid entrys
- missing rights for users (as root isn't allowed connect via ssh out
of the box)
Nothing of this is part of the latest integration guide / mentioned in
the docs - beside the SSH algorithms in the release notes for 4.15
(shame on me for reading them to late).

Don't get me wrong i am not blameing it on cloudstack at all- but
without all the background information it is hard to solve occuring
problems.

I really like many of the appoaches CloudStack is useing and
following. But from an "installation" point of view the installation
of OpenStack was more successfull and more "straight-forward" then the
installation of CloudStack.

with regards
Chris

Am Fr., 9. Apr. 2021 um 08:35 Uhr schrieb Darrin Hüsselmann
:
>
> Great,
>
> What other issues are you facing?
>
> Regards
> Darrin
>
> darrin.husselm...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> @shapeblue
>
>
>
>
> ________
> From: vas...@gmx.de 
> Sent: Thursday, April 8, 2021 9:08 PM
> To: Darrin Hüsselmann 
> Subject: Re: Services of management server listening on IPv6 Ports
>
> Hi Darrin,
>
> thanks for the information provided! Was interesting to read this.
>
> even if i am still faceing some other issues at the moment.
>
> Am Do., 8. Apr. 2021 um 09:24 Uhr schrieb Darrin Hüsselmann
> :
> >
> > Hi Chris,
> >
> > I think this link might shed some light on your findings.
> >
> > https://unix.stackexchange.com/questions/573456/why-does-lsof-indicate-my-ipv4-socket-is-ipv6
> >
> > Cheers
> > Darrin
> >
> > darrin.husselm...@shapeblue.com
> > www.shapeblue.com<http://www.shapeblue.com>
> > @shapeblue
> >
> >
> >
> >
> > 
> > From: vas...@gmx.de 
> > Sent: Thursday, March 25, 2021 12:26 PM
> > To: user

Re: Services of management server listening on IPv6 Ports

2021-04-09 Thread Darrin Hüsselmann
Great,

What other issues are you facing?

Regards
Darrin

From: vas...@gmx.de 
Sent: Thursday, April 8, 2021 9:08 PM
To: Darrin Hüsselmann 
Subject: Re: Services of management server listening on IPv6 Ports

Hi Darrin,

thanks for the information provided! Was interesting to read this.

even if i am still faceing some other issues at the moment.

Am Do., 8. Apr. 2021 um 09:24 Uhr schrieb Darrin Hüsselmann
:
>
> Hi Chris,
>
> I think this link might shed some light on your findings.
>
> https://unix.stackexchange.com/questions/573456/why-does-lsof-indicate-my-ipv4-socket-is-ipv6
>
> Cheers
> Darrin
>
> darrin.husselm...@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> @shapeblue
>
>
>
>
> 
> From: vas...@gmx.de 
> Sent: Thursday, March 25, 2021 12:26 PM
> To: users@cloudstack.apache.org 
> Subject: Services of management server listening on IPv6 Ports
>
> Hi everyone,
>
> I was setting up an test-environment with an IPv4 network beneath.
> OS of the server is Ubuntu 20.04.02-live-server.
>
> After performing the installation like descriped in the installation
> guide, the server seems fine.
> One thing i noticed is, that the sockets for the services of
> cloudstack / listening ports are all IPv6 based:
>
> root@management:~# lsof -i -P -n | grep cloud | grep LISTEN
> java  1184   cloud   12u  IPv6  48210  0t0  TCP *:35947 
> (LISTEN)
> java  1184   cloud   21u  IPv6  50162  0t0  TCP *:9090 
> (LISTEN)
> java  1184   cloud   22u  IPv6  48825  0t0  TCP *:35627 
> (LISTEN)
> java  1184   cloud   26u  IPv6  51204  0t0  TCP *:8250 
> (LISTEN)
> java  1184   cloud   30u  IPv6  52307  0t0  TCP *:8080 
> (LISTEN)
>
> Shouldn't these services also listening on IPv4 addresses of the
> management interface?
>
> Thanks in advance!
> Chris

darrin.husselm...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: Services of management server listening on IPv6 Ports

2021-04-08 Thread Darrin Hüsselmann
Hi Chris,

I think this link might shed some light on your findings.

https://unix.stackexchange.com/questions/573456/why-does-lsof-indicate-my-ipv4-socket-is-ipv6

Cheers
Darrin

From: vas...@gmx.de 
Sent: Thursday, March 25, 2021 12:26 PM
To: users@cloudstack.apache.org 
Subject: Services of management server listening on IPv6 Ports

Hi everyone,

I was setting up an test-environment with an IPv4 network beneath.
OS of the server is Ubuntu 20.04.02-live-server.

After performing the installation like descriped in the installation
guide, the server seems fine.
One thing i noticed is, that the sockets for the services of
cloudstack / listening ports are all IPv6 based:

root@management:~# lsof -i -P -n | grep cloud | grep LISTEN
java  1184   cloud   12u  IPv6  48210  0t0  TCP *:35947 (LISTEN)
java  1184   cloud   21u  IPv6  50162  0t0  TCP *:9090 (LISTEN)
java  1184   cloud   22u  IPv6  48825  0t0  TCP *:35627 (LISTEN)
java  1184   cloud   26u  IPv6  51204  0t0  TCP *:8250 (LISTEN)
java  1184   cloud   30u  IPv6  52307  0t0  TCP *:8080 (LISTEN)

Shouldn't these services also listening on IPv4 addresses of the
management interface?

Thanks in advance!
Chris

darrin.husselm...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: Network for instance

2020-12-17 Thread Darrin Hüsselmann
Hi Duc,

Have you set egress rules for your network? It certainly is possible to ping 
instances on your network.

Regards
Darrin

From: Thanh Đức 
Sent: Thursday, December 17, 2020 3:28 PM
To: users@cloudstack.apache.org 
Subject: Network for instance

Hi all,

I tried to create instance on laptop (A) with cloudstack server , nfs server 
and kvm host same server IP.

I already create instance. I use another laptop (B) connect same wifi. I tried 
use laptop (B) ping instance already created by laptop (A) but it can not.
I ping via LAN

It is possible ?

darrin.husselm...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: Add Templates and ISOs

2020-12-10 Thread Darrin Hüsselmann
anagerImpl] 
(API-Job-Executor-22:ctx-b40c8151 job-239) (logid:6db5b384) Update db status 
for job-239
2020-12-10 07:59:57,429 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-22:ctx-b40c8151 job-239) (logid:6db5b384) Wake up jobs joined 
with job-239 and disjoin all subjobs created from job- 239
2020-12-10 07:59:57,433 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-22:ctx-b40c8151 job-239) (logid:6db5b384) Done executing 
org.apache.cloudstack.api.command.admin.systemvm.StartSystemVMCmd for job-239
2020-12-10 07:59:57,434 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-22:ctx-b40c8151 job-239) (logid:6db5b384) Remove job-239 from 
job monitoring
2020-12-10 07:59:57,829 DEBUG [c.c.c.ClusterManagerImpl] 
(Cluster-Heartbeat-1:ctx-f3e77fee) (logid:5ecd3cf2) Detected management node 
left, id:1, nodeIP:192.168.88.154


On 2020/12/09 07:28:24, Darrin Hüsselmann  
wrote:
> Hi Thanh
>
> When the management server starts, it tries to deploy a virtual machine 
> called the Secondary Storage VM. The Secondary Storage VM is created using a 
> template called the System VM template which needs to be available in your 
> secondary storage location. 
> http://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template.
>
> Cheers
> Darrin
> 
> From: Thanh Đức 
> Sent: Tuesday, December 8, 2020 4:18 AM
> To: users@cloudstack.apache.org 
> Subject: Re: Add Templates and ISOs
>
>
> My error I got is "There is no secondary storage VM for downloading template 
> to image store nfs://192.168.88.152/export/secondary".
>
> When I check my secondary storage in dashboard I see secondary storage 
> 0KB/0KB but Primary storage 100GB.  Did I skip the step of installing 
> secondary ?
>
> 020-12-07 18:12:16,477 DEBUG [c.c.u.d.T.Transaction] 
> (qtp1434234664-21:ctx-5787d908 ctx-a7ce2d8e) (logid:8ba86634) Rolling back 
> the transaction: Time = 58 Name =  qtp1434234664-21; called by 
> -TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-Transaction.execute:38-Transaction.execute:47-HypervisorTemplateAdapter.createTemplateForPostUpload:292-TemplateManagerImpl.registerPostUploadInternal:360-TemplateManagerImpl.registerIsoForPostUpload:414-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:62-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:566
> 2020-12-07 18:12:16,504 ERROR [c.c.a.ApiServer] 
> (qtp1434234664-21:ctx-5787d908 ctx-a7ce2d8e) (logid:8ba86634) unhandled 
> exception executing api command: [Ljava.lang.String;@549f59f7
> com.cloud.utils.exception.CloudRuntimeException: There is no secondary 
> storage VM for downloading template to image store 
> nfs://192.168.88.152/export/secondary
> at 
> com.cloud.template.HypervisorTemplateAdapter$1.doInTransaction(HypervisorTemplateAdapter.java:357)
> at 
> com.cloud.template.HypervisorTemplateAdapter$1.doInTransaction(HypervisorTemplateAdapter.java:292)
> at 
> com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
> at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
> at 
> com.cloud.template.HypervisorTemplateAdapter.createTemplateForPostUpload(HypervisorTemplateAdapter.java:292)
> at 
> com.cloud.template.TemplateManagerImpl.registerPostUploadInternal(TemplateManagerImpl.java:360)
> at 
> com.cloud.template.TemplateManagerImpl.registerIsoForPostUpload(TemplateManagerImpl.java:414)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at 
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at 
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
> at 
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at 
> org.springframework.aop.framework.ReflectiveMet

Re: Add Templates and ISOs

2020-12-08 Thread Darrin Hüsselmann
Hi Thanh

When the management server starts, it tries to deploy a virtual machine called 
the Secondary Storage VM. The Secondary Storage VM is created using a template 
called the System VM template which needs to be available in your secondary 
storage location. 
http://docs.cloudstack.apache.org/en/latest/installguide/management-server/index.html#prepare-the-system-vm-template.

Cheers
Darrin

From: Thanh Đức 
Sent: Tuesday, December 8, 2020 4:18 AM
To: users@cloudstack.apache.org 
Subject: Re: Add Templates and ISOs


My error I got is "There is no secondary storage VM for downloading template to 
image store nfs://192.168.88.152/export/secondary".

When I check my secondary storage in dashboard I see secondary storage 0KB/0KB 
but Primary storage 100GB.  Did I skip the step of installing secondary ?

020-12-07 18:12:16,477 DEBUG [c.c.u.d.T.Transaction] 
(qtp1434234664-21:ctx-5787d908 ctx-a7ce2d8e) (logid:8ba86634) Rolling back the 
transaction: Time = 58 Name =  qtp1434234664-21; called by 
-TransactionLegacy.rollback:890-TransactionLegacy.removeUpTo:833-TransactionLegacy.close:657-Transaction.execute:38-Transaction.execute:47-HypervisorTemplateAdapter.createTemplateForPostUpload:292-TemplateManagerImpl.registerPostUploadInternal:360-TemplateManagerImpl.registerIsoForPostUpload:414-NativeMethodAccessorImpl.invoke0:-2-NativeMethodAccessorImpl.invoke:62-DelegatingMethodAccessorImpl.invoke:43-Method.invoke:566
2020-12-07 18:12:16,504 ERROR [c.c.a.ApiServer] (qtp1434234664-21:ctx-5787d908 
ctx-a7ce2d8e) (logid:8ba86634) unhandled exception executing api command: 
[Ljava.lang.String;@549f59f7
com.cloud.utils.exception.CloudRuntimeException: There is no secondary storage 
VM for downloading template to image store nfs://192.168.88.152/export/secondary
at 
com.cloud.template.HypervisorTemplateAdapter$1.doInTransaction(HypervisorTemplateAdapter.java:357)
at 
com.cloud.template.HypervisorTemplateAdapter$1.doInTransaction(HypervisorTemplateAdapter.java:292)
at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50)
at com.cloud.utils.db.Transaction.execute(Transaction.java:40)
at com.cloud.utils.db.Transaction.execute(Transaction.java:47)
at 
com.cloud.template.HypervisorTemplateAdapter.createTemplateForPostUpload(HypervisorTemplateAdapter.java:292)
at 
com.cloud.template.TemplateManagerImpl.registerPostUploadInternal(TemplateManagerImpl.java:360)
at 
com.cloud.template.TemplateManagerImpl.registerIsoForPostUpload(TemplateManagerImpl.java:414)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy185.registerIsoForPostUpload(Unknown Source)
at 
org.apache.cloudstack.api.command.user.iso.GetUploadParamsForIsoCmd.execute(GetUploadParamsForIsoCmd.java:133)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:759)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:583)
at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:310)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:130)
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 

Re: Clean-up stale clones

2020-10-16 Thread Darrin Hüsselmann
Hi Mike,

this bug has been addressed in the master branch and should be in version 4.15

Cheers
Darrin

From: Corey, Mike 
Sent: Friday, October 16, 2020 4:44 PM
To: users@cloudstack.apache.org 
Subject: Clean-up stale clones


Hi,



Running through my lab testing I seem to be collecting different copies of 
clones in my vCenter.  I’m talking about the initial clone created when the 
very first instance is created from a template.  I’ve since imported templates, 
created instances, and destroyed both but the initial clone of the template VM 
remains (VM is named uuid) in my vCenter.



Why doesn’t CloudStack purge that automatically if/when a template is 
destroyed?  It makes vCenter cluttered and also takes up space on my VMware 
storage.



Another thing is that these template VM clones cause an error in the logs that, 
in my opinion, is just noise and unnecessary. (Unable to find matched VM in 
CloudStack DB. name: fb0f60a8b22637b8bd6c67d03a10196d)







Mike









Mike Corey

Technology Senior Consultant, IT CS CTW Operation & Virtualization Service US

SAP AMERICA, INC. 3999 West Chester Pike, Newtown Square, 19073 United States

T +1 610 661 0905, M +1 484 274 2658, E mike.co...@sap.com



[cid:image003.png@01D6A3A9.57C38440]





darrin.husselm...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



Re: [ANNOUNCE] Next PMC Chair & VP Apache CloudStack Project - Sven Vogel

2020-03-19 Thread Darrin Hüsselmann
Congratulations Sven

Cheers
Darrin


From: Gabriel Beims Bräscher 
Sent: Thursday, March 19, 2020 12:51 PM
To: dev 
Cc: priv...@cloudstack.apache.org ; users 
; Apache CloudStack Marketing 

Subject: Re: [ANNOUNCE] Next PMC Chair & VP Apache CloudStack Project - Sven 
Vogel

Thank you for the work done as PMC Chair / VP, Paul.
Congratulations, Sven!

Em qui., 19 de mar. de 2020 às 05:34, Paul Angus 
mailto:pau...@apache.org>> escreveu:
Hi Everyone,

It gives me great pleasure to announce that ASF board last night
accepted our PMC's nomination of Sven Vogel as the next VP of the
project.

As I hand over the reins, I would like to thank everyone for the
support I've received over the past year. It looks like being a very
difficult year ahead for the world in general, and I wish everyone
good luck in navigating it and urge everyone to try to show patience
and compassion in these trying times.

I'd like to thank Sven for volunteering for the post and wish him the
best of luck, I'm sure that he'll do a great job.

So please join me in welcoming Sven Vogel as the new Apache CloudStack
VP and PMC Chair !

darrin.husselm...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 



[ANNOUNCE] System VM Template API

2020-01-29 Thread Darrin Hüsselmann
Hi All,

There is a new feature we have been working on to minimize the effort of 
installing and managing system VM templates in Cloudstack. The wiki page can be 
found at the link and comments are welcome:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/System+VM+Template+API

Cheers
Darrin

darrin.husselm...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 



Re: Adding regions and zones

2020-01-27 Thread Darrin Hüsselmann
Hi Rohan,

According to the manual, Cloudstack doesn't have this feature:

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.11/reliability.html

HA-Enabled Virtual 
Machines

The user can specify a virtual machine as HA-enabled. By default, all virtual 
router VMs and Elastic Load Balancing VMs are automatically configured as 
HA-enabled. When an HA-enabled VM crashes, CloudStack detects the crash and 
restarts the VM automatically within the same Availability Zone. HA is never 
performed across different Availability Zones. CloudStack has a conservative 
policy towards restarting VMs and ensures that there will never be two 
instances of the same VM running at the same time. The Management Server 
attempts to start the VM on another Host in the same cluster.

HA features work with iSCSI or NFS primary storage. HA with local storage is 
not supported.

Cheers
Darrin

From: Rohan Shet 
Sent: Tuesday, January 28, 2020 8:53 AM
To: users@cloudstack.apache.org 
Subject: Adding regions and zones

Hi All,


   - I have installed Cloudstack on two different regions and both are
   working fine.
   - I want to add both regions and have Zone Availability, i.e. if one
   zone goes down or fail, another zone will take care, and VM's can migrate
   to that zone. Providing zone HA feature.
   - Higher availability of the services: users can deploy services across
   Availability Zones and even if one of the Availability Zones goes down the
   services are still available to the end-user through VMs deployed in other
   zones.


Please guide..
Thanks and regards
Rohan

darrin.husselm...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 



Hello

2019-06-13 Thread Darrin Hüsselmann
Hi All,


I have joined Shapeblue as a software engineer and look forward to contributing 
to the cloudstack project and working with the community.


Cheers

Darrin


darrin.husselm...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue