# Second Update of INDIGO-2

The Second Update of INDIGO-2 release contains:

* [IM v. 1.5.5](#im)
* [FutureGateway](#fg):
  * [fgAPIServer v0.0.8](#fg)
  * [APIServerDaemon v0.0.8](#fg)
  * [PortalSetup v0.0.8](#fg)
  * [fgSetup v0.0.8](#fg)
* [LiferayPlugins v. 2.0.3](#lp)
* [ONEdock v. 1.2](#onedock)
* [TOSCA-parser v. 0.8.2](#tp)

## Infrastructure Manager v. 1.5.5

#### What's new

* Add Support OTC.
* Support "DependsOn" TOSCA relationship.
* Enable to specify a port range in endpoint ports.
* Fix error loading an infrastructure from DB in case of invalid TOSCA.
* Fix error getting IP info in OCCI conn.
* Fix error in Azure conn creating a VM with only a public net attached.
* Fix error in contextualization nodes with private leys.
* More bugfixes and improvements...

#### List of RfCs

* Add support for instance\_type in host properties: <https://github.com/indigo-dc/im/issues/182>.
* Support dependson relationship getting level: <https://github.com/indigo-dc/im/issues/179>.
* Enable to open different set of ports per VM: <https://github.com/indigo-dc/im/issues/176>.
* Fix error loading an infrastructure from DB in case of invalid TOSCA: <https://github.com/indigo-dc/im/issues/174>.
* Enable to specify a port range in endpoint ports: <https://github.com/indigo-dc/im/issues/172>.
* Fix error: source\_range in ports property of endpoint capability is not correctly processed: <https://github.com/indigo-dc/im/issues/170>.
* Improve IAM token local validation enhancement: <https://github.com/indigo-dc/im/issues/148>.
* Fix error getting IP info in OCCI conn: <https://github.com/grycap/im/issues/331>.
* Enable to reset the add\_public\_ip\_count in the OCCI/OST conns: <https://github.com/grycap/im/issues/334>.
* Improve Azure instance\_type selection: <https://github.com/grycap/im/issues/335>.
* Improve GCE instance type selection: <https://github.com/grycap/im/issues/336>.
* Manage DNS records in EC2, Azure and GCE connectors: <https://github.com/grycap/im/issues/340>.
* Fix error in Azure conn creating a VM with only a public net attached: <https://github.com/grycap/im/issues/342>.
* Fix error in contextualization nodes with private keys: <https://github.com/grycap/im/issues/313>.
* Improve OpenNebula conn with new ver. 5 functions as SGs: <https://github.com/grycap/im/issues/319>.
* Improve error mesage in case of invalid proxy in OCCI conn: <https://github.com/grycap/im/issues/317>.
* Fix errors in Azure connector : <https://github.com/grycap/im/issues/323>, <https://github.com/grycap/im/issues/324>.
* Fix errors with python3 <https://github.com/grycap/im/issues/278>, <https://github.com/grycap/im/issues/284>
* Fix error in some SFTP functions in SSH class. <https://github.com/grycap/im/issues/280>
* Change default value of REMOTE\_CONF\_DIR to /var/tmp. <https://github.com/grycap/im/issues/283>
* Enable to specify a port range in outports. <https://github.com/grycap/im/issues/285>
* Add functions to create VM snapshots. <https://github.com/grycap/im/issues/152>
* Fix error in OCCI conn setting public key. <https://github.com/grycap/im/issues/292>
* Improve SG management in connectors EC2 and OpenStack. <https://github.com/grycap/im/issues/296>
* Add support to OTC. <https://github.com/grycap/im/issues/302>
* In case of hybrid infrastructures some connector will not remove all resources. <https://github.com/grycap/im/issues/288>
* Select a random pool in case of OpenStack site in OCCI conn. <https://github.com/grycap/im/issues/306>
* Detach volumes before removing it in OCCI conn. <https://github.com/grycap/im/issues/305>
* Support OpenStack calls with VOMS proxies. <https://github.com/grycap/im/issues/310>

#### Installation & Configuration

\*The supported platforms

* CentOS 7
* Ubuntu 14.04
* Ubuntu 16.04
* To upgrade to the last version first you have to install the new version using yum or apt tool:\</br> `yum update IM RADL`  `apt install python-im python-radl` \</br>
* To update a container the user has to:
  * Stop the old container:\</br>

    `sudo docker stop im` \</br>
  * Remove the old container:\</br>

    `sudo docker rm im` \</br>
  * Pull the new image version:\</br>

    `sudo docker pull indigodatacloud/im` \</br>
  * Start the new version:\</br>

    `sudo docker run -d -p 8899:8899 -p 8800:8800 -e IM_DATA_DB=mysql://username:password@server/` \</br>

#### Artefacts

* CentOS 7
  * [IM-1.5.5-1.el7.noarch.rpm](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/x86_64/updates/IM-1.5.5-1.el7.noarch.rpm)
* Ubuntu 14.04
  * [python-im\_1.5.5-1\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/binary-amd64/python-im_1.5.5-1_all.deb)
* Ubuntu 16.04
  * [python-im\_1.5.5-1\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/xenial-updates/main/binary-amd64/python-im_1.5.5-1_all.deb)
* Docker Container:
  * [indigodatacloud/im:indigo\_2](https://hub.docker.com/r/indigodatacloud/im/tags/)

## FutureGateway

### fgAPIServer, APIServerDaemon, PortalSetup \&fgSetup v. 0.0.8

#### What's new

* This update provides mainly fixes of several bugs discovered after the electric indigo release. Few changes have been added to the installation especially taking in mind newcomers allowing them to improve the user experience while installing and testing the environment.
  * *fgAPIServer* - The front-end is the most impacted component in this release. It provides the implementation of new API specs concerning Applications and Infrastructure changes. Other minor code refinements have been included as well.
  * *APIServerDaemon* - It only contains a fix related to LiferayPTV service handling. ToscaIDC logging has been modified during resource creation.
  * *PortalSetup* - Contain modified fgSetup.sh files to point the v0.0.8 release
  * *fgSetup* - Contain a revised ansible role which supports both Ubuntu 14.04 and 16.0x and fgcommons.yml file fixed to point the v0.0.8 release

#### List of RfCs

\*fgAPIServer

* Empty authorization token causes error 500 instead of 401 <https://github.com/indigo-dc/fgAPIServer/issues/51>
* Wrong parameter in Applications <https://github.com/indigo-dc/fgAPIServer/issues/50>
* Missed links <https://github.com/indigo-dc/fgAPIServer/issues/31>
* Not displaying properly tasks/ when specifying user=? filter <https://github.com/indigo-dc/fgAPIServer/issues/49>

#### Installation & Configuration

* Updating existing components:
  * *APIServerDaemon* - Stop the APIServerDaemon stopping Tomcat or the APIServerDaemon webapp. Rename the current APIServerDaemon directory to keep a safe copy of the old version (you will also need some files from it). Extract from GitHub the new APIServerDaemon with a clone command. From the older folder, copy the whole lib/ directory. Compile the code executing 'ant all'. At the end of the compilation, copy the generated war file under dist directory into the tomcat webapps folder and wait until the new APIServerDaemon web application is successfully deployed.
  * *fgAPIServer* - Stop apache or any WSGI engine supporting the fgAPIServer execution; stop any other stand-alone execution instance (if any). Rename the fgAPIServer folder to keep safe the older version (you may need from it the fgapiserver.conf file as well as the apps folder). Extract from GitHub the new version cloning the fgAPIServer sources. Recover from the older version the fgapiserver.conf file and the apps folder. Restart the WSGI engine (apache for instance) and any other stand-alone instance if necessary.
  * *PortalSetup* - It just contain the new revised contextualization script to install FG on top of an EGI FedCloud node. The script generated by the contextualization file can be used as reference for stand-alone installations as well.

#### Artefacts

* CentOS7
  * [fgAPIServer-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/SRPMS/tgz/fgAPIServer-v0.0.8.tar.gz)
  * [APIServerDaemon-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/SRPMS/tgz/APIServerDaemon-v0.0.8tar.gz)
  * [PortalSetup-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/SRPMS/tgz/PortalSetup-v0.0.8.tar.gz)
* Ubuntu16.04
  * [fgAPIServer-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/source/fgAPIServer-v0.0.8tar.gz)
  * [APIServerDaemon-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/source/APIServerDaemon-v0.0.8.tar.gz)
  * [PortalSetup-v0.0.8.tar.gz](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/source/PortalSetup-v0.0.8.tar.gz)

## LiferayPlugIns v. 2.0.3

#### What's new

* The new version introduces several improvements:
  * allow to search among tasks, applications and infrastructures using the FG admin portlet
  * allow to modify information associated with applications and infrastructures
  * make the customisable portlet configurareble by the domain administrator

#### List of RfCs

* [Issue-13](https://github.com/indigo-dc/LiferayPlugIns/issues/13) - Implement filtering in the admin portlet&#x20;
* [Issue-14](https://github.com/indigo-dc/LiferayPlugIns/issues/14) - Update FutureGateway value
* [Issue-17](https://github.com/indigo-dc/LiferayPlugIns/issues/17) - Customisable portlet configuration in configuration panel

#### Installation \\& Configuration

* To upgrade the modules have to be installed again. All configurations will be maintained.
* More information can be found in the "Upgrade to a new release" section of the [Administration Guide](https://indigo-dc.gitbooks.io/liferay-iam-connector/content/doc/admin.html)

#### Artefacts

* CentOS 7
  * [LiferayPlugIns-binary-v2.0.3.tgz](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/x86_64/tgz/LiferayIAM-binary-v2.0.3.tgz)
* Ubuntu14.04
  * [LiferayPlugIns-binary-v2.0.3.tgz](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/binary-amd64/LiferayIAM-binary-v2.0.3.tgz)

## ONEdock v. 1.2

#### What's new

* Implemented first version of persistence
* Update tests to work with opennebula 4 and opennebula 5

#### List of RfCs

* Implemented first version of persistence <https://github.com/indigo-dc/onedock/pull/66>
* Update OneDock documentation <https://github.com/indigo-dc/onedock/pull/70>
* Update tests to work with one4 and one 5 <https://github.com/indigo-dc/onedock/pull/76>
* Fix typo in onedock-master.spec for one 5 <https://github.com/indigo-dc/onedock/pull/77>

#### Installation & Configuration

* The supported platforms
  * CentOS 7
  * Ubuntu 14.04
  * Ubuntu 16.04
* Installation methods
  * To install onedock it's recommended to use the install scripts available here: <https://github.com/indigo-dc/onedock/tree/master/install>
  * If you plan to use the packages, please, read the manual first:<https://indigo-dc.gitbooks.io/onedock/content/doc/install.html>

#### Artefacts

* CentOS 7
  * [onedock-master-1.2-1.noarch.rpm](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/x86_64/updates/onedock-master-1.2-1.noarch.rpm)
  * [onedock-node-1.2-1.noarch.rpm](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/x86_64/updates/onedock-node-1.2-1.noarch.rpm)
* Ubuntu 14.04
  * [onedock\_1.2-1\_master\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/binary-amd64/onedock_1.2-1_master_all.deb)
  * [onedock\_1.2-1\_node\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/binary-amd64/onedock_1.0-2_node_all.deb)
* Ubuntu 16.04
  * [onedock\_1.2-1\_master\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/xenial-updates/main/binary-amd64/onedock_1.2-1_master_all.deb)
  * [onedock\_1.2-1\_node\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/xenial-updates/main/binary-amd64/onedock_1.0-2_node_all.deb) &#x20;

## TOSCA-parser v. 0.8.2

#### What's new

* The updated version of TOSCA-parser addresses minor bugfixes and merged 0.8.1 upstream version.

#### List of RfCs

* Merge upstream version 0.8.1
* Fix error getting relationshps in case of custom\_def capability: <https://bugs.launchpad.net/tosca-parser/+bug/1687598>
* Fix \_find\_host\_containing\_property does not search for properties in capabilities: <https://bugs.launchpad.net/tosca-parser/+bug/1675764>

#### Installation & Configuration

In order to update the packages please use:

* For CentOS 7:<br>

  `yum clean all && yum update tosca-parser`<br>
* For Ubuntu 14:04/16.04:<br>

  `apt-get update && apt-get install python-tosca-parser`<br>

#### Artefacts

* CentOS7
  * [tosca-parser-0.8.2-.el7.noarch.rpm](http://repo.indigo-datacloud.eu/repository/indigo/2/centos7/x86_64/updates/tosca-parser-0.8.2-1.el7.noarch.rpm)
* Ubuntu 14.04
  * [python-tosca-parser\_0.8.2-1\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/trusty-updates/main/binary-amd64/python-tosca-parser_0.8.2-1_all.deb)
  * Ubuntu 14.04
  * [python-tosca-parser\_0.8.2-1\_all.deb](http://repo.indigo-datacloud.eu/repository/indigo/2/ubuntu/dists/xenial-updates/main/binary-amd64/python-tosca-parser_0.8.2-1_all.deb)
