Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-2067

FIWARE.Request.Lab.Budapest.FIWARE Lab questions.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hi,

      My name is José Andreis and I am part of a team that is applying for a call to develop agriculture related applications using the FIWARE platform. We have faced some small problems while trying to configure a cloud server in the FIWARE platform and I would like to know if you could help us with the following questions:

      1 - In the Cloud section of FIWARE Lab. I was able to create a keypair, start an instance (Ubuntu server v14), add security group rules to TCP port 22 and allocating a floating IP. But I was never able to associate this IP to the instance so I could connect to the server via ssh using the PEM file generated. I tried creating the instance in several different regions and the problem happened with all. The error below is presented:

      {"badRequest": {"message": "Error. Unable to associate floating ip", "code": 400}}

      2 - I believe that if I am able to associate the IP to the instance (issue above). I will be able to connect to the server via SSH with no more problems. My second question is if I will be able to access the server files using an FTP/SSH client like CyberDuck or FileZilla to upload or edit files/scripts in the server? Generally I would need an username and password for these clients, so I wonder if there's a place in the FIWARE lab were we can create these credentials?

      3 - Is php already installed in the Ubuntu server v14 instance?

      4 - With the ubuntu instance. Will we be able to create a blueprint template for Mysql?

      5 - Is there an option for phpmyadmin interface for database (MySql) administration? If not, what is the interface for the database administration?

      6 - I assume that it will not be a problem. But just to clarify. Will the CRONTAB program be accessible via terminal for the ubuntu template?

      7 - When creating an instance. I noticed that we never have Disk space available (NaN GB available). Is there an option where we can allocate disk space for our account?

      Thank you very much for your attention.

      ?

      José

      ?

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: "Debastiani Andreis,Jose Henrique" <andreis@ufl.edu>]

        Activity

        Hide
        sandor Sándor Laki added a comment -

        Dear José,

        My answers to your questions:
        1. This is not a normal behaviour. Could you please send me which region
        you use? We can move forward only after that.
        2. The images used in FIWARE can be accessed via ssh with your private
        key assigned to the vm. However, after that you have root access within
        the vm, so you can configure username, password authentication as well.
        3. I assume that in the base images it is not the case. They only
        provide a base system where you can freely decide what to install.
        However, to deploy the necessary software stack the blueprint templates
        can be used. To do so, first you have to create a blueprint template by
        choosing the region, base os, and the softwares to be installed. After
        that you can deploy it, resulting in a new instance with all the
        required softwares. Note that this instantiation generally takes much
        more time than a simple image deployment.
        4. See 3.
        5. If apache, php and mysql are also installed, I expect that the answer
        is yes. If not, you can install it manually within the vm, using
        aptitude or apt-get in ubuntu.
        6. Free space is assigned to each vm, but it is not shown in the portal.
        However, if the space is not enough, you can create additional volumes
        in the portal, an assign them to the vm instance. After that a new disk
        appears in the vm (e.g. /dev/vdb), that can be formatted and then
        mounted similarly to a real physical disk.

        I also advise you to check the videos on instances and blueprints at
        http://help.lab.fiware.org/
        And the edu pages on Cloud hosting:
        http://edu.fi-ware.org/course/category.php?id=4
        Blueprint templetes are introduced at
        http://edu.fi-ware.org/course/view.php?id=48

        I hope this helps you.
        Best regards,
        Sandor


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        sandor Sándor Laki added a comment - Dear José, My answers to your questions: 1. This is not a normal behaviour. Could you please send me which region you use? We can move forward only after that. 2. The images used in FIWARE can be accessed via ssh with your private key assigned to the vm. However, after that you have root access within the vm, so you can configure username, password authentication as well. 3. I assume that in the base images it is not the case. They only provide a base system where you can freely decide what to install. However, to deploy the necessary software stack the blueprint templates can be used. To do so, first you have to create a blueprint template by choosing the region, base os, and the softwares to be installed. After that you can deploy it, resulting in a new instance with all the required softwares. Note that this instantiation generally takes much more time than a simple image deployment. 4. See 3. 5. If apache, php and mysql are also installed, I expect that the answer is yes. If not, you can install it manually within the vm, using aptitude or apt-get in ubuntu. 6. Free space is assigned to each vm, but it is not shown in the portal. However, if the space is not enough, you can create additional volumes in the portal, an assign them to the vm instance. After that a new disk appears in the vm (e.g. /dev/vdb), that can be formatted and then mounted similarly to a real physical disk. I also advise you to check the videos on instances and blueprints at http://help.lab.fiware.org/ And the edu pages on Cloud hosting: http://edu.fi-ware.org/course/category.php?id=4 Blueprint templetes are introduced at http://edu.fi-ware.org/course/view.php?id=48 I hope this helps you. Best regards, Sandor – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        sandor Sándor Laki added a comment -

        Dear José,

        I have just checked and in Budapest region operated by me and my
        colleagues, all the functionalities mentioned below are working
        properly. In our region, you should use publicInternal network during VM
        creation. After that you can assign a floating IP from the publicRange
        to this interface. (similarly floating IP from mdvpnRange can only be
        assigned to nic from mdvpnInternal. Note that we will change to a newer
        version of openstack soon, where it will be more easier, but now this is
        the case.)

        However, I forward your issue to the support team of Berlin node so that
        they could investigate the problem with their site.
        For that I would kindly ask you to send me (cc-d to the list), the
        project name (username) used in the cloud portal, and the instance id of
        the vm, where the problem was experienced.

        Thanks in advance!

        Best regards,
        Sandor
        – on behalf of FIWARE level-1 support team


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        sandor Sándor Laki added a comment - Dear José, I have just checked and in Budapest region operated by me and my colleagues, all the functionalities mentioned below are working properly. In our region, you should use publicInternal network during VM creation. After that you can assign a floating IP from the publicRange to this interface. (similarly floating IP from mdvpnRange can only be assigned to nic from mdvpnInternal. Note that we will change to a newer version of openstack soon, where it will be more easier, but now this is the case.) However, I forward your issue to the support team of Berlin node so that they could investigate the problem with their site. For that I would kindly ask you to send me (cc-d to the list), the project name (username) used in the cloud portal, and the instance id of the vm, where the problem was experienced. Thanks in advance! Best regards, Sandor – on behalf of FIWARE level-1 support team – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Thanks Sándor,

        I could associate the IP using the Budapest region following your instructions.

        I just could not connect to it via ssh. See below:

        ssh -i EUI_Budapest.pem root@148.6.80.120

        The authenticity of host '148.6.80.120 (148.6.80.120)' can't be established.

        RSA key fingerprint is 3f:8d:.......​

        To connect to the vm we should use the floating IP right? In this case 148.6.80.120

        I added a security group rule to TCP port 22 to 22 (Please, see image attached). Am I missing something?

        Here is my project name, username and instance ID for Berlin region:

        EUIrrigationProject<https://account.lab.fiware.org/applications/euirrigationproject>

        Jose Andreis - andreis@ufl.edu

        0bc2c47c-8d7f-478e-a5fb-975cea24cd7f

        Thank you very much for all the help.

        ​José

        Show
        fw.ext.user FW External User added a comment - Thanks Sándor, I could associate the IP using the Budapest region following your instructions. I just could not connect to it via ssh. See below: ssh -i EUI_Budapest.pem root@148.6.80.120 The authenticity of host '148.6.80.120 (148.6.80.120)' can't be established. RSA key fingerprint is 3f:8d:.......​ To connect to the vm we should use the floating IP right? In this case 148.6.80.120 I added a security group rule to TCP port 22 to 22 (Please, see image attached). Am I missing something? Here is my project name, username and instance ID for Berlin region: EUIrrigationProject< https://account.lab.fiware.org/applications/euirrigationproject > Jose Andreis - andreis@ufl.edu 0bc2c47c-8d7f-478e-a5fb-975cea24cd7f Thank you very much for all the help. ​José
        Hide
        sandor Sándor Laki added a comment -

        Hi José,

        We have just checked that you are using a standard ubuntu image, not a
        FIWARE-BASE-IMAGE. In this case, you should use the username ubuntu,
        with your key. The ubuntu user has sudo rights, so after that you can do
        anything you want...

        Sorry for that I forgot to mention it.

        Best,
        Sandor


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        sandor Sándor Laki added a comment - Hi José, We have just checked that you are using a standard ubuntu image, not a FIWARE-BASE-IMAGE. In this case, you should use the username ubuntu, with your key. The ubuntu user has sudo rights, so after that you can do anything you want... Sorry for that I forgot to mention it. Best, Sandor – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        fw.ext.user FW External User added a comment -

        Hi Sándor,

        I stil was not able to connect via ssh, the same error appeared:

        Joses-MacBook-Air-4:EUIrrigation ike$ ssh -i EUI_Budapest.pem ubuntu@148.6.80.120

        The authenticity of host '148.6.80.120 (148.6.80.120)' can't be established.

        RSA key fingerprint is 3f:8d:48:da:c1:c3:99:f5:eb:6d:47:17:93:a8:a0:e3.

        Are you sure you want to continue connecting (yes/no)? no

        Host key verification failed.

        The finger print of my keypair starts with 9e:78:69...

        Would you know what could be the problem?

        Thanks,

        José

        Show
        fw.ext.user FW External User added a comment - Hi Sándor, I stil was not able to connect via ssh, the same error appeared: Joses-MacBook-Air-4:EUIrrigation ike$ ssh -i EUI_Budapest.pem ubuntu@148.6.80.120 The authenticity of host '148.6.80.120 (148.6.80.120)' can't be established. RSA key fingerprint is 3f:8d:48:da:c1:c3:99:f5:eb:6d:47:17:93:a8:a0:e3. Are you sure you want to continue connecting (yes/no)? no Host key verification failed. ​ The finger print of my keypair starts with 9e:78:69... Would you know what could be the problem? Thanks, José
        Hide
        sandor Sándor Laki added a comment -

        Hi,

        Please answer yes to the question below. This is the key of the server
        side not the one belongs to you.
        Please let me know if it helped.

        Best,
        Sandor


        Sándor Laki
        EU FP7 FI-PPP XIFI project,
        Wigner Research Centre for Physics,
        Hungarian Academy of Sciences
        Konkoly Thege Miklós út 29-33.
        H-1121, Budapest, Hungary
        Cell: +36 70 374 2646
        Skype: sandor.laki

        XIFI: https://fi-xifi.eu/home.html
        FI-PPP: http://www.fi-ppp.eu/

        _______________________________________________
        Fiware-lab-help mailing list
        Fiware-lab-help@lists.fi-ware.org
        https://lists.fi-ware.org/listinfo/fiware-lab-help

        Show
        sandor Sándor Laki added a comment - Hi, Please answer yes to the question below. This is the key of the server side not the one belongs to you. Please let me know if it helped. Best, Sandor – Sándor Laki EU FP7 FI-PPP XIFI project, Wigner Research Centre for Physics, Hungarian Academy of Sciences Konkoly Thege Miklós út 29-33. H-1121, Budapest, Hungary Cell: +36 70 374 2646 Skype: sandor.laki XIFI: https://fi-xifi.eu/home.html FI-PPP: http://www.fi-ppp.eu/ _______________________________________________ Fiware-lab-help mailing list Fiware-lab-help@lists.fi-ware.org https://lists.fi-ware.org/listinfo/fiware-lab-help
        Hide
        sandor Sándor Laki added a comment -

        I got in private:

        Hi Sandor,

        Everything is working now. I was able to connect and install apache, mysql and php.

        Thank you very much for all your help.

        José

        Show
        sandor Sándor Laki added a comment - I got in private: Hi Sandor, Everything is working now. I was able to connect and install apache, mysql and php. Thank you very much for all your help. ​ José

          People

          • Assignee:
            sandor Sándor Laki
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: