Git Product home page Git Product logo

openbaton-cli's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

gc4rella

openbaton-cli's Issues

SSL Verification Failed

The openbaton-cli seems to work fine with http, but on https, I am getting a certificate verification failure when I run it.

Additional Info: I have both Python 2.7.12 as well as Python3 on this system. I have run it with Python 3.5.2 (python3 openbaton) but when I run it with Python 3 I get an import error (tabulate module). When I run it with Python 2 (python openbaton) it will work properly when nfvo configure on port 8080 with https, but not on port 8443 https (error below).

This might be related to Python Requests. I have considered issuing my own self-signed certificate and putting that into the pk12 file of the nfvo, but everything else in openbaton seems to be working just fine so I hesitate to do that. Anyone have any suggestions?

openbaton@ubuntu-openbaton:/opt/wittling/openbaton/develop-branch/openbaton-cli# env | grep OB
OB_NFVO_PORT=8443
OB_NFVO_IP=172.31.0.136
OB_PASSWORD=openbaton
OB_USERNAME=openbaton-user
OB_PROJECT_ID=b4cf42ce-3b12-40b7-9edf-a9c851f026ab
openbaton@ubuntu-openbaton:/opt/wittling/openbaton/develop-branch/openbaton-cli# ./openbaton -pid ${OB_PROJECT_ID} -u openbaton-user -p openbaton -d ip 172.31.0.136 --nfvo-port 8443 project list
usage: openbaton [-h] [-pid PROJECT_ID] [-u USERNAME] [-p PASSWORD] [-d]
[-ip NFVO_IP] [--nfvo-port NFVO_PORT]
{project,vnfci,vdu,log,vnfd,csarnsd,nsd,csarvnfd,vim,vnfr,service,user,key,vnfpackage,nsr,event,market}
{list,show,delete,create} [params [params ...]]
openbaton: error: argument agent: invalid choice: 'ip' (choose from 'project', 'vnfci', 'vdu', 'log', 'vnfd', 'csarnsd', 'nsd', 'csarvnfd', 'vim', 'vnfr', 'service', 'user', 'key', 'vnfpackage', 'nsr', 'event', 'market')
root@ubuntu-openbaton:/opt/wittling/openbaton/develop-branch/openbaton-cli# ./openbaton -pid ${OB_PROJECT_ID} -u openbaton-user -p openbaton -d -ip 172.31.0.136 --nfvo-port 8443 project list

DEBUG:org.openbaton.cli.MainAgent:username 'openbaton-user'
DEBUG:org.openbaton.cli.MainAgent:project_id 'b4cf42ce-3b12-40b7-9edf-a9c851f026ab'
DEBUG:org.openbaton.cli.MainAgent:nfvo_ip '172.31.0.136'
DEBUG:org.openbaton.cli.MainAgent:nfvo_port '8443'
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): 172.31.0.136

ERROR: HTTPSConnectionPool(host='172.31.0.136', port=8443): Max retries exceeded with url: /oauth/token (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')],)",),))

scale out not working anymore

when trying to scale out:

(openbaton-cli) openbaton-cli|master ⇒ ./openbaton --format json vnfci create '{"vnfComponent":{"connection_point":[{"floatingIp":"random","interfaceId":0,"virtual_link_reference":"private"}]},"vimInstanceNames":["vim-instance"]}'

ERROR: usage: openbaton vnfci create <vnfcomponent> <nsr_id> <vnfr_id> [vdu_id [standby]]

(openbaton-cli) openbaton-cli|master ⇒
(openbaton-cli) openbaton-cli|master ⇒
(openbaton-cli) openbaton-cli|master ⇒
(openbaton-cli) openbaton-cli|master ⇒ ./openbaton --format json vnfci create 9c2c3f71-934c-42dc-9317-e5362172a212 2aa60e13-16be-43ec-bf9b-222ea20e12bd '{"vnfComponent":{"connection_point":[{"floatingIp":"random","interfaceId":0,"virtual_link_reference":"private"}]},"vimInstanceNames":["vim-instance"]}'

ERROR: 9c2c3f71-934c-42dc-9317-e5362172a212 is neither a file nor does it seem to be valid JSON

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.