[GitHub] rafaelweingartner closed pull request #16: Change systemvm template from 4.6 to 4.11

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #16: Change systemvm template from 4.6 to 
4.11
URL: https://github.com/apache/cloudstack-documentation/pull/16
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/quickinstallationguide/qig.rst 
b/source/quickinstallationguide/qig.rst
index a45962b..0c52592 100644
--- a/source/quickinstallationguide/qig.rst
+++ b/source/quickinstallationguide/qig.rst
@@ -453,7 +453,7 @@ the system VMs images.
   

/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt \
-m /export/secondary \
-   -u 
http://download.cloudstack.org/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2
 \
+   -u 
http://download.cloudstack.org/systemvm/4.11/systemvmtemplate-4.11.1-kvm.qcow2.bz2
 \
-h kvm -F
 
 


 


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


[GitHub] rafaelweingartner closed pull request #14: Documentation for KVM live storage migration

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #14: Documentation for KVM live storage 
migration
URL: https://github.com/apache/cloudstack-documentation/pull/14
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/adminguide/virtual_machines.rst 
b/source/adminguide/virtual_machines.rst
index eda2b7c..61b5d10 100644
--- a/source/adminguide/virtual_machines.rst
+++ b/source/adminguide/virtual_machines.rst
@@ -809,6 +809,13 @@ To manually live migrate a virtual machine
 
 #. Click OK.
 
+.. note:: 
+  (KVM) If the VM's storage has to be migrated along with the VM, from a 
mounted NFS storage pool to a cluster-wide mounted NFS storage pool, then the 
'migrateVirtualMachineWithVolume' API has to be used. There is no UI 
integration for this feature.
+
+  (CloudMonkey) > migrate virtualmachinewithvolume 
virtualmachineid= hostid= 
migrateto[i].volume= 
migrateto[i].pool=
+
+  where i in [0,..,N] and N = number of volumes of the virtual machine
+
 
 Deleting VMs
 


 


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


[GitHub] rafaelweingartner closed pull request #18: Fixing a dead link for cloud-set-guest-password script

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #18: Fixing a dead link for 
cloud-set-guest-password script
URL: https://github.com/apache/cloudstack-documentation/pull/18
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/adminguide/templates/_password.rst 
b/source/adminguide/templates/_password.rst
index dffde52..a09c127 100644
--- a/source/adminguide/templates/_password.rst
+++ b/source/adminguide/templates/_password.rst
@@ -46,10 +46,10 @@ Linux OS Installation
 
 Use the following steps to begin the Linux OS installation:
 
-#. Download the script file cloud-set-guest-password:
+#. Download the latest version of the cloud-set-guest-password script from the 
repository:
 
-   -  
`http://download.cloud.com/templates/4.2/bindir/cloud-set-guest-password.in 
-  
`_
+   -  
`https://github.com/apache/cloudstack/blob/master/setup/bindir/cloud-set-guest-password.in
 
+  
`_
 
 #. Rename the file:
 


 


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


[GitHub] rafaelweingartner closed pull request #17: CLOUDSTACK-10399: Added section regarding MySQL server-id

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #17: CLOUDSTACK-10399: Added section 
regarding MySQL server-id
URL: https://github.com/apache/cloudstack-documentation/pull/17
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/installguide/management-server/_database.rst 
b/source/installguide/management-server/_database.rst
index 9ec6600..46a9f13 100644
--- a/source/installguide/management-server/_database.rst
+++ b/source/installguide/management-server/_database.rst
@@ -62,6 +62,18 @@ MySQL. See :ref:`install-database-on-separate-node`.
   max_connections=350
   log-bin=mysql-bin
   binlog-format = 'ROW'
+  
+   .. note::
+  For Ubuntu 16.04 and later, make sure you specify a ``server-id`` in 
your ``.cnf`` file for binary logging. Set the ``server-id`` according 
to your database setup.
+
+   .. parsed-literal::
+   
+  server-id=master-01
+  innodb_rollback_on_timeout=1
+  innodb_lock_wait_timeout=600
+  max_connections=350
+  log-bin=mysql-bin
+  binlog-format = 'ROW'
 
.. note:: 
   You can also create a file ``/etc/mysql/conf.d/cloudstack.cnf`` 
diff --git a/source/quickinstallationguide/qig.rst 
b/source/quickinstallationguide/qig.rst
index a45962b..ac853b6 100644
--- a/source/quickinstallationguide/qig.rst
+++ b/source/quickinstallationguide/qig.rst
@@ -369,7 +369,19 @@ section:
innodb_lock_wait_timeout=600
max_connections=350
log-bin=mysql-bin
-   binlog-format = 'ROW' 
+   binlog-format = 'ROW'
+
+.. note::
+For Ubuntu 16.04 and later, make sure you specify a ``server-id`` in your 
``.cnf`` file for binary logging. Set the ``server-id`` according to your 
database setup.
+
+::
+
+   server-id=master-01
+   innodb_rollback_on_timeout=1
+   innodb_lock_wait_timeout=600
+   max_connections=350
+   log-bin=mysql-bin
+   binlog-format = 'ROW'
 
 Now that MySQL is properly configured we can start it and configure it to 
 start on boot as follows:


 


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


[GitHub] rafaelweingartner commented on issue #13: Update Quick Installation Guide

2018-11-07 Thread GitBox
rafaelweingartner commented on issue #13: Update Quick Installation Guide
URL: 
https://github.com/apache/cloudstack-documentation/pull/13#issuecomment-436614634
 
 
   @AlexBeez can you solve the conflicts?


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


[GitHub] rafaelweingartner commented on a change in pull request #15: documentation for selecting a pod, cluster or host during VM deploy

2018-11-07 Thread GitBox
rafaelweingartner commented on a change in pull request #15: documentation for 
selecting a pod, cluster or host during VM deploy
URL: 
https://github.com/apache/cloudstack-documentation/pull/15#discussion_r231494328
 
 

 ##
 File path: source/adminguide/virtual_machines.rst
 ##
 @@ -185,7 +185,7 @@ To create a VM from a template:
 
 #. Click Add Instance.
 
-#. Select a zone.
+#. Select a zone. Admin users also have to option to select a pod, cluster or 
host.
 
 Review comment:
   do you mean via API (Cloudmonkey or any other tool), right?


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


[GitHub] rafaelweingartner commented on a change in pull request #15: documentation for selecting a pod, cluster or host during VM deploy

2018-11-07 Thread GitBox
rafaelweingartner commented on a change in pull request #15: documentation for 
selecting a pod, cluster or host during VM deploy
URL: 
https://github.com/apache/cloudstack-documentation/pull/15#discussion_r231494328
 
 

 ##
 File path: source/adminguide/virtual_machines.rst
 ##
 @@ -185,7 +185,7 @@ To create a VM from a template:
 
 #. Click Add Instance.
 
-#. Select a zone.
+#. Select a zone. Admin users also have to option to select a pod, cluster or 
host.
 
 Review comment:
   You mean via API (Cloudmonkey or any other tool), right?


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


[GitHub] rafaelweingartner closed pull request #12: bridge section was missing

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #12: bridge section was missing
URL: https://github.com/apache/cloudstack-documentation/pull/12
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/quickinstallationguide/qig.rst 
b/source/quickinstallationguide/qig.rst
index a45962b..2ce77f3 100644
--- a/source/quickinstallationguide/qig.rst
+++ b/source/quickinstallationguide/qig.rst
@@ -104,27 +104,43 @@ Connecting via the console you should login as root. 
Check the file
 
 Unfortunately, this configuration will not permit you to connect to the 
 network, and is also unsuitable for our purposes with CloudStack. We want to 
-configure that file so that it specifies the IP address, netmask, etc., as 
-shown in the following example:
+configure that file so that it specifies the IP address, netmask, etc. We will 
+edit the eth0 interface and make it part of bridge named "cloudbr0" as shown 
in the
+following example:
 
 .. note:: 
You should not use the Hardware Address (aka the MAC address) from our 
example for your configuration. It is network interface specific, so you 
should keep the address already provided in the HWADDR directive.
 
+vi /etc/sysconfig/network-scripts/ifcfg-eth0
 :: 
 
DEVICE=eth0
-   HWADDR=52:54:00:B9:A6:C0
-   NM_CONTROLLED=no
+   HWADDR=00:04:xx:xx:xx:xx
ONBOOT=yes
BOOTPROTO=none
+   TYPE=Ethernet
+   BRIDGE=cloudbr0
+
+vi /etc/sysconfig/network-scripts/ifcfg-cloudbr0
+
+::
+
+   DEVICE=cloudbr0
+   TYPE=Bridge
+   ONBOOT=yes
+   BOOTPROTO=none
+   IPV6INIT=no
+   IPV6_AUTOCONF=no
+   DELAY=5
IPADDR=172.16.10.2
NETMASK=255.255.255.0
GATEWAY=172.16.10.1
DNS1=8.8.8.8
DNS2=8.8.4.4
-
+   STP=yes
+   
 .. note:: 
IP Addressing - Throughout this document we are assuming that you will have 
a /24 network for your CloudStack implementation. This can be any RFC 1918 


 


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


[GitHub] rafaelweingartner closed pull request #11: "yes" for KVM network throttling

2018-11-07 Thread GitBox
rafaelweingartner closed pull request #11: "yes" for KVM network throttling
URL: https://github.com/apache/cloudstack-documentation/pull/11
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/source/conceptsandterminology/choosing_deployment_architecture.rst 
b/source/conceptsandterminology/choosing_deployment_architecture.rst
index b3a9dec..a218193 100644
--- a/source/conceptsandterminology/choosing_deployment_architecture.rst
+++ b/source/conceptsandterminology/choosing_deployment_architecture.rst
@@ -168,7 +168,7 @@ supported by CloudStack. The following table provides this 
information.
 
+--+---+--++-+++
 | Feature  | XenServer | vSphere  | KVM - RHEL | 
LXC | HyperV | Bare Metal |
 
+==+===+==++=+++
-| Network Throttling   | Yes   | Yes  | No | 
No  | ?  | N/A|
+| Network Throttling   | Yes   | Yes  | Yes| 
No  | ?  | N/A|
 
+--+---+--++-+++
 | Security groups in zones that use| Yes   | No   | Yes| 
Yes | ?  | No |
 | basic networking |   |  ||   
  |||


 


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


[GitHub] GabrielBrascher commented on a change in pull request #15: documentation for selecting a pod, cluster or host during VM deploy

2018-11-07 Thread GitBox
GabrielBrascher commented on a change in pull request #15: documentation for 
selecting a pod, cluster or host during VM deploy
URL: 
https://github.com/apache/cloudstack-documentation/pull/15#discussion_r231493844
 
 

 ##
 File path: source/adminguide/virtual_machines.rst
 ##
 @@ -288,6 +290,10 @@ There are several ways:
allocation places a guest on each host in a round-robin fashion. This
may yield better performance to the guests in some cases.
 
+-  Admin users preferences. Administrators have to option to specify a
 
 Review comment:
   have **the** option


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


[GitHub] GabrielBrascher commented on a change in pull request #15: documentation for selecting a pod, cluster or host during VM deploy

2018-11-07 Thread GitBox
GabrielBrascher commented on a change in pull request #15: documentation for 
selecting a pod, cluster or host during VM deploy
URL: 
https://github.com/apache/cloudstack-documentation/pull/15#discussion_r231493738
 
 

 ##
 File path: source/adminguide/virtual_machines.rst
 ##
 @@ -215,7 +215,7 @@ To create a VM from an ISO:
 
 #. Click Add Instance.
 
-#. Select a zone.
+#. Select a zone. Admin users also have to option to select a pod, cluster or 
host.
 
 Review comment:
   same here


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


[GitHub] GabrielBrascher commented on a change in pull request #15: documentation for selecting a pod, cluster or host during VM deploy

2018-11-07 Thread GitBox
GabrielBrascher commented on a change in pull request #15: documentation for 
selecting a pod, cluster or host during VM deploy
URL: 
https://github.com/apache/cloudstack-documentation/pull/15#discussion_r231493565
 
 

 ##
 File path: source/adminguide/virtual_machines.rst
 ##
 @@ -185,7 +185,7 @@ To create a VM from a template:
 
 #. Click Add Instance.
 
-#. Select a zone.
+#. Select a zone. Admin users also have to option to select a pod, cluster or 
host.
 
 Review comment:
   have **to** option -> have **the** option


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


[GitHub] AlexBeez commented on issue #13: Update Quick Installation Guide

2018-11-07 Thread GitBox
AlexBeez commented on issue #13: Update Quick Installation Guide
URL: 
https://github.com/apache/cloudstack-documentation/pull/13#issuecomment-436734185
 
 
   Conflicts resolved. 


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


RFC. Marvin tests fail

2018-11-07 Thread Ivan Kudryavtsev
Hello, dev team. Now I try to put a PR and need to write marvin test for
it. I did it in the past, so tried to recall how to run the ecosystem.

I started from the document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python

To run simulator I have built docker image for 4.11:

docker build -t simulator:4.11 -f tools/docker/Dockerfile .

It has built correctly.

Next, I run the simulator:
docker run -it --rm -p 8080:8080 -p 8096:8096 simulator:411

It started well, I can login.

Next, I deployed DC as specified in document above:
python tools/marvin/marvin/deployDataCenter.py

 \
-i setup/dev/advanced.cfg


Next, I run the suite:
$ export MARVIN_CONFIG=setup/dev/advanced.cfg

$ export TEST_SUITE=test/integration/smoke
$ export ZONE_NAME=Sandbox-simulator
$ nosetests-2.7 \
  --with-marvin \
  --marvin-config=${MARVIN_CONFIG} \
  -w ${TEST_SUITE} \
  --with-xunit \
  --xunit-file=/tmp/bvt_selfservice_cases.xml

 \
  --zone=${ZONE_NAME} \
  --hypervisor=simulator \
  -a tags=advanced,required_hardware=false

What I see is that some tests fail, especially those, which connected with
OOB management.
I tried to do the same for basic zone with basic.cfg and also OOB tests
fail and some other as well.

Is it OK or I do something wrong?

Thanks a lot.


-- 
With best regards, Ivan Kudryavtsev
Bitworks LLC
Cell RU: +7-923-414-1515
Cell USA: +1-201-257-1512
WWW: http://bitworks.software/ 


Re: RFC. Marvin tests fail

2018-11-07 Thread Boris Stoyanov
Hi Ivan, 
I guess you’re referring to Out of Band management? I think there was a 
simulator provider for those tests and they are reported as passing with latest 
KVM test run. 

Can you share any logs/exceptions? I don’t see anything wrong with your setup 
on a first glance btw. 

Bobby. 


boris.stoya...@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 

> On 7 Nov 2018, at 20:52, Ivan Kudryavtsev  wrote:
> 
> Hello, dev team. Now I try to put a PR and need to write marvin test for
> it. I did it in the past, so tried to recall how to run the ecosystem.
> 
> I started from the document:
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Marvin+-+Testing+with+Python
> 
> To run simulator I have built docker image for 4.11:
> 
> docker build -t simulator:4.11 -f tools/docker/Dockerfile .
> 
> It has built correctly.
> 
> Next, I run the simulator:
> docker run -it --rm -p 8080:8080 -p 8096:8096 simulator:411
> 
> It started well, I can login.
> 
> Next, I deployed DC as specified in document above:
> python tools/marvin/marvin/deployDataCenter.py
> 
> \
>-i setup/dev/advanced.cfg
> 
> 
> Next, I run the suite:
> $ export MARVIN_CONFIG=setup/dev/advanced.cfg
> 
> $ export TEST_SUITE=test/integration/smoke
> $ export ZONE_NAME=Sandbox-simulator
> $ nosetests-2.7 \
>  --with-marvin \
>  --marvin-config=${MARVIN_CONFIG} \
>  -w ${TEST_SUITE} \
>  --with-xunit \
>  --xunit-file=/tmp/bvt_selfservice_cases.xml
> 
> \
>  --zone=${ZONE_NAME} \
>  --hypervisor=simulator \
>  -a tags=advanced,required_hardware=false
> 
> What I see is that some tests fail, especially those, which connected with
> OOB management.
> I tried to do the same for basic zone with basic.cfg and also OOB tests
> fail and some other as well.
> 
> Is it OK or I do something wrong?
> 
> Thanks a lot.
> 
> 
> -- 
> With best regards, Ivan Kudryavtsev
> Bitworks LLC
> Cell RU: +7-923-414-1515
> Cell USA: +1-201-257-1512
> WWW: http://bitworks.software/