Ask Your Question

Deploy an application tha already exist

asked 2014-05-14 02:45:58 -0500

jihen gravatar image

updated 2015-08-03 18:14:21 -0500

smaffulli gravatar image

Hi everyone, I have an application that already exist so how could I implemented it on openstack????? I have a sales application based on ROA architecture and this application is already devlopped and I want to implemented it on openstack in order to improve the quality of this application. I need this for my research

edit retag flag offensive close merge delete


What kind of application you are talking about ? Have Openstack Nodes been already setup and functional ?

dbaxps gravatar imagedbaxps ( 2014-05-14 03:00:29 -0500 )edit

Yes the controller node and the compute node are already set (I'm workng with legacy network). A java application

jihen gravatar imagejihen ( 2014-05-14 03:03:05 -0500 )edit

Can you better explain your question? What type of application do you have, which is its architecture, how openstack will interact with it (simply hosting application related VM, instantiating a deployment of the application through HEAT)...

Please be more clear, you can reedit your question and its title.

Antonio G. gravatar imageAntonio G. ( 2014-05-14 03:04:24 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2014-05-14 04:20:47 -0500

SGPJ gravatar image

You need to run your Java app on a VM created using Openstack, below is the steps to do it.

In Openstack Dashboard:

Create a Linux instance (Ubuntu) and launch the VM with internet access

Install open jdk & Eclipse IDE

Run you java app in VM using IDE.


edit flag offensive delete link more


When I lauch an instance with: nova boot --image 30799aa2-5f4d-4a27-ae0b-98f32f1a065a --flavor m1.medium --key_name lxplus doctest2 I got this error: ERROR: Invalid key_name provided. (HTTP 400) (Request-ID: req-52e903dd-638d-4b09-905d-1c9d6817e901) Could you help me please

jihen gravatar imagejihen ( 2014-05-14 05:10:12 -0500 )edit

You can search in this forum for similar issue else post as a new question.

SGPJ gravatar imageSGPJ ( 2014-05-14 05:16:46 -0500 )edit

After creating a ubuntu VM using dhaboard how coul I access to this image???

jihen gravatar imagejihen ( 2014-05-14 11:50:50 -0500 )edit

Assign floating IP to VM and ssh to it. Also you can console asses to VM in same dashboard.

SGPJ gravatar imageSGPJ ( 2014-05-14 23:33:38 -0500 )edit

When I lanch the image tha I have create I get this error (/var/log/nova/nova-compute.log) ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager._instance_usage_audit: Remote error: DBError SQLite DateTime type only accepts Python datetime and date objects as input. (original cause: TypeError: SQLite DateTime type only accepts Python datetime and date objects as input.) u'INSERT INTO task_log (created_at, updated_at, deleted_at, deleted, task_name, state, host, period_beginning, period_ending, message, task_items, errors) Any help please

jihen gravatar imagejihen ( 2014-05-15 04:47:52 -0500 )edit

answered 2015-08-04 12:56:08 -0500

suropatz gravatar image

Hi, As you launch the VM instance using CLI, you can also pass user-data in yaml format. This can help you install the jdk, eclipse packages and then start the application of your choice - so that you do not have any manual steps after the instance comes up, and your service is ready! You may even choose to set ssh-keys, sudo etc. for your choice of user on the VM instance using cloud-init user-data.

The user-data is passed in form of config-drive, and cloud-init is the software, in Linux distro, which processes the yaml file and act onto that.

For further information on cloud-init please check, link text
link text

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-14 02:45:58 -0500

Seen: 554 times

Last updated: Aug 04 '15