Ask Your Question
0

Deploy an application tha already exist

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

jihen gravatar image

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

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

Comments

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 -0600 )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 -0600 )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 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
5

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

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.

Thanks.

edit flag offensive delete link more

Comments

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 -0600 )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 -0600 )edit

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

jihen gravatar imagejihen ( 2014-05-14 11:50:50 -0600 )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 -0600 )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 -0600 )edit
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 332 times

Last updated: Aug 04 '15