Re: [VOTE] Apache CloudStack 4.12.0.0 [RC3]

2019-02-27 Thread Gabriel Beims Bräscher
Hello All,

Thanks for voting, Andrija and Simon.
I have opened PR https://github.com/apache/cloudstack/pull/3197 fixing the
issue raised by Andrija.

Once we have the code merged I will spin out a fourth release candidate.

Em sex, 22 de fev de 2019 às 18:08, Simon Weller 
escreveu:

> Master -> 4.12 RC3 (no DB upgrade)
>
> Added VPC
> Added VPC Tier
> Create VM
> Start VM
> Create new volume
> Attach volume
> Unattach volume
> Deleted volume
> Installed OS via template and ISO
> Detach ISO
> Test Console
> Tested Snapshot
> Checked VR interface assignments
> Test ping to VR from VM
> Test ping to 8.8.8.8 from VM
> Test VR Master shutdown and failover to Backup (while pinging from VM to
> 8.8.8.8)
> Test new VR Master shutdown and failover to Backup (while pinging from VM
> to 8.8.8.8)
> Stop VM, Delete VM (with expunge)
> Removed VPC Tier
> Removed VPC
>
> Hypervisor: KVM
> OS: Centos 7.5
> Networking: Advanced with VXLAN
> Primary Storage: Ceph RBD
> Secondary Storage: NFS
>
> +1 (binding)
>
>
> 
> From: Gabriel Beims Bräscher 
> Sent: Thursday, February 21, 2019 7:55 PM
> To: dev; users
> Subject: [VOTE] Apache CloudStack 4.12.0.0 [RC3]
>
> Hi All,
>
> I've created a 4.12.0.0 release (RC3), with the following artifacts up for
> a vote:
>
> Git Branch and Commit SH:
> https://github.com/apache/cloudstack/tree/4.12.0.0-RC20190212T2301
>
> https://github.com/apache/cloudstack/commit/e5b3aa4b5a5d1a25c79313cecd3ae1c9f074baca
> Commit: e5b3aa4b5a5d1a25c79313cecd3ae1c9f074baca
>
> Source release for 4.12.0.0-RC20190212T2301:
> https://dist.apache.org/repos/dist/dev/cloudstack/4.12.0.0/
>
> PGP release keys (signed using 25908455):
> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
> The vote will be open for 3 business days (until 26th February).
>
> For sanity in tallying the vote, can PMC members please be sure to indicate
> "(binding)" with their vote?
>
> [ ] +1  approve
> [ ] +0  no opinion
> [ ] -1  disapprove (and reason why)
>
> Additional information:
>
> *Note:* the RC2 VOTE ("[VOTE] Apache CloudStack 4.12.0.0 [RC2]") had no
> blocker bug to be fixed; however, the VOTE process led to the need of an
> RC3. For more details, please follow the discussions at the respective
> email thread.
>
> All Travis and Jenkins checks have passed [1] for the branch
> 4.12.0.0-RC20190212T2301.
>
> For users' convenience, packages are available in
> http://cloudstack.apt-get.eu/
> 4.12.0.0 RC3 is available for the following distros:
> - Ubuntu 14.04, 16.04, and 18.04;
> - CentOS6 and CentOS7.
>
> Please, use the template 4.11.2 (located in [2]) when testing the RC3.
> The release notes [3] still need to be updated.
>
> [1] https://github.com/apache/cloudstack/pull/3189
> [2] http://download.cloudstack.org/systemvm/4.11/
> [3]
>
> http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/latest/index.html
>


Re: Adding template from management server's local storage

2019-02-27 Thread Suresh Kumar Anaparti
Hi Fariborz,

Are you able to register template from any other host or public templates?
Is the SSVM agent connect up?

Check the management server logs (sample logs below) to verify the download
cmd delegation to SSVM, after *registerTemplate* API call.



*getCommandHostDelegation: class
org.apache.cloudstack.storage.command.DownloadCommandSending command
org.apache.cloudstack.storage.command.DownloadCommand to host:
Sending  { Cmd , MgmtId: , via: 5(s-*-VM), Ver: v1, Flags:
100011, [{"org.apache.cloudstack.storage.command.DownloadCommand...*

Check logs in SSVM to confirm *DownloadCommand* received or not.
Also, Check management server logs post *DownloadCommand* to validate below
steps.
*DownloadAnswer* is expected from the SSVM with In Progress status and
thereafter management server sends *DownloadProgressCommand* in intervals
to check the progress and percentage downloaded.

- Suresh

On Thu, Feb 28, 2019 at 7:51 AM Eric Lee Green 
wrote:

> On 2/27/19 2:58 PM, Fariborz Navidan wrote:
> > Hello All,
> >
> > I have used qemu-img tool to convert a vmdk to qcow2 image. I want to add
> > the image as template to ACS so I can deploy from it and get the VM
> > migrated to ACS. I have installed httpd on management server and I am
> able
> > to start the file at url such as http://hostname/images/test.qcow2 from
> my
> > browser. However when I add the template to ACS, under Zone tab, it show
> > status as Active and Ready as No. It seems, it does not start to download
> > and install the template. I don't see any error.
>
> You can log into the secondary storage VM and see the error, but I can
> tell you what it most probably is.
>
> Look for
>
> secstorage.allowed.internal.sites
>
> in your Global Settings tab.
>
> And see what's there. This is a list of cidrs that are allowed as
> sources for downloading images. For example, if you have an FTP server
> set up at 185.27.174.5 and you also have an internal network of
> 10.120.0.0/24, you'd put this string in there:
>
>
> 10.120.0.0/24,185.27.174.5/32
>
>
>


Re: Adding template from management server's local storage

2019-02-27 Thread Eric Lee Green

On 2/27/19 2:58 PM, Fariborz Navidan wrote:

Hello All,

I have used qemu-img tool to convert a vmdk to qcow2 image. I want to add
the image as template to ACS so I can deploy from it and get the VM
migrated to ACS. I have installed httpd on management server and I am able
to start the file at url such as http://hostname/images/test.qcow2 from my
browser. However when I add the template to ACS, under Zone tab, it show
status as Active and Ready as No. It seems, it does not start to download
and install the template. I don't see any error.


You can log into the secondary storage VM and see the error, but I can 
tell you what it most probably is.


Look for

secstorage.allowed.internal.sites

in your Global Settings tab.

And see what's there. This is a list of cidrs that are allowed as 
sources for downloading images. For example, if you have an FTP server 
set up at 185.27.174.5 and you also have an internal network of 
10.120.0.0/24, you'd put this string in there:



10.120.0.0/24,185.27.174.5/32




Adding template from management server's local storage

2019-02-27 Thread Fariborz Navidan
Hello All,

I have used qemu-img tool to convert a vmdk to qcow2 image. I want to add
the image as template to ACS so I can deploy from it and get the VM
migrated to ACS. I have installed httpd on management server and I am able
to start the file at url such as http://hostname/images/test.qcow2 from my
browser. However when I add the template to ACS, under Zone tab, it show
status as Active and Ready as No. It seems, it does not start to download
and install the template. I don't see any error.

I would appreciate if you can help me.

Best Regards


Re: installation troubles

2019-02-27 Thread Riepl, Gregor (SWISS TXT)
> If you can, would you mind submitting a pull request to the
> documentation repo 
> https://github.com/apache/cloudstack-documentation
> to add the missing steps?

Sure!

I should note that I haven't tested the exact steps on a custom CS
repository. The script I posted is one that I use for a personal repo.