[GitHub] rhtyd commented on a change in pull request #3: Livirt hook script

2018-08-30 Thread GitBox
rhtyd commented on a change in pull request #3: Livirt hook script
URL: 
https://github.com/apache/cloudstack-documentation/pull/3#discussion_r213964875
 
 

 ##
 File path: source/adminguide/hosts.rst
 ##
 @@ -745,3 +745,118 @@ only allow and initiate TLS enabled live VM migration. 
This requires libvirtd
 to listen on default port 16514, and the port to be allowed in the firewall
 rules. Certificate renewal (using the ``provisionCertificate`` API) will 
restart
 both the libvirtd process and agent after deploying new certificates.
+
+.. Licensed to the Apache Software Foundation (ASF) under one
+   or more contributor license agreements.  See the NOTICE file
+   distributed with this work for additional information#
+   regarding copyright ownership.  The ASF licenses this file
+   to you under the Apache License, Version 2.0 (the
+   "License"); you may not use this file except in compliance
+   with the License.  You may obtain a copy of the License at
+   http://www.apache.org/licenses/LICENSE-2.0
+   Unless required by applicable law or agreed to in writing,
+   software distributed under the License is distributed on an
+   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+   KIND, either express or implied.  See the License for the
+   specific language governing permissions and limitations
+   under the License.
 
 Review comment:
   @ernjvr remove this license section


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


Removing Ubuntu 14.04 LTS support in master (4.12 release)

2018-08-30 Thread Wido den Hollander
Hi,

I've just opened a Pull Requests [0] to remove support for Ubuntu 14.04.

Ubuntu 14.04 will be EOL in 2019 and the current LTS versions are 16.04
(2021) and 18.04 (2023).

Ubuntu 14.04 lacks Java 8 and also has older Qemu and Libvirt versions.

Yet to be implemented/merged functions like Live Storage Migration and
Burst I/O limitation for KVM require more recent versions of Qemu and
Libvirt not provided by Ubuntu 14.04.

Therefor I opened the Pull Request to drop support for 14.04 in the
master branch.

With the 4.12 release happening later this year or early next year we
would be trying to support a Ubuntu release which will go EOL in ~6 months.

The current 4.11 release will support Ubuntu 14.04, so users running
that CloudStack version can keep running their infrastructure.

If there are objections, please post a comment on the Pull Request or if
you agree with dropping the support, please post a comment as well.

Wido

[0]: https://github.com/apache/cloudstack/pull/2828


How to use ehci usb controller on kvm?

2018-08-30 Thread li li
Hello guys,

I need to transmit a USB3.0 device to guest VM.

The VM created by cloudstack uses the piix3-uhci controller, so it is 
impossible to identify USB 2.0 or USB3.0 devices in the guest vm.

Is there any way to add EHCI controller to VM by default?


for example






Re: CloudStack DNS names to PowerDNS export

2018-08-30 Thread Ivan Kudryavtsev
Hello, Community.

Several days ago I wrote about small service that automatically creates
service domain names for CloudStack VMs created. Just would like to publish
small updates which may be interesting to you.

1. The code was updated to use mysql.connector instead for MySqlDb (thanks
to Wido Den Hollander)

2. I have implemented domains support defined for CloudStack accounts,
before - only domain-level DNS suffixes were supported, so, now every
account can have separate DNS zone if it's defined.

3. I have implemented group-based domain names. They may be very beneficial
to those, who create fault-tolerant scalable services with CDNs like
CloudFlare. Now, all VMs created in a single CloudStack group are placed
into a single "group-based" FQDN, so DNS can return multiple A/ records
for a single name. Using this FQDN as CNAME in CloudFlare enables automatic
failover, scalability support without efforts. Just create new VM in the
same group e.g. www and it just works. Want scale down, remove excessive
VMs.

Find more details in Project's README.md

Project Github: https://github.com/bwsw/cs-powerdns-integration

Best wishes, Ivan


2018-08-24 1:42 GMT+07:00 Wido den Hollander :

> On 08/21/2018 07:45 AM, Ivan Kudryavtsev wrote:
> > Hello, users, devs.
> >
> > We developed a small service for the creation of DNS records (A, ,
> PTR)
> > in the PowerDNS and published it in the GitHub:
> >
> > https://github.com/bwsw/cs-powerdns-integration
> >
>
> That seems very nice. Very nicely done. I like PowerDNS :-)
>
> Wido
>
> > Licensed under Apache 2 License.
> >
> > *Rationale*
> >
> > CloudStack VR maintains DNS A records for VMs but since VR is an
> ephemeral
> > entity which can be removed and recreated, which IP addresses can be
> > changed, it's inconvenient to use it for zone delegation. Also, it's
> > difficult to pair second DNS server with it as it requires VR hacking.
> So,
> > to overcome those difficulties and provide external users with FQDN
> access
> > to VMs we implemented the solution.
> >
> >
>



-- 
With best regards, Ivan Kudryavtsev
Bitworks LLC
Cell: +7-923-414-1515
WWW: http://bitworks.software/