Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ovs-agent-setup execution Error

rmuneneNov 16 2015 — edited Nov 17 2015

Server: t5-8

Operating System: Solaris 11.3

OVM Server: 3.3

OVS Agent: 3.3

I'm trying to start ovs-agent -setup and the following error occurs.

~# ovs-agent-setup

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

The following are the contents of the ovs-agent-setup (/usr/sbin)file first page

import ConfigParser 

import errno) 2014, Oracle and/or its affiliates. All rights reserved.

import fcntl

import getoptword is set to factory default.

import logging

import os

import socket

import sys

import time

from agent.lib.solaris import (service_is_running, service_disable,

                               service_enable, service_addpg, service_setprop,

                               run_cmd)

from agent.setup.Setup import (SETUP_OK, SETUP_WARNING, SETUP_ERROR,

                   vs-agent-setSETUP_ABORT, SETUP_REBOOT,

            nt.lib.solaris impoSETUP_ACTION_CHECK, SETUP_ACTION_CONFIGURE,

             No module named agSETUP_ACTION_RECONFIGURE,

             URY-01:~# cat /etcSETUP_ACTION_UNCONFIGURE)

from agent.setup.utils import input_value, reboot_prompt

#

# Input file options and valid valuesagent:default

#

INPUTFILE_OPTIONS = {E      FLAGS   CONS    VCPU  MEMORY   UTIL  NORM  UPTIME

    'setup': { 'reboot': ['no', 'allowed'],

root@SOATREASUR'cancel_reconf': ['no', 'allowed'],

Traceback (most'caller': None },

    'ovs-agent': { 'password': None,

    from agent.lib.'password_encrypted': None },

ImportError: No module named ag

How can I solve this? Thank you.

This post has been answered by Pascal Kreyer-Oracle on Nov 16 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2015
Added on Nov 16 2015
2 comments
1,576 views