A A A

Please consider registering
guest

Log In

Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Oracle VM Agents for SPARC failed to install with error: ImportError: No module named agent.lib.solaris
December 1, 2015
8:34 am
Lo0oM
Admin
Forum Posts: 217
Member Since:
September 30, 2012
Offline

Hi

Description:

Hardware T5 SPARC, OS Solaris 11.3, Oracle VM agents failed to install:

/opt/inst/ovs-ldoms-3.3.2-b1076# ./install

Command-line Output Request.
Oracle VM Agent Release 3.3.2 Installer

– Installing Packages

Updating package cache 1/1
Packages to install: 11
Services to change: 2
Create boot environment: No
Create backup boot environment: Yes

DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 11/11 395/395 2.2/2.2 589k/s

PHASE ITEMS
Installing new actions 632/632
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 2/2
Updating package cache 1/1

– Configuring the OVS Agent

Traceback (most recent call last):
File "/usr/sbin/ovs-agent-setup", line 25, in <module>
from agent.lib.solaris import (service_is_running, service_disable,
ImportError: No module named agent.lib.solaris

There was an error during the installation. The Oracle VM Agent
might not be fully installed or configured.

 

 

Solution:

1. That is python mediator issue. Agents do not come up with default python for Solaris 11.3:

# pkg mediator -a python
MEDIATOR     VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
python       vendor    2.7     vendor
python       vendor    2.6     vendor
python       system    2.7     system

2. Change it to version 2.6

# pkg set-mediator -V 2.6 --no-backup-be python

 

Now agents installation and configuration will be successful.

 

Thank you.

 

 

Forum Timezone: UTC 0

Most Users Ever Online: 31

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 0

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 20

Topics: 214

Posts: 214

Newest Members: Lo0oM

Administrators: Lo0oM (217)