[one-users] regarding host status error on opennebula 4.12

2015-04-16 Thread Rajendar K
  Hi All,

  i installed opennebula 4.12 on ubuntu 14.04 using (apt-get)



Log shows the error as

 command execution fail, if [ -x var/tmp/one/im/run_probes] ..

  , hostkey verification failed



I tried

(i)  onehost sync, and onehost delete and add also…

(ii) added ~ssh/config also

(iii)   Permission to /var/tmp/one/im/run_probes also .



However I can run the script “ /var/tmp/one/im/run_probes….”, ( shows all
information )



 kindly help for a solution.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] reg rocci-server: authentication failure

2015-01-07 Thread Rajendar K
Hi All,
  I have installed and configured rocci-server (by source) (..A).
Installed opennebula 4.6 on another machine (..B).

When i try to access using server, i have got the following error
curl --insecure -u 'rocci:zaq12wsx' https://10.1.26.32:11443/
*Authentication failed! The following strategies are supported basic!*

at B, i have created user rocci
oneuser list
  18 rocci   oneadmin   server_c - -
-


===
configuration details as follows

*VirtualHost *:11443*
*# if you wish to change the default Ruby used to run this app*
*PassengerRuby /usr/bin/ruby*

*# enable SSL*
*SSLEngine on*

*# for security reasons you may restrict the SSL protocol, but some
clients may fail if SSLv2 is not supported*
*SSLProtocol all*

*# this should point to your server host certificate*
*SSLCertificateFile /etc/grid-security/apache.crt*

*# this should point to your server host key*
*SSLCertificateKeyFile /etc/grid-security/apache.key*

*# directory containing the Root CA certificates and their hashes*
*SSLCACertificatePath /etc/grid-security*

*SetEnv ROCCI_SERVER_LOG_DIR /var/log/rocci-server*
*SetEnv ROCCI_SERVER_ETC_DIR /etc/rocci-server*
*SetEnv ROCCI_SERVER_PROTOCOL  https*
*SetEnv ROCCI_SERVER_HOSTNAME  10.1.26.32*
*SetEnv ROCCI_SERVER_PORT  11443*
*SetEnv ROCCI_SERVER_AUTHN_STRATEGIES  basic*
*SetEnv ROCCI_SERVER_HOOKS dummy*
*SetEnv ROCCI_SERVER_BACKEND   opennebula*
*SetEnv ROCCI_SERVER_LOG_LEVEL debug*
*SetEnv ROCCI_SERVER_LOG_REQUESTS_IN_DEBUG yes*
*SetEnv ROCCI_SERVER_TMP   /tmp/rocci_server*
*SetEnv ROCCI_SERVER_MEMCACHES 10.1.26.32:11211
http://10.1.26.32:11211 *

*## ONE backend*
*SetEnv ROCCI_SERVER_ONE_XMLRPC  http://10.4.112.11:2633/RPC2
http://10.4.112.11:2633/RPC2 *
*SetEnv ROCCI_SERVER_ONE_USERrocci  *
*SetEnv ROCCI_SERVER_ONE_PASSWD  zaq12wsx*

*/VirtualHost*



Log details
*[ 2015-01-07 12:38:20.0522 10266/7fc800a7b740
agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening
at unix:/tmp/passenger.1.0.10254/generation-0/logging*
*[ 2015-01-07 12:38:20.0525 10257/7f9814e6c740 agents/Watchdog/Main.cpp:728
]: All Phusion Passenger agents started!*
*[Wed Jan 07 12:38:20 2015] [notice] Apache/2.2.22 (Ubuntu) mod_ssl/2.2.22
OpenSSL/1.0.1  Apache rOCCI-server OCCI/1.1 Phusion_Passenger/4.0.44
configured -- resuming normal operations*
*[Wed Jan 07 12:38:30 2015] [info] [client 10.1.26.32] Connection to child
0 established (server micloud-nc:443)*
*[Wed Jan 07 12:38:30 2015] [info] Seeding PRNG with 656 bytes of entropy*
*[Wed Jan 07 12:38:30 2015] [info] Initial (No.1) HTTPS request received
for child 0 (server micloud-nc:443)*
*App 10353 stdout: *
*[ 2015-01-07 12:38:32.2411 10260/7f8088e0e700 Pool2/SmartSpawner.h:297 ]:
Preloader for /opt/rOCCI-server started on PID 10353, listening on
unix:/tmp/passenger.1.0.10254/generation-0/backends/preloader.10353*
*App 10371 stdout: *
*[Wed Jan 07 12:38:32 2015] [info] [client 10.1.26.32] Connection closed to
child 0 with standard shutdown (server micloud-nc:443)*

===


Kindly provide solution.





regards
raj
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] reg sunstone - VNC

2014-11-06 Thread Rajendar K
Hi All,
   I am using opennebula 4.6 version.  My setup has
(i) ONE   -  Machine A  ( sunstone server is also running)
  -  two nodes z1-nc04, z1-nc03

(ii) Sunstone Sever  -  Machine B, (using the same credential of Machine A)

   the issue i am facing is that i can access the VNC of any VM
using
the sunstone [machine A], but when i access through machine B, it fails.
Both machines are in the same subnet. (using telnet i can see its being
connected)

The novnc log is as follows,

WebSocket server settings:
  - Listen on :29876
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - proxying from :29876 to targets in
/srv/cloud/one/var/sunstone_vnc_tokens

  1: 10.1.26.51: Plain non-SSL (ws://) WebSocket connection
  1: 10.1.26.51: Version hybi-13, base64: 'False'
  1: 10.1.26.51: Path: '/?token=npfbnzreud4ozaiasiwq'
  1: connecting to: z1-nc04:5995
  1: handler exception: [Errno -3] Temporary failure in name resolution
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] reg oneflow - service template

2013-12-03 Thread Rajendar K
Hi Carlos,
Thanks for the mail. Here are my queries,


On Tue, Dec 3, 2013 at 7:52 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Mon, Dec 2, 2013 at 4:51 AM, Rajendar K k.rajen...@gmail.com wrote:

 Hi Carlos,
   I have updated the files [oneflow-templates and
 service] as per your instructions. Hereby specify the output of oneflow

 = Elasticty conditions

  min_vms: 1,
   max_vms: 3,
 *  cooldown: 60, = At what period , this parameter is
 being employed?   *
   elasticity_policies: [
 {
   type: CHANGE,
   adjust: 1,
   expression: CPU  60,
   period: 3,
   period_number: 30,
   cooldown: 30
 }
   ],
   scheduled_policies: [

   ]
 }


 kindly provide detail on how auto-scaling is happened in the above
 sample, with relates to period_number , period and cooldown


 The period_number, period and cooldown attributes are explained in detail
 in the documentation [1].
 In your example, the expression CPU  60 must be true 30 times, each 3
 seconds.



*So the scaling should be triggered after 1.30 minutes (30 * 3 seconds) (90
seconds)  is it right?*

*The log shows that scaling is triggered after 16 minutes,*

LOG MESSAGES

12/02/13 10:06 [I] New state: DEPLOYING
*12/02/13 10:07 [I] New state: RUNNING*
*12/02/13 10:22 [I] Role role1 scaling up from 1 to 2 nodes*
12/02/13 10:22 [I] New state: SCALING
12/02/13 10:23 [I] New state: COOLDOWN
12/02/13 10:23 [I] New state: RUNNING
*12/02/13 10:38 [I] Role role1 scaling up from 2 to 3 nodes*
12/02/13 10:38 [I] New state: SCALING
12/02/13 10:39 [I] New state: COOLDOWN
12/02/13 10:39 [I] New state: RUNNING




 After the scaling, your service will be in the cooldown period for 30
 seconds before returning to running. The only defined policy is overriding
 the default cooldown of 60 that you set.


if my understanding is correct, if we didn't specify any cooldown for each
role , it takes the default policy as 60 using that parameter?

In a previous email you mentioned:

 On Fri, Nov 29, 2013 at 5:19 AM, Rajendar K k.rajen...@gmail.com wrote:

 (ii) Scheduled policies
  - For my trial i have specified
  start time - 2013-11-29 10:30:30
   is my time format is correct? unable to scale up/down
 using this time format.


 But the output you provided does not have any scheduled_policies. Was that
 another different template?


Yes, its a  different template



 Regards.

 [1] http://opennebula.org/documentation:rel4.4:appflow_elasticity
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org
  | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org



 On Mon, Dec 2, 2013 at 4:51 AM, Rajendar K k.rajen...@gmail.com wrote:

 Hi Carlos,
   I have updated the files [oneflow-templates and
 service] as per your instructions. Hereby specify the output of oneflow


 root@:/srv/cloud/one# oneflow show 179
 SERVICE 179
 INFORMATION
 ID  : 179
 NAME: Sampletest
 USER: root
 GROUP   : oneadmin
 STRATEGY: straight
 SERVICE STATE   : RUNNING
 SHUTDOWN: shutdown

 PERMISSIONS

 OWNER   : um-
 GROUP   : ---
 OTHER   : ---

 ROLE role1
 ROLE STATE  : RUNNING
 VM TEMPLATE : 590
 CARNIDALITY : 3
 MIN VMS : 1
 MAX VMS : 3
 COOLDOWN: 60s
 SHUTDOWN: shutdown
 NODES INFORMATION
  VM_ID NAMESTAT UCPUUMEM
 HOST   TIME
568 role1_0_(service_179)   runn0   1024M 10.1.26.32
 0d 01h24
569 role1_1_(service_179)   runn0   1024M 10.1.26.31
 0d 01h07
570 role1_2_(service_179)   runn0   1024M 10.1.26.32
 0d 00h51

 ELASTICITY RULES

 ADJUST   EXPRESSION   EVALS
 PERIOD  COOL
 + 1  CPU[0.0]  6030 /
 3s   30s


 LOG
 MESSAGES
 12/02/13 10:06 [I] New state: DEPLOYING
 12/02/13 10:07 [I] New state: RUNNING
 12/02/13 10:22 [I] Role role1 scaling up from 1 to 2 nodes
 12/02/13 10:22 [I] New state: SCALING
 12/02/13 10:23 [I] New state: COOLDOWN
 12/02/13 10:23 [I] New state: RUNNING
 12/02/13 10:38 [I] Role role1 scaling up from 2 to 3 nodes
 12/02/13 10:38 [I] New state: SCALING
 12/02/13 10:39 [I] New state: COOLDOWN
 12/02/13 10:39 [I] New state: RUNNING

 = Elasticty conditions

  min_vms: 1,
   max_vms: 3,
 *  cooldown: 60, = At what period , this parameter is
 being employed?   *
   elasticity_policies: [
 {
   type: CHANGE,
   adjust: 1,
   expression: CPU  60,
   period: 3,
   period_number: 30,
   cooldown: 30

Re: [one-users] reg oneflow - service template

2013-12-01 Thread Rajendar K
Hi Carlos,
  I have updated the files [oneflow-templates and service]
as per your instructions. Hereby specify the output of oneflow


root@:/srv/cloud/one# oneflow show 179
SERVICE 179
INFORMATION
ID  : 179
NAME: Sampletest
USER: root
GROUP   : oneadmin
STRATEGY: straight
SERVICE STATE   : RUNNING
SHUTDOWN: shutdown

PERMISSIONS

OWNER   : um-
GROUP   : ---
OTHER   : ---

ROLE role1
ROLE STATE  : RUNNING
VM TEMPLATE : 590
CARNIDALITY : 3
MIN VMS : 1
MAX VMS : 3
COOLDOWN: 60s
SHUTDOWN: shutdown
NODES INFORMATION
 VM_ID NAMESTAT UCPUUMEM HOST
TIME
   568 role1_0_(service_179)   runn0   1024M 10.1.26.32 0d
01h24
   569 role1_1_(service_179)   runn0   1024M 10.1.26.31 0d
01h07
   570 role1_2_(service_179)   runn0   1024M 10.1.26.32 0d
00h51

ELASTICITY RULES

ADJUST   EXPRESSION   EVALS PERIOD
COOL
+ 1  CPU[0.0]  6030 /
3s   30s


LOG
MESSAGES
12/02/13 10:06 [I] New state: DEPLOYING
12/02/13 10:07 [I] New state: RUNNING
12/02/13 10:22 [I] Role role1 scaling up from 1 to 2 nodes
12/02/13 10:22 [I] New state: SCALING
12/02/13 10:23 [I] New state: COOLDOWN
12/02/13 10:23 [I] New state: RUNNING
12/02/13 10:38 [I] Role role1 scaling up from 2 to 3 nodes
12/02/13 10:38 [I] New state: SCALING
12/02/13 10:39 [I] New state: COOLDOWN
12/02/13 10:39 [I] New state: RUNNING

= Elasticty conditions

 min_vms: 1,
  max_vms: 3,
*  cooldown: 60, = At what period , this parameter is being
employed?   *
  elasticity_policies: [
{
  type: CHANGE,
  adjust: 1,
  expression: CPU  60,
  period: 3,
  period_number: 30,
  cooldown: 30
}
  ],
  scheduled_policies: [

  ]
}


kindly provide detail on how auto-scaling is happened in the above sample,
with relates to period_number , period and cooldown

with regards
Raj


Raj,

Believe Yourself...


On Sat, Nov 30, 2013 at 2:19 AM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Fri, Nov 29, 2013 at 5:19 AM, Rajendar K k.rajen...@gmail.com wrote:

 Hi All,
   I am using opennebula 4.2, i have the following queries
 related to auto scaling features

 (i) Even when conditions met, scaling up takes long time to trigger.
 For my trial,  I have used #periods 5   #period 30 cooldown 30

 - i can able to c the values 5/5 in the log,  and then it
 crosses 16/5 in course of time
 - Unable to trace down when it trigger actually.
 hope it should trigger when it reaches 5/5 ?


 This is a known bug, the period and period number inputs in sunstone are
 inverted [1].
 To solve it, execute:

 $ sudo wget
 http://dev.opennebula.org/projects/opennebula/repository/revisions/5c7b370f6be5f4f9167d508bdd31b580f05dafd4/raw/src/sunstone/public/js/plugins/oneflow-templates.js-O
  /usr/lib/one/sunstone/public/js/plugins/oneflow-templates.js

 $ sudo wget
 http://dev.opennebula.org/projects/opennebula/repository/revisions/970c34464a1d5a71f3a9dfdd3d77d62883400857/raw/src/sunstone/public/js/plugins/oneflow-services.js-O
  /usr/lib/one/sunstone/public/js/plugins/oneflow-services.js

 Or wait a few days and upgrade to OpenNebula 4.4 :)



 (ii) Scheduled policies
  - For my trial i have specified
  start time - 2013-11-29 10:30:30
   is my time format is correct? unable to scale up/down
 using this time format.


 Could you paste the output of oneflow show -j ?


 (ii) is it like AND conditions, if i specify both (i) and (ii)?. I have
 tried separately (i) and (ii) but still in-vain.


 No, they do not interfere with each other. Each condition (time, metrics
 expression) is evaluated independently.

 Regards

 [1] http://opennebula.org/documentation:rel4.2:known_issues
 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org |
  @OpenNebula http://twitter.com/opennebula

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] reg oneflow - service template

2013-11-28 Thread Rajendar K
Hi All,
  I am using opennebula 4.2, i have the following queries
related to auto scaling features

(i) Even when conditions met, scaling up takes long time to trigger.
For my trial,  I have used #periods 5   #period 30 cooldown 30

- i can able to c the values 5/5 in the log,  and then it crosses
16/5 in course of time
- Unable to trace down when it trigger actually.
hope it should trigger when it reaches 5/5 ?

(ii) Scheduled policies
 - For my trial i have specified
 start time - 2013-11-29 10:30:30
  is my time format is correct? unable to scale up/down
using this time format.

(ii) is it like AND conditions, if i specify both (i) and (ii)?. I have
tried separately (i) and (ii) but still in-vain.

Kindly help to have a clarification on this.


with regards
Raj





Raj,

Believe Yourself...


On Fri, Oct 25, 2013 at 5:51 PM, Rajendar K k.rajen...@gmail.com wrote:

 Dear All,
I am using opennebula 4. 2 and oneapps 3.9 .
 I would like to know how oneflow templates are stored and retrieved?
 Whether the oneflow template values are stored on database?

 Kindly provide me suggestions...

 with regards
 Raj,



___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] reg oneflow - service template

2013-10-27 Thread Rajendar K
Hi Carlos,
   Thanks for the mail.
 Yes, to explore functionality of both appstage and oneflow.

with regards
Raj



On Fri, Oct 25, 2013 at 6:57 PM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:

 Hi,

 On Fri, Oct 25, 2013 at 11:51 AM, Rajendar K k.rajen...@gmail.com wrote:

 Dear All,
I am using opennebula 4. 2 and oneapps 3.9 .
 I would like to know how oneflow templates are stored and retrieved?
 Whether the oneflow template values are stored on database?

 Kindly provide me suggestions...

 with regards
 Raj,


 The oneflow templates are stored in the OpenNebula DB as generic Documents
 [1].

 But oneapps was discontinued. OneFlow was merged to the main OpenNebula
 distribution, and AppMarket was released as a separate component.
 Perhaps you installed it because of Appstage?

 [1]
 http://opennebula.org/documentation:rel4.2:api#actions_for_document_management

 --
 Carlos Martín, MSc
 Project Engineer
 OpenNebula - Flexible Enterprise Cloud Made Simple
 www.OpenNebula.org | cmar...@opennebula.org | 
 @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] reg oneflow - service template

2013-10-25 Thread Rajendar K
Dear All,
   I am using opennebula 4. 2 and oneapps 3.9 .
I would like to know how oneflow templates are stored and retrieved?
Whether the oneflow template values are stored on database?

Kindly provide me suggestions...

with regards
Raj,
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] reg opennebula marketplace

2013-10-02 Thread Rajendar K
Hi All,
I have installed opennebula 4.2 and when i try to use feature
Marketplace.
When i try to import image, the image state holds in lock state, even
after downloaded.

Kindly provide me solution.

with regards
Raj,
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] gridway and opennebula

2011-01-13 Thread Rajendar K
Hi,
   Yes, this could be possible. Actually, opennebula provides a definite
platform for building up virtual machines,
and its upto our customization of images, so that u can build images needed
for job submission through gridway and
boots up your desired virtual machines and submit job over it.


On Thu, Jan 13, 2011 at 6:28 PM, Yamini L yami.l...@gmail.com wrote:

 Hi,

 Is it possible to have gridway and opennebula setup and dynamically
 transfer gridway jobs to a virtual resource instantiated through
 opennebula??

 --
 Regards,
 Yamini.L
 College of Engineering, Guindy


 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
Raj,
Research Associate,
MIT.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org