[Fiware-lab-help] [Floating IP] Project Quota not correctly showed

luigi.papino at gmail.com luigi.papino at gmail.com
Fri Jan 31 02:03:02 CET 2014


Ok, one very last question. I need to "duplicate" my virtual machine, how I
wrote in another email with the sequence diagram.
I would like to do it automatically (with http request from a php script):

   1. Launch an instance from a private snapshot, with my customization,
   data in database and php scripts;
   2. Allocate a Floating IP;
   3. Associate the floating IP;

Is there any way to do this with PaaS? If no, is there any other way to
duplicate a machine when the user of the platform increases?
The problem that I'm experiencing with PaaS is that I have to launch
manually a configuration  script to add my customization, like the table of
the DB, after the deployment. Is it correct?

If I must follow this way, I need the customization on the software in
blueprints, like the mysql password and other things. Where I can found
this customization?


On 31 January 2014 00:48, FERNANDO LOPEZ AGUILAR <fla at tid.es> wrote:

>  Hi Luigi,
>
>  How I mentioned yesterday, Claudia was discontinuated some months ago.
> The functionality that you are commented was not finally developed and we
> cannot offer you a link of it in the wiki.
>
>  I suggest to move to the PaaS Manager (Blueprint management) which offer
> almost all the functionality that was developed by Claudia.
>
> Fernando López Aguilar
> Cloud Computing
> fla at tid dot es
> +34 914 832 729
> Telefónica I+D (R&D)
> Ronda de la Comunicación s/n
> Distrito C, Edificio Oeste 1, Planta 9
> 28043 Madrid, Spain
>
>
>
>
>
>
>   Follow FI-WARE on the net
>
> 	Website:  http://www.fi-ware.eu
> 	Facebook: http://www.facebook.com/pages/FI-WARE/251366491587242
> 	Twitter:  http://twitter.com/Fiware
> 	LinkedIn: http://www.linkedin.com/groups/FIWARE-4239932
>
>
>
>
>
>  El 30/01/2014, a las 21:30, luigi.papino at gmail.com escribió:
>
>  However, if it is not a problem, can you point me to some documentation
> to allocate and associate a floating ip with Claudia?
>
> I tried in two ways:
>>
>>  function filab_get_ip($token) {
>>
>>  include_once 'curl.class.php';
>>
>>  $url = 'http://cloud.lab.fi-ware.eu:4730/v2.0/os-floating-ips';
>>
>>   $postData = '{"pool":"net8300"}';
>>
>>   $curl = new Curl ();
>>
>>  $curl->headers [] = "Content-type: application/json";
>>
>>  $curl->headers [] = "X-Auth-Token: $token";
>>
>>  //$curl->headers [] = "Access-Control-Allow-Headers: origin,
>>> content-type, X-Auth-Token, Tenant-ID, x-image-meta-is_public,
>>> x-image-meta-name";
>>
>>  $json = $curl->post ( $url, $postData );
>>
>>   $res = json_decode ( $json, true );
>>
>>  $ip = $res ['floating-ip'] ['ip'];
>>
>>  return $token;
>>
>>  }
>>
>>
>  and with the url sniffed from FI-LAB, but both doesn't work. In the
> first one, the script simply die on "curl->post" instruction and in the
> second one the response is a 401 error for unauthorized .
>
> thank you!
>
>
> On 31 January 2014 00:22, luigi.papino at gmail.com <luigi.papino at gmail.com>wrote:
>
>> Yes, and the interface tell me that  10 ips are stil available
>>
>>
>> On 30 January 2014 23:51, José Ignacio Carretero Guarde <jicg at tid.es>wrote:
>>
>>> Your project (00000000000000000000000000002021) have 3 ips allocated and
>>> only 2 associated:
>>>
>>> 130.206.82.89    --- Orion Broker & Appetitoo
>>> 130.206.82.125 --- AppetitooCleanInstance-Main-1
>>> 130.206.82.35  --- Which is not associated with anything.
>>>
>>> BR,
>>> José Ignacio.
>>>
>>> El 30/01/14 23:37, luigi.papino at gmail.com escribió:
>>>
>>>> I have alreay two IPs allocated, but the Project Quotas is still 0
>>>>
>>>> Maybe this can help. Thank you.
>>>>
>>>>  Inline images 1
>>>>
>>>>
>>>> _______________________________________________
>>>> Fiware-lab-help mailing list
>>>> Fiware-lab-help at lists.fi-ware.eu
>>>> https://lists.fi-ware.eu/listinfo/fiware-lab-help
>>>>
>>>
>>>
>>> ________________________________
>>>
>>> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
>>> nuestra política de envío y recepción de correo electrónico en el enlace
>>> situado más abajo.
>>> This message is intended exclusively for its addressee. We only send and
>>> receive email on the basis of the terms set out at:
>>> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>>>
>>
>>
>  _______________________________________________
> Fiware-lab-help mailing list
> Fiware-lab-help at lists.fi-ware.eu
> https://lists.fi-ware.eu/listinfo/fiware-lab-help
>
>
>
> ------------------------------
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
> nuestra política de envío y recepción de correo electrónico en el enlace
> situado más abajo.
> This message is intended exclusively for its addressee. We only send and
> receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20140131/6fa63a91/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy