Re: Marvin Install Issue

2017-07-26 Thread Jayapal Uradi
Hi Mike,

Long back I got issue related to mysql-connector. I followed the below steps, 
see if this helps for installing mysql-connector.

#mysql-connector-python
http://stackoverflow.com/questions/31748278/how-do-you-install-mysql-connector-python-development-version-through-pip
$  git clone https://github.com/mysql/mysql-connector-python.git
$  cd mysql-connector-python
$  python ./setup.py build
$  sudo python ./setup.py install
...
>>> import mysql.connector as msc
>>> msc.__version__
‘2.1.3'

Thanks,
Jayapal

On Jul 27, 2017, at 7:46 AM, Tutkowski, Mike 
> wrote:

Hi everyone,

I am having trouble installing Marvin on Ubuntu 14.04 from master.

It’s complaining that it’s having trouble with mysql-connector-python.

mtutkowski@mike-ubuntu:~/cloudstack/cloudstack$ sudo pip install --upgrade 
tools/marvin/dist/Marvin-*.tar.gz
Unpacking ./tools/marvin/dist/Marvin-4.11.0.0-SNAPSHOT.tar.gz
 Running setup.py (path:/tmp/pip-5URDXT-build/setup.py) egg_info for package 
from 
file:///home/mtutkowski/cloudstack/cloudstack/tools/marvin/dist/Marvin-4.11.0.0-SNAPSHOT.tar.gz
   /usr/local/lib/python2.7/dist-packages/setuptools/dist.py:340: UserWarning: 
The version specified ('4.11.0.0-SNAPSHOT') is an invalid version, this may not 
work as expected with newer versions of setuptools, pip, and PyPI. Please see 
PEP 440 for more details.
 "details." % self.metadata.version

   warning: no files found matching '*.txt' under directory 'docs'
Could not find any downloads that satisfy the requirement 
mysql-connector-python>=1.1.6 in /usr/lib/python2.7/dist-packages (from 
Marvin==4.11.0.0-SNAPSHOT)
Downloading/unpacking mysql-connector-python>=1.1.6 (from 
Marvin==4.11.0.0-SNAPSHOT)
Cleaning up...
No distributions at all found for mysql-connector-python>=1.1.6 in 
/usr/lib/python2.7/dist-packages (from Marvin==4.11.0.0-SNAPSHOT)
Storing debug log for failure in /home/mtutkowski/.pip/pip.log

But it seems to be installed:

python-mysql.connector/trusty,now 1.1.6-1 all [installed]

Thoughts?

Thanks!
Mike

DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.


Marvin Install Issue

2017-07-26 Thread Tutkowski, Mike
Hi everyone,

I am having trouble installing Marvin on Ubuntu 14.04 from master.

It’s complaining that it’s having trouble with mysql-connector-python.

mtutkowski@mike-ubuntu:~/cloudstack/cloudstack$ sudo pip install --upgrade 
tools/marvin/dist/Marvin-*.tar.gz
Unpacking ./tools/marvin/dist/Marvin-4.11.0.0-SNAPSHOT.tar.gz
  Running setup.py (path:/tmp/pip-5URDXT-build/setup.py) egg_info for package 
from 
file:///home/mtutkowski/cloudstack/cloudstack/tools/marvin/dist/Marvin-4.11.0.0-SNAPSHOT.tar.gz
/usr/local/lib/python2.7/dist-packages/setuptools/dist.py:340: UserWarning: 
The version specified ('4.11.0.0-SNAPSHOT') is an invalid version, this may not 
work as expected with newer versions of setuptools, pip, and PyPI. Please see 
PEP 440 for more details.
  "details." % self.metadata.version

warning: no files found matching '*.txt' under directory 'docs'
Could not find any downloads that satisfy the requirement 
mysql-connector-python>=1.1.6 in /usr/lib/python2.7/dist-packages (from 
Marvin==4.11.0.0-SNAPSHOT)
Downloading/unpacking mysql-connector-python>=1.1.6 (from 
Marvin==4.11.0.0-SNAPSHOT)
Cleaning up...
No distributions at all found for mysql-connector-python>=1.1.6 in 
/usr/lib/python2.7/dist-packages (from Marvin==4.11.0.0-SNAPSHOT)
Storing debug log for failure in /home/mtutkowski/.pip/pip.log

But it seems to be installed:

python-mysql.connector/trusty,now 1.1.6-1 all [installed]

Thoughts?

Thanks!
Mike


Re: 4.10.0.0 release announcement draft

2017-07-26 Thread Kris Sterckx
Thanks Wido

In the "More" section, could you pls add 1 bullet about Nuage :

- Nuage Networks : Shared networks support, Guest DNS support, Source- and
Static-nat to Underlay and support for Nuage VSP 4.0

Many thanks.

Where can i review the release notes also ?

Best, Kris


On 21 July 2017 at 10:25, Wido den Hollander  wrote:

> Hi,
>
> How does this look like initially?
>
>
> # Apache CloudStack Release 4.10
>
> The Apache CloudStack project is pleased to announce the release of the
> CloudStack 4.10 This release contains many bug-fixes and improvements since
> the CloudStack previous release.
>
> A few highlights:
> - IPv6 support in Basic Networking
> - More
> - More
>
> Apache CloudStack is an integrated Infrastructure-as-a-Service (IaaS)
> software platform that allows users to build feature-rich public and
> private cloud environments. CloudStack includes an intuitive user interface
> and rich API for managing the compute, networking, software, and storage
> resources. The project became an Apache top level project in March, 2013.
>
> More information about Apache CloudStack can be found at:
> http://cloudstack.apache.org/
>
> # Documentation
>
> What's new in CloudStack 4.10:
> http://docs.cloudstack.apache.org/projects/cloudstack-
> release-notes/en/4.10.0/about.html
>
> The 4.10.0 release notes include a full list of corrected issues, as well
> as upgrade instructions from previous versions of Apache CloudStack, and
> can be found at:
> http://docs.cloudstack.apache.org/projects/cloudstack-
> release-notes/en/4.10.0
>
> The official installation, administration and API documentation for
> each release are available on our Documentation Page:
> http://docs.cloudstack.apache.org/
>
> # Downloads
>
> The official source code for the 4.10.0 release can be downloaded from our
> downloads page:
> http://cloudstack.apache.org/downloads.html
>
> ## Downloads
>
> The official source code release can be downloaded from:
>
> http://cloudstack.apache.org/downloads.html
>
> In addition to the official source code release, individual contributors
> have also made convenience binaries available on the Apache CloudStack
> download page, and can be found at:
>
> https://download.cloudstack.org/ubuntu/ (packages to be published soon)
> https://download.cloudstack.org/centos/7/ (packages to be published soon)
>
>
> > Op 20 juli 2017 om 6:39 schreef Rajani Karuturi :
> >
> >
> > Hi Wido,
> >
> > We have to create a draft and send it to marketing@ for review.
> > Once its finalized, we have to announce the release.
> >
> > If you could take care of both the steps, that would be of great
> > help.
> >
> > Thanks,
> >
> > ~ Rajani
> >
> > http://cloudplatform.accelerite.com/
> >
> > On July 19, 2017 at 11:27 PM, Wido den Hollander (w...@widodh.nl)
> > wrote:
> >
> > Where do you want info? I could write something about the IPv6
> > for Basic Networking.
> >
> > Wido
> >
> > Op 19 jul. 2017 om 08:11 heeft Rajani Karuturi
> >  het volgende geschreven:
> >
> > api changes and fixed issues are available at
> > https://github.com/apache/cloudstack-docs-rn/pull/30
> >
> > Pierre-Luc is helping on upgrade docs.
> >
> > Can someone help on release announcement draft please?
> >
> > Thanks,
> >
> > ~ Rajani
> >
> > http://cloudplatform.accelerite.com/
>


Re: [DISCUSS] Metadata server IP improvement

2017-07-26 Thread Rene Moser
On 07/26/2017 09:00 AM, Wido den Hollander wrote:
> This has been discussed before and right now there is a PR for using Config 
> Drive: https://github.com/apache/cloudstack/pull/2116
> 
> The problem with 169.254.169.254 is:
> 
> - It doesn't work with IPv6
> - It doesn't work with Basic Networking
> - You need to do iptables intercepting on the VR
> 
> Config Drive is a IP-protocol independent solution for getting metadata into 
> the Instance without the need for IP connectivity.
> 
> Imho that's a much better solution.

Perfect, makes sense! Thanks for the quick reply.

René


Re: [DISCUSS] Metadata server IP improvement

2017-07-26 Thread Wido den Hollander

> Op 25 juli 2017 om 18:53 schreef Rene Moser :
> 
> 
> Hi
> 
> Speaking about VR improvements: I would like to change the way we need
> to find the metadata API.
> 
> Currently we do something like "cat
> /var/lib/dhclient/dhclient-eth0.leases | grep dhcp-server-identifier |
> tail -1" to find the IP of the service.
> 
> However, parsing a dhcp lease file is not the best option and it is not
> consistent across OS levels.
> 
> OpenStack and EC2 AWS uses 169.254.169.254. Would it make sense to adopt
> this?
> 

This has been discussed before and right now there is a PR for using Config 
Drive: https://github.com/apache/cloudstack/pull/2116

The problem with 169.254.169.254 is:

- It doesn't work with IPv6
- It doesn't work with Basic Networking
- You need to do iptables intercepting on the VR

Config Drive is a IP-protocol independent solution for getting metadata into 
the Instance without the need for IP connectivity.

Imho that's a much better solution.

Wido

> René