Questions tagged [novaclient]

26 questions
0
votes
1 answer

Difference Between SQL Fiddle and Oracle NOVA

I have the following tables: CREATE TABLE CUSTOMERS (customerID INT PRIMARY KEY, customerFullName VARCHAR(20) NOT NULL); CREATE TABLE VEHICLES (vehicleVIN VARCHAR(25) PRIMARY KEY, vehicleMake VARCHAR(15) NOT NULL); CREATE…
StevenC
  • 109
  • 1
  • 20
0
votes
2 answers

Case-Insensitive Check Constraint

Created the following table: CREATE TABLE VEHICLES (vehicleVIN VARCHAR(30) PRIMARY KEY, vehicleType VARCHAR(30) NOT NULL CHECK (vehicleType IN ('compact', 'midsize', 'fullsize', 'suv', 'truck')), vehicleWhereFrom VARCHAR(30) NOT NULL CHECK…
StevenC
  • 109
  • 1
  • 20
0
votes
1 answer

openstack API python - no module named version

I'm trying to instanciate VM on openstack using the NovaClient API in python. More precisely with mq-rabbit celery tasks. Unfortunatly I got this error : from novaclient import client File…
0
votes
1 answer

How to make nova service state down for test purpose without shutting down node?

I am testing nova evacuate command. I have 2 compute nodes and one of them has a running vm. I want to evacuate vm from one node to another and for that I need nova-compute service's state down on the host where vm is running now. I know I can…
Rohanil
  • 1,717
  • 5
  • 22
  • 47
0
votes
0 answers

Nova Server Create & Server Affinity Group Create & Map using python novaclient 1.1

I have gone through this LINK which explains how to setup Affinity controls so that nova takes care of placing the nodes on different hypervisors based on the Server Group. The problem I am facing is - I intend to do the approach through python code…
sudhishkr
  • 3,318
  • 5
  • 33
  • 55
0
votes
1 answer

Openstack output in json format

I am using novaclient to get the details from Openstack. i am able to retrieve the information, however i want to convert it into json format. i am using "to_dic()" but it;s throwing "Attribute" error on "server_details = server_id_name.to_dict()",…
tgcloud
  • 857
  • 6
  • 18
  • 37
0
votes
1 answer

Spinlock until instance has gotten its ip address from Openstack

Im writing a program which automatically creates servers in openstack when needed. The problem is that I want the program to wait until the instance has gotten its ip address before proceeding. If the instance has not gotten its ip, novaclient will…
Leafbreaker
  • 93
  • 1
  • 7
0
votes
1 answer

urlsplit error during novaclient authentication

So I've got some OpenStack gear and I'm sick of fighting with the dashboard, so I'd like to write my own bit of automation in python. However, I've barely even gotten my feet wet and I'm running into problems. Code: from keystoneclient.auth.identity…
Sammitch
  • 30,782
  • 7
  • 50
  • 77
0
votes
1 answer

Error while import novaclient library to python

I am importing novalient API library to python 2.7.3 as follows from novaclient.v1_1 import client when i try this this , it gives me following error Traceback (most recent call last): File "", line 1, in File…
Malintha
  • 4,512
  • 9
  • 48
  • 82
0
votes
1 answer

how to extract values from >?

I'm using novaclient.v1_1 to get list of instances and trying to extract diagnostics of each server instance. code i've written instances = nova.servers.list() for i in instances: val_list = i.diagnostics print val_list so here i got…
Jaydipsinh
  • 491
  • 1
  • 9
  • 27
-1
votes
1 answer

Cannot create openstack using noveclient python API

I am trying to create openstack instance using novaclient python API. I use following ccommand in Python nova.servers.create(name = "xxx", password="xxx", image = "b754996c-45dc-43d4-b2cb-47b6c10beca3",flavor = fl.id,network =…
Malintha
  • 4,512
  • 9
  • 48
  • 82
1
2