RE: CentOS7 Packages

2018-02-12 Thread Paul Angus
We've updated the 'recommended' versions, the quick start guide will take a 
little time to do, as we'd need to verify all of the steps.  The last thing 
that I'd want to do in the guide is give incorrect information, which might 
lead first-timers to thinking that CloudStack didn't work.


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: daniel.herrm...@zv.fraunhofer.de 
[mailto:daniel.herrm...@zv.fraunhofer.de] 
Sent: 12 February 2018 09:47
To: users@cloudstack.apache.org
Subject: Re: CentOS7 Packages

Hi Paul,

There are actually multiple occurrences. Two of which I can think right now:

Minimum System Requirements in "Installation overview": 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.11/overview/index.html

"Operating system: Preferred: CentOS/RHEL 6.3+ or Ubuntu 14.04(.2)"

Now that I think about it, one could also read this as minimum requirements 
(such as the page title reads) and not as recommendation... so scratch that ( 
To make that clearer, I'd suggest to rewrite this section "CentOS/RHEL 6.3+, 
CentOS/RHEL 7.x+ or Ubuntu 14.04(.2) or higher", where the "x" needs to be 
filled if a specific 7.x minor release is required. 

The quick installation guide ( 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.11/qig.html
 ) does refer to CentOS 6 in general and uses CentOS 6, which one may read as 
recommendation. However I guess one could just replace CentOS 6 with CentOS 7 
following the same guide and there should be no problem.

After reviewing the 4.11 documentation, I found that most pages indeed 
recommend CentOS 7. Just read the two I described above before and came to 
hasty conclusions. Sorry for that.

Regards
Daniel
 
On 12.02.18, 10:21, "Paul Angus"  wrote:

Daniel, could you point me to where you've seen that please.


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: daniel.herrm...@zv.fraunhofer.de 
[mailto:daniel.herrm...@zv.fraunhofer.de] 
Sent: 12 February 2018 09:16
To: users@cloudstack.apache.org
Subject: Re: CentOS7 Packages

Hi, 

I'd like to add a question here - in the 4.11 documentation, CentOS 6 is 
still the recommended release - CentOS 6 is quite old now and CentOS7 out for a 
while. Is there a specific reason why we stick to the CentOS 6 recommendation?

Regards
Daniel
 
On 12.02.18, 10:04, "Dag Sonstebo"  wrote:

Hi Benjamin,

Yes there will be – watch out for the official announcements in a few 
hours time.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/02/2018, 08:48, "Benjamin Naber"  
wrote:

Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 







Autoscaling without NetScaler

2018-02-12 Thread Benjamin Naber
Hi @all,

is the autoscaling feature without NetScaler still availible in 4.10 ?

if it is what steps need to be done for using it ?

Kind regards

Ben


[DISCUSS] DB upgrade issue workaround for 4.10.0.0 users upgrading to 4.11.0.0

2018-02-12 Thread Rohit Yadav
All,


Some of us have discussed and found an upgrade path issue that only affects the 
4.10.0.0 users who may see missing columns in certain tables post upgrading to 
4.11.0.0 version.


The issue is/was that at the time 4.10.0.0 was released, PRs were merged to the 
'then' master branch that made changes to the 4.9.3.0->4.10.0.0 upgrade path 
instead of the 4.10.0.0->4.11.0.0 upgrade path. One of such change was an ALTER 
statement that added a new column `service_package_id`, and if 4.10.0.0 version 
is upgraded to 4.11.0.0 such environments may report sql related errors related 
to this column.


(My colleagues Bobby and Ernie may chip in their findings and test results as 
well)


Pull request: https://github.com/apache/cloudstack/pull/2452

Jira ticket: https://issues.apache.org/jira/browse/CLOUDSTACK-10285


The proposed workaround is to move the changes to the expected upgrade path of 
4.10.0.0->4.11.0.0. This is *not ideal* given 4.11.0.0 is released but at least 
4.10.0.0 users who may want to upgrade to 4.11.1.0 or later won't face the 
issue.


The proposed workaround for current 4.10.0.0 users who may want to upgrade to 
4.11.0.0 is to run the following sql statements from the PR above before 
upgrading to 4.11.0.0: (we may discuss and update the release notes website as 
well)


### start sql ###


use cloud;


CREATE TABLE IF NOT EXISTS `cloud`.`netscaler_servicepackages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `uuid` varchar(255) UNIQUE,
  `name` varchar(255) UNIQUE COMMENT 'name of the service package',
  `description` varchar(255) COMMENT 'description of the service package',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `cloud`.`external_netscaler_controlcenter` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `uuid` varchar(255) UNIQUE,
  `username` varchar(255) COMMENT 'username of the NCC',
  `password` varchar(255) COMMENT 'password of NCC',
  `ncc_ip` varchar(255) COMMENT 'IP of NCC Manager',
  `num_retries` bigint unsigned NOT NULL default 2 COMMENT 'Number of retries 
in ncc for command failure',
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

ALTER TABLE `cloud`.`sslcerts` ADD COLUMN `name` varchar(255) NULL default NULL 
COMMENT 'Name of the Certificate';
ALTER TABLE `cloud`.`network_offerings` ADD COLUMN `service_package_id` 
varchar(255) NULL default NULL COMMENT 'Netscaler ControlCenter Service 
Package';


DROP VIEW IF EXISTS `cloud`.`user_view`;
CREATE VIEW `cloud`.`user_view` AS
select
user.id,
user.uuid,
user.username,
user.password,
user.firstname,
user.lastname,
user.email,
user.state,
user.api_key,
user.secret_key,
user.created,
user.removed,
user.timezone,
user.registration_token,
user.is_registered,
user.incorrect_login_attempts,
user.source,
user.default,
account.id account_id,
account.uuid account_uuid,
account.account_name account_name,
account.type account_type,
account.role_id account_role_id,
domain.id domain_id,
domain.uuid domain_uuid,
domain.name domain_name,
domain.path domain_path,
async_job.id job_id,
async_job.uuid job_uuid,
async_job.job_status job_status,
async_job.account_id job_account_id
from
`cloud`.`user`
inner join
`cloud`.`account` ON user.account_id = account.id
inner join
`cloud`.`domain` ON account.domain_id = domain.id
left join
`cloud`.`async_job` ON async_job.instance_id = user.id
and async_job.instance_type = 'User'
and async_job.job_status = 0;


### end sql ###


Thoughts, perhaps other ways to tackle this?


- Rohit





rohit.ya...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



VPC ACLs and Loadbalancer

2018-02-12 Thread S. Reddit
Hi List

We face an issue with VPC and ACLs together with Loadbalancing (on
vRouter). The ACL rules do not seem to work at all. Steps to reproduce:
- Create a VPC
- Create Tier with Public LB Services on vRouter
- Apply default_deny ACL
- Create Instance
- Create Public LB-Rule on Public IP and point to instance

=> VM is accessable via LB-IP, although ACL is set to default_deny.

CloudStack Version is 4.9.2 Anyone seen this as well? The behaviour with
Static-Nat and Port-Forward is as expected.

Regards,
S


[ANNOUNCE] Apache(R) CloudStack(R) v4.11 (LTS)

2018-02-12 Thread Rohit Yadav
The Apache Software Foundation Announces Apache® CloudStack® v4.11

Mature Open Source Enterprise Cloud platform powers billions of dollars in
transactions for the world's largest Cloud providers.

Wakefield, MA —12 February 2018— The Apache Software Foundation (ASF), the
all-volunteer developers, stewards, and incubators of more than 350 Open
Source projects and initiatives, announced today Apache® CloudStack® v4.11,
the latest version of the turnkey enterprise Cloud orchestration platform.

Apache CloudStack is the proven, highly scalable, and easy-to-deploy IaaS
platform used for rapidly creating private, public, and hybrid Cloud
environments. Thousands of large-scale public Cloud providers and
enterprise organizations use Apache CloudStack to enable billions of
dollars worth of business transactions annually across their clouds.

"This is another great release," said Wido den Hollander, Vice President of
Apache CloudStack. "The community has worked very hard to develop great new
features and many enhancements to CloudStack. Together we are making the
project better every single day."

Apache CloudStack v4.11 features more than 250 new capabilities, such as
improved integration, stability, storage, networking support, and
performance. Highlights include:

new Host HA framework with an HA provider for KVM powered clouds;
new certificate authority framework to support ongoing  work in container &
application clusters;
integration with Prometheus;
a connector for Cloudian Hyperstore S3 storage;
deeper integration with Nuage SDN; and
Layer 2 Networking capabilities.

The full list of new features can be found in the project release notes at
http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.11.0.0/

"This release has been driven by the people operating CloudStack clouds,”
said Rohit Yadav, Apache CloudStack v4.11 Release Manager. "I would like to
thank the contributors across all of these organizations for supporting
this release, which reflects both the user-driven nature of our community
and the Apache CloudStack project's commitment to continue to be the most
stable, easily deployable, scalable Open Source platform for IaaS. Along
with great new features, v4.11 brings several important structural changes
such as better support for systemd and Java 8, migration to embedded Jetty,
and a new and optimized Debian 9 based systemvm template."

Apache CloudStack powers numerous elastic Cloud computing services,
including solutions that have ranked as Gartner Magic Quadrant leaders.
Highlighted in the Forrester Q4 2017 Enterprise Open Source Cloud Adoption
report, Apache CloudStack "sits beneath hundreds of service provider
clouds", including Fortune 5 multinational corporations. A list of known
Apache CloudStack users are available at
http://cloudstack.apache.org/users.html

"Apache CloudStack release 4.11 has impressive new content," said Kris
Sterckx, CloudStack development lead at Nuage Networks. "More than any
previous release, v4.11 leverages the value of Nuage Networks SDN with
Nuage 5.0 support, SDN managed networks, per-interface DHCP options support
and automation support for migrating deployed Apache CloudStack clouds from
traditional Linux bridge networking to SDN/OVS based networking."

"At Interoute, we depend on Apache Cloudstack to help us deliver innovative
and reliable IaaS services to our global customers," said Alex Mattioli,
Chief Cloud Architect at Interoute. "The functionality in the 4.11 release
shows that Cloudstack continues to be the most operator-focused IaaS
platform available for large service providers, with a development
community who are able to quickly develop what the market wants. Many of
the features in this release have been created directly based on the needs
of Interoute and our customers."

"Apache CloudStack 4.11 continues to bring innovative features and
functionality to market through collaborative Open Source development,"
said Simon Weller, Director of Technology at Education Networks America.
"We're particularly excited by the Host-HA framework, which brings a much
greater level of hypervisor automation to KVM based service providers."

"Feedback from our community helps us solve real-world problems and
strengthens our development process," added den Hollander. "I look forward
to Apache CloudStack users and developers continuing to work closely
together to make future releases even better!"

Catch Apache CloudStack in action 28 February 2018 at the German CloudStack
Meetup in Frankfurt.

Availability and Oversight
Apache CloudStack software is released under the Apache License v2.0 and is
overseen by a self-selected team of active contributors to the project. A
Project Management Committee (PMC) guides the Project's day-to-day
operations, including community development and product releases. For
downloads, documentation, and ways to become involved with Apache
CloudStack, visit http://cloudstack.apache.org/ and
https://twitter.com/CloudStack


Re: iso not downloading from local path

2018-02-12 Thread Swastik Mittal
Hey Dag,

It was not an issue of ACL's. I had done a very foolish mistake of not
installing openssh becuase of which I did not have sshd service in my
management. So because of default ssh_config, management was able to
connect to SSVM but SSVM could connect to management server which also is
the secondary storage. I could not see this because SSVM was able to
download from manamgent hosted http server. That might be because of
enabling it from secstorage option in global settings.

Cheers
Swastik

On Fri, Feb 9, 2018 at 5:43 PM, Dag Sonstebo 
wrote:

> Check the ACL on your NFS share – remember your SSVM is using an IP
> address in the management range of your zone to access NFS, so we sometimes
> see issues where hypervisors are on the ACL, but not the management IP
> range.
>
> Regards,
> Dag Sonstebo
> Cloud Architect
> ShapeBlue
>
> On 09/02/2018, 11:15, "Swastik Mittal"  wrote:
>
> Hey,
>
> I checked accessing nfs server from my ssvm. I tried the following
>
> root@s-1-VM:~# rpcinfo -p
>program vers proto   port  service
> 104   tcp111  portmapper
> 103   tcp111  portmapper
> 102   tcp111  portmapper
> 104   udp111  portmapper
> 103   udp111  portmapper
> 102   udp111  portmapper
> 1000241   udp  58883  status
> 1000241   tcp  48454  status
>
> I have only portmapper running. Thats it. No nfs ports found.
>
> root@s-1-VM:~# mount -t nfs
>
> above gives no result.
>
> I manually mounted ssvm to /export/secondary of secondary storage nfs
> server. But again all the above commands give the same result.
>
> root@s-1-VM:~# df -k
> Filesystem 1K-blocks
>  Used
> Available Use% Mounted on
> rootfs472036
> 160666286999  36% /
> udev   10240
> 0 10240   0% /dev
> tmpfs  50896
> 256 50640   1% /run
> /dev/disk/by-uuid/30c81d3d-ee9f-4a88-81c1-5f349b22ba1d472036
> 160666286999  36% /
> tmpfs   5120
> 0  5120   0% /run/lock
> tmpfs 211960
> 0211960   0% /run/shm
> /dev/vda1  74367
> 22706 47821  33% /boot
> /dev/vda6  93207
> 5654 82741   7% /home
> /dev/vda8 188403
> 6091172584   4% /opt
> /dev/vda11 93207
> 5679 82716   7% /tmp
> /dev/vda7 768016
> 565696163308  78% /usr
> /dev/vda9 575500
> 235564310704  44% /var
> /dev/vda10188403
> 10441168234   6% /var/log
> 10.1.0.77:/export/secondary708019200
> 12345344
> 659686400   2% /mnt/SecStorage/15b578c2-972f-3178-ac74-acc61e05ec25
> 10.1.0.77:/export/secondary708019200
> 12345344
> 659686400   2% /mnt/SecStorage/15b578c2-972f-3178-ac74-acc61e05ec25
> root@s-1-VM:~#
>
> (10.1.0.77 - management server and also secondary and primary storage
> server)
>
> I checked cloud.out and it states "no credentials for host found".
>
> I cannot ssh into management from ssvm. I tried adding management
> server
> (also my storage server) in known_host of ssvm but it din't work.
> @Dag I guess you were right about SSVM not able to access Secondary
> Storage. I tried mounting SSVM manually to Secondary storage server
> but it
> din't work.
> Any idea?
>
> cheers
> Swastik
>
>
> On Fri, Feb 9, 2018 at 11:56 AM, Swastik Mittal <
> mittal.swas...@gmail.com>
> wrote:
>
> > Hey,
> >
> > I took a lookat my NFS storage.
> >
> > root@MY-PC:~# mount -t nfs
> > 10.1.0.77:/export/primary on /mnt/9ebaae44-dc8f-33d5-8fb6-
> 90c193e69a22
> > type nfs (rw,vers=4,addr=10.1.0.77,clientaddr=10.1.0.77)
> > 10.1.0.77:/export/secondary on /mnt/secondary type nfs
> > (rw,rsize=8192,wsize=8192,timeo=14,intr,vers=3,addr=10.1.0.77)
> > 10.1.0.77:/export/primary on /mnt/primary type nfs
> > (rw,rsize=8192,wsize=8192,timeo=14,intr,vers=3,addr=10.1.0.77)
> > root@MY-PC:~# df -h
> > Filesystem  Size  Used  Avail  Use%   Mounted on
> > /dev/sda4   676G   12G  630G2%  /
> > none   4.0K 0 4.0K0%
> /sys/fs/cgroup
> > udev 

Re: CentOS7 Packages

2018-02-12 Thread daniel.herrmann
Hi Paul,

There are actually multiple occurrences. Two of which I can think right now:

Minimum System Requirements in "Installation overview": 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.11/overview/index.html

"Operating system: Preferred: CentOS/RHEL 6.3+ or Ubuntu 14.04(.2)"

Now that I think about it, one could also read this as minimum requirements 
(such as the page title reads) and not as recommendation... so scratch that ( 
To make that clearer, I'd suggest to rewrite this section "CentOS/RHEL 6.3+, 
CentOS/RHEL 7.x+ or Ubuntu 14.04(.2) or higher", where the "x" needs to be 
filled if a specific 7.x minor release is required. 

The quick installation guide ( 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/4.11/qig.html
 ) does refer to CentOS 6 in general and uses CentOS 6, which one may read as 
recommendation. However I guess one could just replace CentOS 6 with CentOS 7 
following the same guide and there should be no problem.

After reviewing the 4.11 documentation, I found that most pages indeed 
recommend CentOS 7. Just read the two I described above before and came to 
hasty conclusions. Sorry for that.

Regards
Daniel
 
On 12.02.18, 10:21, "Paul Angus"  wrote:

Daniel, could you point me to where you've seen that please.


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: daniel.herrm...@zv.fraunhofer.de 
[mailto:daniel.herrm...@zv.fraunhofer.de] 
Sent: 12 February 2018 09:16
To: users@cloudstack.apache.org
Subject: Re: CentOS7 Packages

Hi, 

I'd like to add a question here - in the 4.11 documentation, CentOS 6 is 
still the recommended release - CentOS 6 is quite old now and CentOS7 out for a 
while. Is there a specific reason why we stick to the CentOS 6 recommendation?

Regards
Daniel
 
On 12.02.18, 10:04, "Dag Sonstebo"  wrote:

Hi Benjamin,

Yes there will be – watch out for the official announcements in a few 
hours time.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/02/2018, 08:48, "Benjamin Naber"  
wrote:

Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 







RE: CentOS7 Packages

2018-02-12 Thread Paul Angus
Daniel, could you point me to where you've seen that please.


Kind regards,

Paul Angus

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: daniel.herrm...@zv.fraunhofer.de 
[mailto:daniel.herrm...@zv.fraunhofer.de] 
Sent: 12 February 2018 09:16
To: users@cloudstack.apache.org
Subject: Re: CentOS7 Packages

Hi, 

I'd like to add a question here - in the 4.11 documentation, CentOS 6 is still 
the recommended release - CentOS 6 is quite old now and CentOS7 out for a 
while. Is there a specific reason why we stick to the CentOS 6 recommendation?

Regards
Daniel
 
On 12.02.18, 10:04, "Dag Sonstebo"  wrote:

Hi Benjamin,

Yes there will be – watch out for the official announcements in a few hours 
time.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/02/2018, 08:48, "Benjamin Naber"  
wrote:

Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 





Re: CentOS7 Packages

2018-02-12 Thread daniel.herrmann
Hi, 

I'd like to add a question here - in the 4.11 documentation, CentOS 6 is still 
the recommended release - CentOS 6 is quite old now and CentOS7 out for a 
while. Is there a specific reason why we stick to the CentOS 6 recommendation?

Regards
Daniel
 
On 12.02.18, 10:04, "Dag Sonstebo"  wrote:

Hi Benjamin,

Yes there will be – watch out for the official announcements in a few hours 
time.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/02/2018, 08:48, "Benjamin Naber"  
wrote:

Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 





Re: CentOS7 Packages

2018-02-12 Thread Dag Sonstebo
Hi Benjamin,

Yes there will be – watch out for the official announcements in a few hours 
time.

Regards,
Dag Sonstebo
Cloud Architect
ShapeBlue

On 12/02/2018, 08:48, "Benjamin Naber"  wrote:

Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben



dag.sonst...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 



CentOS7 Packages

2018-02-12 Thread Benjamin Naber
Hi @all,

will there be CentOS7 Packages for Release 4.11 ?

Kind regards

Ben