FAQ Database Discussion Community


Choose a specific network among multiple networks

openstack,cloudify
I am using Cloudify 2.7 with OpenStack Icehouse. I would like to attach the Cloudify Management VM to two private networks: private-net-1 and private-net-2 The Cloudify Shell, however, is attached only to private-net-1. So, how should I configure che cloud driver so that the bootstrap-cloud process will work?...

How scale up/out mechanism works in OpenStack and Cloudfoundry integration?

cloud,openstack,cloudfoundry,bosh
I just started investigating OpenStack & Cloudfoundry recently, and I just wonder how scale up/out mechanism works in OpenStack & Cloudfoundry integration. As far as I understand, if we need to scale-up a web app, Cloudfoundry will try to create a new container to run new web app. If it...

Python-swiftclient: what is the general usage procedure?

python,openstack,openstack-swift
The project I am currently working on requires me to upload and download files to and from swift object storage on an Openstack cloud instance. I have all of the API information required to login to the Openstack instance, but I can't figure out how to use the swiftclient from...

Bluemix: Cannot create VM with public IP

openstack,bluemix
When I try to create a VM with a public IP address on Bluemix, I get the following error: Your VMs are in error - Resource CREATE failed: Error: Resource CREATE failed: Error: Resource CREATE failed: NotFound: External network f242da31-3809-48a4-aa84-46da1c50586c is not reachable from subnet a78fbf7e-1e4a-4d3a-a039-c05be4846bc3. Therefore, cannot associate Port...

Ceilometer rest api, only most recent results?

rest,openstack,ceilometer
I'm trying to fetch a bunch of ceilometer data through rest api. I tried to get list of instances, so I fetch instance list through rest API url: http://IPADDR:8777/v2/meters/instance But for a relativly small cloud (10 instances) response json is over 45 mb in size. After further investigation it seems...

What password or key does salt-cloud use to login to a newly created OpenStack VM minion?

openstack,rackspace-cloud,salt-stack
I'm using salt-cloud with Rackspace OpenStack cloud severs. I've setup the provider and a profile without explicitly setting any key or password settings. When I issue the command to create a new vm e.g. salt-cloud -p profile vmname the machine gets created quite happily and salt-cloud appears to be logging...

Openstack token, I can get token with curl but can't with urllib

curl,urllib,openstack
[email protected]_PC:~$ curl -D- -H 'X-Storage-User:Lucy' [email protected]_PC:~$ curl -D- -H 'X-Storage-User:Lucy' http://192.168.119.89:8080/auth/v1.0 HTTP/1.1 200 OK X-Storage-Url: http://192.168.119.89:8080/v1/AUTH_Lucy X-Auth-Token: AUTH_tk713d067336d24348bcea1ab220965785 Content-Type: text/html; charset=UTF-8 X-Storage-Token: AUTH_tk713d067336d24348bcea1ab220965785 X-Trans-Id: tx8a03bc278f6d4ab899a25-00557554df Content-Length: 0 Date: Mon, 08 Jun 2015 08:39:59 GMT I can get the X-Storage-token with curl. import urllib,httplib,json from urlparse...

urlsplit error during novaclient authentication

python,openstack,novaclient
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 import v2 from keystoneclient import session from novaclient.client...

OpenStack Designate: '_AuthTokenPlugin' has no attribute 'register_conf_options'

python,openstack,keystone
I have recently started to use OpenStack. Here's the problem: I am setting up Designate for OpenStack (DNSaaS) and I have set it up accordingly to the instructions here -- https://designate.readthedocs.org/en/latest/getting-started.html With the "noauth" auth_strategy, the API and Central services are working correctly, but I was looking for integration with...

OpenStack API token lifespan extension

openstack,openstack-horizon
All, OpenStack API issues token after successful authentication. However, it is only valid for 1 hour. Is there any workaround or possibility to extend token's lifespan? Thanks & Regards, Ganesh....

Machine has been started with not enough memory

openstack,cloudify
I am using Cloudify 2.7 with OpenStack Icehouse. I developed a tomcat recipe and deployed it. In the orchestrator log of the cloudify console, I read the following WARNING: 2015-06-04 11:05:01,706 ESM INFO [org.openspaces.grid.gsm.strategy.ScaleStrategyProgressEventState] - [tommy.tomcat] machines SLA enforcement is in progress.; Caused by: org.openspaces.grid.gsm.machines.exceptions.ExpectedMachineWithMoreMemoryException: Machines SLA Enforcement is in...

Openstack Heat & Ansible. VM spinup and App deployment

ansible,openstack
I am spinning up new VM's using openstack heat template and get the IP list of the newly spun up VM's. I am using Ansible scripts for the same. I am able to get the new list of IP's from the heat and I am able to deploy an app...

Kitchen Open Stack gives “excon.error.response”

chef,openstack,test-kitchen
I have been trying to use Kitchen with Openstack. I did as described in this link https://github.com/test-kitchen/kitchen-openstack When i do kitchen list it shows /root/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/fog-1.27.0/lib/fog/openstack/volume.rb:191: warning: duplicated key at line 196 ignored: :openstack_region Instance Driver Provisioner Last Action default-centos-7 Openstack ChefSolo <Not Created> But when i do Kitchen test it...

Error on bootstrap of Management VM

openstack,cloudify
I am using Cloudify 2.7 with OpenStack Icehouse. In particularly, I have configured the cloud driver to bootstrap 2 Management VMs (numberOfManagementMachines 2). Sometime, when I bootstrap the VMs I receive the following error: [email protected]> bootstrap-cloud --verbose openstack-icehouse-<project_name> ... Starting agent and management processes: [VM_Floating_IP] nohup gs-agent.sh gsa.global.lus 0 gsa.lus...

Accessing the Openstack API in Bluemix

virtual-machine,openstack,bluemix
For the VM capability in Bluemix, is it possible to use the OpenStack API? If so, how do you access it? I'm trying to use these URLs : https://keystone2.open.ibmcloud.com/v2.0/tokens (POST) with this payload: {"auth": { "tenantName": "myTenant", "passwordCredentials": {"username": "myUser", "password": "myPwd"} } } https://keystone2.open.ibmcloud.com/v3/auth/tokens (POST) with this payload :...

Configure cloud-controller.xml in Stratos

openstack,wso2stratos
I have configure the cloud-controller.xml file before I start the stratos server in order to support OpenStack. The order of file given to me was stratos-server/repository/conf/cloud-controller.xml. But, there is no folder called stratos-server, but there are about 12 files in different folders. Can anyone help me to figure out which...

Openstack cloud (identity service, nova service and swift service) vs Java application

java,openstack,openstack-horizon
I want to build a Java application to access the OpenStack services like the Identity Service (username, password, secret key, etc), Nova service (create and remove virtual machines, etc) and Swift service (upload and download files, etc). I set up OpenStack Cloud in three machines and downloaded the Java SDK...

403 error in Rally Openstack

openstack
I'm trying to do benchmarking of my Openstack Cluster by Rally and on running default boot-and-delete.json I'm getting error with json: "duration": 0.5452041625976562, "error": [ "Forbidden", "It is not allowed to create an interface on external network 7e084feb-fdaf-43d4-b52c-8f62280715ef (HTTP 403) (Request-ID: req-e825e340-04f5-4adf-86c9-6fb9d73573a4)", "Traceback (most recent call last):\n File \"/usr/local/lib/python2.7/dist-packages/rally/benchmark/runners/base.py\", line...

Get CPU, memory and HDD info of a host with the OpenStack Python API

python,api,openstack
I have a working Python program using the OpenStack API to create instances, list the instances, etc. The authentication is working well ;). I would like to get the CPU, memory and HDD information of a specific host. According to the python-novaclient documentation, the method get(host) is what I need....

How can I run Openstack devstack in my ASUS chromebook?

ubuntu,openstack,devstack,chromebook,crouton-os
I use crouton to host a Ubuntu 14.04 LTS os on my chromebook and I am trying to use the devstack of the openstack. However, when I run ./stack.sh, I got error message saying: df: '/mnt/stateful_partition': No such file or directory df: '/usr/share/oem': No such file or directory df: '/home/chronos':...

Installing Windows 7 on Openstack - Can't find any compatible filesystem drivers or see any disk drives [closed]

windows,virtual-machine,driver,virtualization,openstack
I am attempting to install a windows 7 SP1 32 bit virtual machine instance on my organization's openstack infrastructure. My problem is not related to setting up the .iso on Openstack, it is related to the actual windows 7 installation. I am at the point where I can create an...

Openstack. Allocate more ram to guest

openstack,openstack-nova,openstack-horizon
I have setup openstack using this guide: http://ubuntu-cloud-installer.readthedocs.org/en/latest/single-installer.guide.html I am able to create multiple instances with the m1.small flavor which uses 2 GB ram, but when I try to create an instance with any more ram it fails. When I try to create the instance in Horizon it gives the...

Anyone know what's the data source of http://logstash.openstack.org?

logstash,openstack,kibana
I'm new to OpenStack and I'd like to do some mining on OpenStack logs. So I found this webpage: http://logstash.openstack.org It gives a lot of logs which seems interesting. Anyone know how these data are generated and where they are from? Thanks a lot for your help! Best Regards...

Issue in starting OPenstack Nova while installing using devstack

python,openstack,lxc,openstack-nova,devstack
I got below issue when nova tried to start. /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf [email protected]:/opt/stack/devstack$ /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf 2015-02-10 07:26:42.226 DEBUG nova.servicegroup.api [-] ServiceGroup driver defined as an instance of db from (pid=3411) __new__ /opt/stack/nova/nova/servicegroup/api.py:65 2015-02-10 07:26:53.201 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative 2015-02-10...

The sequence of setting up keystone v3?

openstack,keystone
I would like to set up keystone V3. After studying the reference from the Internet, some confused me. This one creates an admin domain to v3 endpoint with default v2 policy.json first and then changes policy.json. Another one changes policy.json and modifies endpoint to v3 in database first. Which one...

Creating a Virtual Machine on Bluemix, is giving an error while importing ssh key [closed]

ssh,openstack,bluemix
I am following the steps to create Virtual Machine on Bluemix following the steps as below. https://www.ng.bluemix.net/docs/starters/index-gentopic4.html#vm_ssh_key I am blocked when I am trying to configure a SSH key. I am using an existing key pair which I use with my other machines. I get an error "Keypair data is...

Openstack cloud billing software list

cloud,openstack,saas,billing
I'm searching for a billing software for cloud platforms which should do the following: Be able to show charts and diagrams of total cloud resources consumption (e.g. number of VCPUs, RAM, hard disk and so on) per project and user Be able to calculate the cost of cloud services based...

How to conditionally check the state of an openstack instance

cloud,state,conditional-statements,ansible,openstack
I am trying to conditionally check the state of an openstack cloud instance in my playbook. The playbook itself takes the name of a cloud instance as a parameter and then deletes it by setting the state to absent using nova compute. What I want to do is check if...

How can I import my own pre-built VM images into Bluemix?

virtual-machine,openstack,bluemix
I have a number of my own (pre-built) VM images that I want to use on Bluemix. I can see no way of importing these images. I only seem to be able to select from the list of image templates. Is there a way I can upload my own images...

Openstack with neutron on two physical nodes

openstack,openstack-neutron
We have two physical system(ubuntu14.04.2) having 2 physical NIC each. Is it possible to install openstack(juno) with neutron on same ? Official documentation says that we need 3 nodes with network node having 3 NICs Any help would be greatly appreciated. Thanks, Deepak...

Use OpenStack4j in an OSGi platform

osgi,openstack
I want to use OpenStack4j in an OSGi platform. Specifically I'm using Apache Karaf OSGi runtime (based on Apache Felix OSGi implementation). Issue arises when OpenStack4j tries to discovers Connectors. Based on Getting started official documentation guide, I'm trying to instantiate a v2.0 client with this line: OSClient os =...