Bug #4599

sustone reported "OpenNebula is unreachable"

Added by Jason Chan about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:06/27/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Sunstone
Target version:-
Resolution:worksforme Pull request:
Affected Versions:OpenNebula 4.14

Description

Sunstone GUI complains "invalid user name or password" twice but will let in at the 3rd attempt. Instead of showing a dashboard, it simply prints a line "OpenNebula is unreachable". All VMs seem running well. In /var/log/one/sunstone.log, it reads

Mon Jun 27 00:01:49 2016 [E]: User oneadmin could not be authenticated
Mon Jun 27 00:01:49 2016 [E]: Inappropriate ioctl for device - getaddrinfo
Mon Jun 27 00:01:49 2016 [I]: Unauthorized login attempt

Restarted sunstone or server does not seem help.

Most recent change made to the system (may be coincident): changed memory size and volatile disk driver type in VM templates from "raw" to "qcow2" one night, and got (noticed) the error the next morning.

  1. debug mode shows no errors ####
    #/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb
    --------------------------------------
    Server configuration
    -------------------------------------- {:tmpdir=>"/var/tmp",
    :one_xmlrpc=>"http://localhost:2633/RPC2",
    :host=>"0.0.0.0",
    :port=>9869,
    :sessions=>"memory",
    :memcache_host=>"localhost",
    :memcache_port=>11211,
    :memcache_namespace=>"opennebula.sunstone",
    :debug_level=>3,
    :auth=>"opennebula",
    :core_auth=>"cipher",
    :vnc_proxy_port=>29876,
    :vnc_proxy_support_wss=>false,
    :vnc_proxy_cert=>nil,
    :vnc_proxy_key=>nil,
    :vnc_proxy_ipv6=>false,
    :lang=>"en_US",
    :table_order=>"desc",
    :marketplace_url=>"http://marketplace.opennebula.systems/appliance",
    :oneflow_server=>"http://localhost:2474/",
    :instance_types=>
    [ {:name=>"medium-x8",
    :cpu=>8,
    :vcpu=>8,
    :memory=>12288,
    :description=>"Medium instance w/ 8 cores, 12GB RAM"}, {:name=>"large-x4",
    :cpu=>4,
    :vcpu=>4,
    :memory=>32768,
    :description=>"large instance w/ 4 cores, 32GB RAM"}, {:name=>"2xlarge-x8",
    :cpu=>8,
    :vcpu=>8,
    :memory=>65536,
    :description=>"Extra large instance w/ 8 cores, 64GB RAM"}, {:name=>"4xlarge-x24",
    :cpu=>24,
    :vcpu=>24,
    :memory=>128000,
    :description=>"Huge instance w/ 24 cores, 120 GB RAM"}],
    :routes=>["oneflow", "vcenter", "support"]}
    --------------------------------------
Sinatra (v1.4.7) has taken the stage on 9869 for development with backup from Thin
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:9869, CTRL+C to stop
WARN: tilt autoloading 'tilt/erb' in a non thread-safe way; explicit require 'tilt/erb' suggested. ^CStopping ...
Stopping ...
Sinatra has ended his set (crowd applauds)

History

#1 Updated by Jason Chan about 3 years ago

Resolved.

Changed /etc/resolv.conf from
"hosts: db files nisplus nis dns"
to
"hosts: files dns"

#2 Updated by Ruben S. Montero about 3 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

THANKS for reporting back

Also available in: Atom PDF