[Openstack] Openstack with ESXi - NetworkNotFoundForBridge: Network could not be found for bridge

2013-01-22 Thread Balamurugan V G
Hi,

I have a two node OpenStack Folsom Setup. One node runs all services with
KVM. The other nodes is a Compute Node for ESXi 5.1. I have set the
availabality_zones for each of this so that I can schedule instances as per
my need. I am able to operate the instances on the KVM just fine. But when
I launch an instance for ESXi, it goes to ERROR state with the error
'NetworkNotFoundForBridge: Network could not be found for bridge'.

After the vanilla Folsom installation, I was getting an AttribueError which
got fixed after applying the patch at
https://bugs.launchpad.net/nova/+bug/1063885

But then after that, I am seeing this error.

root@openstack-kvm:~# nova show 8110c50c-ed26-48dd-886b-71b44ee382dd
+-+-+
| Property| Value

|
+-+-+
| OS-DCF:diskConfig   | MANUAL

 |
| OS-EXT-SRV-ATTR:host| openstack-esxi

 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None

 |
| OS-EXT-SRV-ATTR:instance_name   | instance-0016

|
| OS-EXT-STS:power_state  | 0

|
| OS-EXT-STS:task_state   | None

 |
| OS-EXT-STS:vm_state | error

|
| accessIPv4  |

|
| accessIPv6  |

|
| config_drive|

|
| created | 2013-01-23T07:13:11Z

 |
| fault   | {u'message':
u'NetworkNotFoundForBridge', u'code': 404, u'details': u'Network could not
be found for bridge ', u'created': u'2013-01-23T07:13:14Z'} |
| flavor  | m1.tiny (6)

|
| hostId  |
a9edbd6bb1136ff3bcf5225d1f6a34e0d18cc21eb9837acd67dec105
 |
| id  |
8110c50c-ed26-48dd-886b-71b44ee382dd
 |
| image   | Ubuntu1204
(4d70a998-a51e-4557-81fa-23747db12305)
  |
| key_name| None

 |
| metadata| {}

 |
| name| VM2

|
| security_groups | [{u'name': u'default'}]

|
| status  | ERROR

|
| tenant_id   | b439758af3814f739fe7ab09b98a0120

 |
| updated | 2013-01-23T07:13:14Z

 |
| user_id | 9ac7dbe62fb349ce84927598a0f54d68

 |
+-+-+
root@openstack-kvm:~#

My /etc/nova/nova.conf on the ESXi compute nodes is:

[DEFAULT]
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/run/lock/nova
verbose=True
api_paste_config=/etc/nova/api-paste.ini
scheduler_driver=nova.scheduler.simple.SimpleScheduler
s3_host=10.5.3.230
ec2_host=10.5.3.230
ec2_dmz_host=10.5.3.230
rabbit_host=10.5.3.230
cc_host=10.5.3.230
dmz_cidr=169.254.169.254/32
metadata_host=10.5.3.230
metadata_listen=0.0.0.0
nova_url=http://10.5.3.230:8774/v1.1/
sql_connection=mysql://novaUser:novaPass@10.5.3.230/nova
ec2_url=http://10.5.3.230:8773/services/Cloud
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
my_ip=10.5.3.231

# Auth
use_deprecated_auth=false
auth_strategy=keystone
keystone_ec2_url=http://10.5.3.230:5000/v2.0/ec2tokens
# Imaging service
glance_api_servers=10.5.3.230:9292
image_service=nova.image.glance.GlanceImageService

# Vnc configuration
novnc_enabled=true
novncproxy_base_url=http://10.5.12.20:6080/vnc_auto.html
novncproxy_port=6080
vncserver_proxyclient_address=10.5.12.20
vncserver_listen=0.0.0.0

# Network settings
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://10.5.3

[Openstack] Infiniband + OpenStack.

2013-01-22 Thread zebra x0r
Hi.

I'm considering a reasonably sized OpenStack deployment shortly (several
thousand cores). One of the decisions I need to make centres around the
type of interconnect I will use to connect the compute nodes, Swift object
storage, shared storage, swift proxies et al.

I have been heavily considering FDR infiniband for this task, but, from
what I can see, IB has only recently become something one might consider
stable for use in OpenStack. My peers are suggesting to me that I should
just stick with 10GbE interconnects and be happy.

I'd like to hear the experiences of people who have or are using IB, or who
have experiences with IB deployments.

Thank you.

--z
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] vm can not get ip

2013-01-22 Thread Akira Yoshiyama
Hi,

You may have to set iptables rule for chechsum. FYI:

http://www.debian.or.jp/~yosshy/ubuntu-openstack/setup.sh

Regards,
Akira Yoshiyama
2013/01/23 5:14 "Rain Li" :

> Hi, Sam,
>
> I also install Openstack on ubuntu 12.10 via
> http://devstack.org/guides/single-machine.html, and get this error as
> well. Another weird thing is that I can start an instance from horizon, (it
> shows the "successful" message), but I can not access (ping/ssh) the
> instance from the controller host machine. I already add the corresponding
> secgroup rules. With command "route -n", I can see the route entry for
> 169.254.0.0. Hope someone can show some clues for this problem.
>
> Rain Li
>
>
> On Mon, Jan 21, 2013 at 8:50 PM, sam lee  wrote:
>
>> the following are my dhcp-agent configure and dnsmasq info.
>>
>> root@network:/home/openstack# ps -ef | grep dnsmasq
>>
>> nobody2299 1  0 Jan21 ?00:00:00 /usr/sbin/dnsmasq
>> --no-hosts --no-resolv --strict-order --bind-interfaces
>> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
>> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
>> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
>> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
>> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
>> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
>>
>> root  2301  2299  0 Jan21 ?00:00:00 /usr/sbin/dnsmasq
>> --no-hosts --no-resolv --strict-order --bind-interfaces
>> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
>> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
>> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
>> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
>> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
>> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
>> root  9854  4475  0 10:44 pts/100:00:00 grep --color=auto dnsmasq
>> root@network:/home/openstack#
>>
>> root@network:/home/openstack# grep -v "#" /etc/quantum/dhcp_agent.ini
>> [DEFAULT]
>> state_path = /var/lib/quantum
>> interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
>> dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
>> use_namespaces = False
>> root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
>> root@network:/home/openstack#
>>
>> root@network:/var/lib/quantum/dhcp# ovs-vsctl show
>> d120debb-b01b-4b9a-b824-5e7e23fa1cd4
>> Bridge br-int
>> Port "tap9338c64b-13"
>> tag: 4095
>> Interface "tap9338c64b-13"
>> type: internal
>> Port "qr-ca596884-61"
>> tag: 1
>> Interface "qr-ca596884-61"
>> type: internal
>> Port "tap063c55b9-17"
>> tag: 4095
>> Interface "tap063c55b9-17"
>> type: internal
>> Port br-int
>> Interface br-int
>> type: internal
>> Port "tap0dcaeb82-30"
>> tag: 4095
>> Interface "tap0dcaeb82-30"
>> type: internal
>> Port "tapc71e5285-a0"
>> tag: 1
>> Interface "tapc71e5285-a0"
>> type: internal
>> Port "int-br-eth1"
>> Interface "int-br-eth1"
>> Bridge "br-eth1"
>> Port "phy-br-eth1"
>> Interface "phy-br-eth1"
>> Port "eth0"
>> Interface "eth0"
>> Port "br-eth1"
>> Interface "br-eth1"
>> type: internal
>> Bridge br-ex
>> Port br-ex
>> Interface br-ex
>> type: internal
>> Port "qg-d5d39934-28"
>> Interface "qg-d5d39934-28"
>> type: internal
>> Port "eth1"
>> Interface "eth1"
>> ovs_version: "1.4.0+build0"
>>
>>
>>
>> 2013/1/22 sam lee 
>>
>>> I install openstack folsom on ubuntu 12.04 following this guide
>>> https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/VLAN/2NICs/OpenStack_Folsom_Install_Guide_WebVersion.rst.
>>> Everything is ok util run an instance.  I check the nova console log, it
>>> show that "cloud-setup: checking
>>> http://169.254.169.254/2009-04-04/meta-data/instance-id
>>> wget: can't connect to remote host (169.254.169.254): Network is
>>> unreachable, ...", and i don't use namespace. I am a newbie for
>>> openstack. Appreciate all the help
>>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscri

Re: [Openstack] Wikipedia page

2013-01-22 Thread Lloyd Dewolf
On Wed, Jan 9, 2013 at 3:24 PM, Stefano Maffulli wrote:

> On 01/07/2013 12:28 PM, Stefano Maffulli wrote:
>
>> I can lead this task. Please join me on IRC #openstack-community (I'm
>> reed) to coordinate efforts.
>>
>
> I gave a first pass at improving the page. It looks better, it now has
> links, references and is more up to date. Please have a look at it and keep
> improving it:
>
> https://en.wikipedia.org/wiki/**OpenStack
>
> Also, please keep updating also the pages in other languages.


In the opening paragraphs:

"companies" currently links directly to
http://www.openstack.org/foundation/companies/ , I think
the encyclopedic norm would be for that link to be in a ref on "more than
150 companies".

"portable software" could link to
http://en.wikipedia.org/wiki/Software_portability

"SUSE Linux" should likely just be SUSE and link to
http://en.wikipedia.org/wiki/SUSE


The strength of the article is also very dependent on the quality of
https://en.wikipedia.org/wiki/Cloud_computing and specifically
https://en.wikipedia.org/wiki/IaaS#Infrastructure_as_a_service_.28IaaS.29
which are not particularly strong, and likely contain "original research."
Possibly, we could rally to improve these as well.


Hope that helps,
--
@lloyddewolf
http://www.pistoncloud.com/
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Structure Hybrid Compute Nodes

2013-01-22 Thread Narayan Desai
We have the same basic problems. We have 4 different types of systems
integrated into our system. They all have different ratios of cpu to
memory, and we have some specialized hardware on one class of nodes.

We ended up setting up a series of chassis specific instance
definitions. We then use the filter scheduler to only accept hosts
with a particular configuration for the associated instance types.
(for example, our large memory nodes will only run instances with the
mem. prefix, and won't run generic instance types or ones for other
hardware types -- it seemed silly to waste large memory resources on
1GB ram vms)

It is pretty simple to write filter rules for the filter scheduler to
set this up. You just need instance types and a hostname convention
that you can use to matchmake.

While this seems a little hacky, it works well.
 -nld


On Tue, Jan 22, 2013 at 6:47 AM, Danilo Perogil  wrote:
> Hello everybody,
>
> Do you know of a way to set to work with OpenStack Computes Nodes containing
> different hardware?
> In my case, I did tests with different hardware, example 1 compute node with
> 24 processors and 128GB memory VS 1 compute node with 8 processors and 16GB
> of memory. In the test I saw he only makes division number of instances
> between total compute nodes, but it does a calculation for use by node.
>
> It is possible to make it work with some kind of calculation to not overload
> a node?
>
> Sorry my english google translate hahahah
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] OpenStack (Quantum) Multi-node Set-up with VMware Fusion

2013-01-22 Thread Debojyoti Dutta
Kyle has one (CCed) that he blogged about but with VXLAN instead of GRE
http://www.siliconloons.com/?p=395

I have a similar one for virtualbox but havent checked it recently. For my
setup, I have a regular NIC with DHCP (eth0) and another one thats host
only with a static IP (eth1). My host IP and public interface params point
to eth1 instead of eth0 as in Kyle's setup.

Another setup is at
http://networkstatic.net/openstack-quantum-devstack-on-a-laptop-with-vmware-fusion/

debo

On Tue, Jan 22, 2013 at 3:58 PM, Edgar Magana  wrote:

> Folks,
>
>
> Does anyone have a stable vmware fusion-based set up of OpenStack with
> Quantum and more that one compute node?
> If yes, can you share you network configuration?
>
> Thanks,
>
> Edgar
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
-Debo~
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Reinstating Trey Morris for Nova Core

2013-01-22 Thread Vishvananda Ishaya
+1

We mentioned previously that we would fast-track former core members back in.
I gess we can wait a couple of days to see if anyone objects and then add him 
back.

Vish
On Jan 22, 2013, at 3:38 PM, Matt Dietz  wrote:

> All,
> 
>   I think Trey Morris has been doing really well on reviews again, so I'd
> like to propose him to be reinstated for Nova core. Thoughts?
> 
> -Dietz
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Reinstating Trey Morris for Nova Core

2013-01-22 Thread Kevin L. Mitchell
On Tue, 2013-01-22 at 23:38 +, Matt Dietz wrote:
>   I think Trey Morris has been doing really well on reviews again, so I'd
> like to propose him to be reinstated for Nova core. Thoughts?

+1.  We need more reviewers, IMO; there are constantly 2 pages of
pending code reviews, and I've even seen reviews with a +2 get
auto-abandoned after 2 weeks because no one else has reviewed them.
-- 
Kevin L. Mitchell 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] OpenStack (Quantum) Multi-node Set-up with VMware Fusion

2013-01-22 Thread Edgar Magana
Folks,


Does anyone have a stable vmware fusion-based set up of OpenStack with Quantum 
and more that one compute node?
If yes, can you share you network configuration?

Thanks,

Edgar
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Reinstating Trey Morris for Nova Core

2013-01-22 Thread Matt Dietz
All,

I think Trey Morris has been doing really well on reviews again, so I'd
like to propose him to be reinstated for Nova core. Thoughts?

-Dietz



___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] nova-network and cells

2013-01-22 Thread Yi Sun
Hi,
I'm looking at the nova-compute-cells blueprint and got some questions
on the integration between nova-compute-cell and nova-network. Could
someone tell me if I can span one network over multiple cells?

Thanks
Yi
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?

2013-01-22 Thread Blair Zajac

On 01/22/2013 01:01 PM, Blair Zajac wrote:

On 01/22/2013 12:42 PM, Vishvananda Ishaya wrote:


On Jan 22, 2013, at 12:32 PM, Blair Zajac  wrote:


/usr/bin/nova-volume



So I don't know where it's picking up /usr/bin/nova-volume.  The stack
is appearing in nova-volume.log, which shouldn't have anything in it if
I'm using cider???


BTW, the reason I think that Cinder is working is that I can see it from 
nova and horizon, create volumes, etc.  Is booting off a snapshot an 
infrequently used feature?  My informed question is, is there a bug in 
nova where it's still using nova-volume instead of cinder for this feature?


Blair


$ cinder list
+--+---+--+--+-+--+
|  ID  |   Status  | Display Name | Size 
| Volume Type | Attached to  |

+--+---+--+--+-+--+
| 4c0d3737-7102-4f60-af79-af61dd348279 | available |foo001|  8 
 | None|  |
| 65e600ca-435c-48f4-a079-cf01b2af8146 |   in-use  |  |  8 
 | None| a53cd404-0101-436b-92c0-d6624c70870d |

+--+---+--+--+-+--+
$ nova volume-list
+--+---+--+--+-+--+
| ID   | Status| Display Name | Size 
| Volume Type | Attached to  |

+--+---+--+--+-+--+
| 4c0d3737-7102-4f60-af79-af61dd348279 | available | foo001   | 8 
 | None|  |
| 65e600ca-435c-48f4-a079-cf01b2af8146 | in-use|  | 8 
 | None| a53cd404-0101-436b-92c0-d6624c70870d |

+--+---+--+--+-+--+


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Unable to create a vm

2013-01-22 Thread Razique Mahroua
Hi Alexandre,can you run the following command?egrep '^flags.*(vmx|svm)' /proc/cpuinfothanks !
Razique Mahroua - Nuage & Corazique.mahr...@gmail.comTel : +33 9 72 37 94 15

Le 22 janv. 2013 à 22:35, Alexandre De Carvalho  a écrit :Hi,
I have this problem when i want to create a vm.Could not access KVM kernel module: Permission denied failed to initialize 
KVM: Permission denied No accelerator found!Can you help me, please ?best regards,Alexandre
___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Unable to create a vm

2013-01-22 Thread Alexandre De Carvalho
Hi,

I have this problem when i want to create a vm.

Could not access KVM kernel module: Permission denied failed to initialize
KVM: Permission denied
No accelerator found!

Can you help me, please ?

best regards,
Alexandre
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread Sébastien Han
so you prefer to be asked for a password instead of log in passwordless?

as suggested, edit the base image and create a password for the user :)

--
Regards,
Sébastien Han.


On Tue, Jan 22, 2013 at 6:08 PM, Balamurugan V G
 wrote:
> My ssh debug logs are below:
>
> $ ssh -vvv root@1.1.1.1
> OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 1.1.1.1 [1.1.1.1] port 22.
> debug1: Connection established.
> debug3: Incorrect RSA1 identifier
> debug3: Could not load "/home/balu/.ssh/id_rsa" as a RSA1 public key
> debug1: identity file /home/balu/.ssh/id_rsa type 1
> debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
> debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
> debug1: identity file /home/balu/.ssh/id_rsa-cert type -1
> debug1: identity file /home/balu/.ssh/id_dsa type -1
> debug1: identity file /home/balu/.ssh/id_dsa-cert type -1
> debug1: identity file /home/balu/.ssh/id_ecdsa type -1
> debug1: identity file /home/balu/.ssh/id_ecdsa-cert type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1
> Debian-5ubuntu1
> debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
> debug2: fd 3 setting O_NONBLOCK
> debug3: load_hostkeys: loading entries for host "1.1.1.1" from file
> "/home/balu/.ssh/known_hosts"
> debug3: load_hostkeys: loaded 0 keys
> debug1: SSH2_MSG_KEXINIT sent
> Connection closed by 1.1.1.1
>
> Regards,
> Balu
>
>
> On Tue, Jan 22, 2013 at 10:31 PM, Balamurugan V G 
> wrote:
>>
>> Yes but I want to skip this feature of keypairs. I want to be able to SSH
>> with out needing the keypairs since security is not a concern in my private
>> cloud.
>>
>> Thanks,
>> Balu
>>
>> On Tue, Jan 22, 2013 at 10:29 PM, JuanFra Rodriguez Cardoso
>>  wrote:
>>>
>>> Hi Balu:
>>>
>>> Before launching an instance, you have to create a keypair
>>> (YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
>>> Then, next time you launch an instance, you can choose that keypair
>>> created previously.
>>>
>>> Regards,
>>> JuanFra.
>>>
>>> 2013/1/22 Balamurugan V G 

 Hi,

 I have a Folsom private openstack cloud in which security is not a
 concern. That is I dont really need the security groups and keypairs etc
 offered by openstack. So all my instances are launched as part of the
 default security group. I have even allowed all TCP and UDP ports(1 to
 65535) and ICMP.

 But when I try to SSH to the floating IP assigned to a Ubuntu instance,
 I get connection refused. When I so 'ssh -vvv', I can see that the
 connection is getting establish but is getting terminated. It seems due to
 missing key pair.

 Is there a way to bypass the keypairs.

 Regards,
 Balu

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp

>>>
>>>
>>>
>>> --
>>> JuanFra
>>
>>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?

2013-01-22 Thread Blair Zajac

On 01/22/2013 12:42 PM, Vishvananda Ishaya wrote:


On Jan 22, 2013, at 12:32 PM, Blair Zajac  wrote:


/usr/bin/nova-volume



The wrong bin is running. You should be running /usr/bin/cinder-volume if you 
are using cinder.

It doesn't look like you have configured cinder properly.


The only changes I made to cinder from the package's defaults are:

--- api-paste.ini.FCS   2012-09-25 17:48:54.0 -0700
+++ api-paste.ini   2013-01-20 20:18:52.838007722 -0800
@@ -46,6 +46,6 @@
 auth_host = 127.0.0.1
 auth_port = 35357
 auth_protocol = http
-admin_tenant_name = %SERVICE_TENANT_NAME%
-admin_user = %SERVICE_USER%
-admin_password = %SERVICE_PASSWORD%
+admin_tenant_name = service
+admin_user = cinder
+admin_password = pass


--- cinder.conf.FCS 2012-10-09 07:01:53.0 -0700
+++ cinder.conf 2013-01-21 22:29:05.171401104 -0800
@@ -1,5 +1,6 @@
 [DEFAULT]
 rootwrap_config = /etc/cinder/rootwrap.conf
+sql_connection = mysql://cinder:pass@localhost/cinder
 api_paste_confg = /etc/cinder/api-paste.ini
 iscsi_helper = tgtadm
 volume_name_template = volume-%s


I did a grep looking for nova-volume in etc and this is what was found, 
nothing in cinder.



$ find /etc -type f -print0 | xargs -0 grep nova-volume
/etc/default/nova-volume:# nova-volume default vg to use.
/etc/default/nova-volume:# If nothing is set here, then nova-volume will 
pickup the
/etc/init/nova-volume.conf:exec su -s /bin/sh -c "exec nova-volume 
--config-file=/etc/nova/nova.conf" nova

/etc/logrotate.d/nova-volume:/var/log/nova/nova-volume.log {


So I don't know where it's picking up /usr/bin/nova-volume.  The stack 
is appearing in nova-volume.log, which shouldn't have anything in it if 
I'm using cider???


Blair


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?

2013-01-22 Thread Vishvananda Ishaya

On Jan 22, 2013, at 12:32 PM, Blair Zajac  wrote:

> /usr/bin/nova-volume


The wrong bin is running. You should be running /usr/bin/cinder-volume if you 
are using cinder.

It doesn't look like you have configured cinder properly.
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Folsom: boot from volume snapshot using nova.conf and not cinder?

2013-01-22 Thread Blair Zajac
I've set up a new Folsom instance on an Ubuntu 12.10 system.  Trying to 
launch a new instance booting from a volume snapshot, which failed with 
the below stacktrace saying that nova-volumes cannot be found.  This 
suggests to me that nova is using nova-volumes instead of cinder, even 
though I've set up cinder with a LVM volume group named cinder-volumes:


# nova.con
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900
# MAKE SURE NO ENTRY FOR osapi_volume anywhere in nova.conf!!!
# Leaving out enabled_apis altogether is NOT sufficient, as it defaults
# to include osapi_volume
enabled_apis=ec2,osapi_compute,metadata


# cinder.conf
volume_name_template = volume-%s
volume_group = cinder-volumes



Is this a known issue?  I've since set 'volume_group = cinder-volumes' 
but I'm guessing this shouldn't be necessary?


Blair



2013-01-21 22:44:21 DEBUG nova.utils 
[req-38df4209-f04f-4fe0-b0ab-14625a7eccba None None] Running cmd 
(subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf vgs 
--noheadings -o name from (pid=2841) execute /usr/

lib/python2.7/dist-packages/nova/utils.py:176
2013-01-21 22:44:24 DEBUG nova.utils 
[req-38df4209-f04f-4fe0-b0ab-14625a7eccba None None] Result was 0 from 
(pid=2841) execute /usr/lib/python2.7/dist-packages/nova/utils.py:191
2013-01-21 22:44:24 CRITICAL nova [-] Bad or unexpected response from 
the storage volume backend API: volume group nova-volumes doesn't exist

2013-01-21 22:44:24 TRACE nova Traceback (most recent call last):
2013-01-21 22:44:24 TRACE nova   File "/usr/bin/nova-volume", line 48, 
in 

2013-01-21 22:44:24 TRACE nova service.wait()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/service.py", line 659, in wait

2013-01-21 22:44:24 TRACE nova _launcher.wait()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/service.py", line 192, in wait

2013-01-21 22:44:24 TRACE nova super(ServiceLauncher, self).wait()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in wait

2013-01-21 22:44:24 TRACE nova service.wait()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in 
wait

2013-01-21 22:44:24 TRACE nova return self._exit_event.wait()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait

2013-01-21 22:44:24 TRACE nova return hubs.get_hub().switch()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch

2013-01-21 22:44:24 TRACE nova return self.greenlet.switch()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in 
main

2013-01-21 22:44:24 TRACE nova result = function(*args, **kwargs)
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/service.py", line 132, in run_server

2013-01-21 22:44:24 TRACE nova server.start()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start

2013-01-21 22:44:24 TRACE nova self.manager.init_host()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/volume/manager.py", line 99, in 
init_host

2013-01-21 22:44:24 TRACE nova self.driver.check_for_setup_error()
2013-01-21 22:44:24 TRACE nova   File 
"/usr/lib/python2.7/dist-packages/nova/volume/driver.py", line 115, in 
check_for_setup_error
2013-01-21 22:44:24 TRACE nova raise 
exception.VolumeBackendAPIException(data=exception_message)
2013-01-21 22:44:24 TRACE nova VolumeBackendAPIException: Bad or 
unexpected response from the storage volume backend API: volume group 
nova-volumes doesn't exist


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Structure Hybrid Compute Nodes

2013-01-22 Thread zebra z zebra
I actually have the same question, but in a different "shape".

Is it possible to "pin" specific workloads to certain nodes that one knows
need to be of a certain type. I.e ­ can one "pin" certain workloads to high
memory instances, GPU instances etc.

-z

From:  Danilo Perogil 
Date:  Tuesday, 22 January 2013 10:47 PM
To:  "openstack@lists.launchpad.net" 
Subject:  [Openstack] Structure Hybrid Compute Nodes

Hello everybody,

Do you know of a way to set to work with OpenStack ComputesNodes containing
different hardware?
In my case, I did tests with different hardware, example 1 compute node with
24processors and 128GB memory VS 1 compute node with 8 processorsand 16GB of
memory.In the test I saw heonly makes divisionnumber of instances between
totalcompute nodes, butit does a calculation for use by node.

It is possibleto make it work withsome kind of calculation to not overload a
node?

Sorry my english google translate hahahah
___ Mailing list:
https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack More help   :
https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] vm can not get ip

2013-01-22 Thread Rain Li
Hi, Sam,

I also install Openstack on ubuntu 12.10 via
http://devstack.org/guides/single-machine.html, and get this error as well.
Another weird thing is that I can start an instance from horizon, (it shows
the "successful" message), but I can not access (ping/ssh) the instance
from the controller host machine. I already add the corresponding secgroup
rules. With command "route -n", I can see the route entry for 169.254.0.0.
Hope someone can show some clues for this problem.

Rain Li


On Mon, Jan 21, 2013 at 8:50 PM, sam lee  wrote:

> the following are my dhcp-agent configure and dnsmasq info.
>
> root@network:/home/openstack# ps -ef | grep dnsmasq
>
> nobody2299 1  0 Jan21 ?00:00:00 /usr/sbin/dnsmasq
> --no-hosts --no-resolv --strict-order --bind-interfaces
> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
>
> root  2301  2299  0 Jan21 ?00:00:00 /usr/sbin/dnsmasq
> --no-hosts --no-resolv --strict-order --bind-interfaces
> --interface=tapc71e5285-a0 --except-interface=lo --domain=openstacklocal
> --pid-file=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/pid
> --dhcp-hostsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/host
> --dhcp-optsfile=/var/lib/quantum/dhcp/93e695f6-5dae-41b1-8a92-2bce8cb0e785/opts
> --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update
> --leasefile-ro --dhcp-range=set:tag0,50.50.1.0,static,120s
> root  9854  4475  0 10:44 pts/100:00:00 grep --color=auto dnsmasq
> root@network:/home/openstack#
>
> root@network:/home/openstack# grep -v "#" /etc/quantum/dhcp_agent.ini
> [DEFAULT]
> state_path = /var/lib/quantum
> interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
> dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
> use_namespaces = False
> root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf
> root@network:/home/openstack#
>
> root@network:/var/lib/quantum/dhcp# ovs-vsctl show
> d120debb-b01b-4b9a-b824-5e7e23fa1cd4
> Bridge br-int
> Port "tap9338c64b-13"
> tag: 4095
> Interface "tap9338c64b-13"
> type: internal
> Port "qr-ca596884-61"
> tag: 1
> Interface "qr-ca596884-61"
> type: internal
> Port "tap063c55b9-17"
> tag: 4095
> Interface "tap063c55b9-17"
> type: internal
> Port br-int
> Interface br-int
> type: internal
> Port "tap0dcaeb82-30"
> tag: 4095
> Interface "tap0dcaeb82-30"
> type: internal
> Port "tapc71e5285-a0"
> tag: 1
> Interface "tapc71e5285-a0"
> type: internal
> Port "int-br-eth1"
> Interface "int-br-eth1"
> Bridge "br-eth1"
> Port "phy-br-eth1"
> Interface "phy-br-eth1"
> Port "eth0"
> Interface "eth0"
> Port "br-eth1"
> Interface "br-eth1"
> type: internal
> Bridge br-ex
> Port br-ex
> Interface br-ex
> type: internal
> Port "qg-d5d39934-28"
> Interface "qg-d5d39934-28"
> type: internal
> Port "eth1"
> Interface "eth1"
> ovs_version: "1.4.0+build0"
>
>
>
> 2013/1/22 sam lee 
>
>> I install openstack folsom on ubuntu 12.04 following this guide
>> https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/blob/VLAN/2NICs/OpenStack_Folsom_Install_Guide_WebVersion.rst.
>> Everything is ok util run an instance.  I check the nova console log, it
>> show that "cloud-setup: checking
>> http://169.254.169.254/2009-04-04/meta-data/instance-id
>> wget: can't connect to remote host (169.254.169.254): Network is
>> unreachable, ...", and i don't use namespace. I am a newbie for
>> openstack. Appreciate all the help
>>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread heut2008
You can modify the base images ,change ssh config to allow password auth.


2013/1/23 Balamurugan V G 

> Hi,
>
> I have a Folsom private openstack cloud in which security is not a
> concern. That is I dont really need the security groups and keypairs etc
> offered by openstack. So all my instances are launched as part of the
> default security group. I have even allowed all TCP and UDP ports(1 to
> 65535) and ICMP.
>
> But when I try to SSH to the floating IP assigned to a Ubuntu instance, I
> get connection refused. When I so 'ssh -vvv', I can see that the connection
> is getting establish but is getting terminated. It seems due to missing key
> pair.
>
> Is there a way to bypass the keypairs.
>
> Regards,
> Balu
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Yaguang Tang
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread Balamurugan V G
My ssh debug logs are below:

$ ssh -vvv root@1.1.1.1
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 1.1.1.1 [1.1.1.1] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/balu/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/balu/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/balu/.ssh/id_rsa-cert type -1
debug1: identity file /home/balu/.ssh/id_dsa type -1
debug1: identity file /home/balu/.ssh/id_dsa-cert type -1
debug1: identity file /home/balu/.ssh/id_ecdsa type -1
debug1: identity file /home/balu/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1
Debian-5ubuntu1
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "1.1.1.1" from file
"/home/balu/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 1.1.1.1

Regards,
Balu

On Tue, Jan 22, 2013 at 10:31 PM, Balamurugan V G
wrote:

> Yes but I want to skip this feature of keypairs. I want to be able to SSH
> with out needing the keypairs since security is not a concern in my private
> cloud.
>
> Thanks,
> Balu
>
> On Tue, Jan 22, 2013 at 10:29 PM, JuanFra Rodriguez Cardoso <
> juanfra.rodriguez.card...@gmail.com> wrote:
>
>> Hi Balu:
>>
>> Before launching an instance, you have to create a keypair
>> (YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
>> Then, next time you launch an instance, you can choose that keypair
>> created previously.
>>
>> Regards,
>> JuanFra.
>>
>> 2013/1/22 Balamurugan V G 
>>
>>> Hi,
>>>
>>> I have a Folsom private openstack cloud in which security is not a
>>> concern. That is I dont really need the security groups and keypairs etc
>>> offered by openstack. So all my instances are launched as part of the
>>> default security group. I have even allowed all TCP and UDP ports(1 to
>>> 65535) and ICMP.
>>>
>>> But when I try to SSH to the floating IP assigned to a Ubuntu instance,
>>> I get connection refused. When I so 'ssh -vvv', I can see that the
>>> connection is getting establish but is getting terminated. It seems due to
>>> missing key pair.
>>>
>>> Is there a way to bypass the keypairs.
>>>
>>> Regards,
>>> Balu
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> JuanFra
>>
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread Balamurugan V G
Yes but I want to skip this feature of keypairs. I want to be able to SSH
with out needing the keypairs since security is not a concern in my private
cloud.

Thanks,
Balu

On Tue, Jan 22, 2013 at 10:29 PM, JuanFra Rodriguez Cardoso <
juanfra.rodriguez.card...@gmail.com> wrote:

> Hi Balu:
>
> Before launching an instance, you have to create a keypair
> (YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
> Then, next time you launch an instance, you can choose that keypair
> created previously.
>
> Regards,
> JuanFra.
>
> 2013/1/22 Balamurugan V G 
>
>> Hi,
>>
>> I have a Folsom private openstack cloud in which security is not a
>> concern. That is I dont really need the security groups and keypairs etc
>> offered by openstack. So all my instances are launched as part of the
>> default security group. I have even allowed all TCP and UDP ports(1 to
>> 65535) and ICMP.
>>
>> But when I try to SSH to the floating IP assigned to a Ubuntu instance, I
>> get connection refused. When I so 'ssh -vvv', I can see that the connection
>> is getting establish but is getting terminated. It seems due to missing key
>> pair.
>>
>> Is there a way to bypass the keypairs.
>>
>> Regards,
>> Balu
>>
>> ___
>> Mailing list: https://launchpad.net/~openstack
>> Post to : openstack@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> JuanFra
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Is the Quantum a network bottleneck

2013-01-22 Thread Jian Wen
On 2013?01?22? 10:56, Balamurugan V G wrote:
> Hi,
>
> In an Openstack deployment using Quantum, the compute nodes access the
> public/external network via the network node (as per the diagram
> http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html).
>
> So if I have a hundred compute nodes each running hundred instances,
> wouldn't the link to the network node choke? Also wouldnt the network
> node's resources be a bottleneck?
>
> Regards,
> Balu
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
 Quantum Multi-host DHCP and L3
https://blueprints.launchpad.net/quantum/+spec/quantum-multihost

-- 
Jian Wen

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova compute for ESXi

2013-01-22 Thread Balamurugan V G
Hi,

 I am trying to add a ESXi compute node to the stack. So I have a Ubuntu VM
inside the ESXi which I plan to use as the compute node for the ESXi. So on
this Ubuntu VM, I need to install nova-compute. Since there are various
flavors of nova-compute, I assume that I should be installing just the
'nova-compute' from the list below:

root@openstack-esxi:~# apt-cache search nova-compute
nova-compute - OpenStack Compute - compute node
nova-compute-kvm - OpenStack Compute - compute node (KVM)
nova-compute-lxc - OpenStack Compute - compute node (LXC)
nova-compute-qemu - OpenStack Compute - compute node (QEmu)
nova-compute-uml - OpenStack Compute - compute node (UserModeLinux)
nova-compute-xcp - OpenStack Compute - compute node (XCP)
nova-compute-xen - OpenStack Compute - compute node (Xen)
nova-xcp-plugins - OpenStack Compute plugin for the Xen Cloud Platform
root@openstack-esxi:~#

Is my assumption right?

Thanks,
Balu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread JuanFra Rodriguez Cardoso
Hi Balu:

Before launching an instance, you have to create a keypair
(YOUR_DASHBOARD_IP/dashboard/nova/access_and_security/).
Then, next time you launch an instance, you can choose that keypair created
previously.

Regards,
JuanFra.

2013/1/22 Balamurugan V G 

> Hi,
>
> I have a Folsom private openstack cloud in which security is not a
> concern. That is I dont really need the security groups and keypairs etc
> offered by openstack. So all my instances are launched as part of the
> default security group. I have even allowed all TCP and UDP ports(1 to
> 65535) and ICMP.
>
> But when I try to SSH to the floating IP assigned to a Ubuntu instance, I
> get connection refused. When I so 'ssh -vvv', I can see that the connection
> is getting establish but is getting terminated. It seems due to missing key
> pair.
>
> Is there a way to bypass the keypairs.
>
> Regards,
> Balu
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
JuanFra
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Is the Quantum a network bottleneck

2013-01-22 Thread Balamurugan V G
Hi,

In an Openstack deployment using Quantum, the compute nodes access the
public/external network via the network node (as per the diagram
http://docs.openstack.org/trunk/openstack-network/admin/content/connectivity.html
).

So if I have a hundred compute nodes each running hundred instances,
wouldn't the link to the network node choke? Also wouldnt the network
node's resources be a bottleneck?

Regards,
Balu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Bypassing the keypair in Folsom

2013-01-22 Thread Balamurugan V G
Hi,

I have a Folsom private openstack cloud in which security is not a concern.
That is I dont really need the security groups and keypairs etc offered by
openstack. So all my instances are launched as part of the default security
group. I have even allowed all TCP and UDP ports(1 to 65535) and ICMP.

But when I try to SSH to the floating IP assigned to a Ubuntu instance, I
get connection refused. When I so 'ssh -vvv', I can see that the connection
is getting establish but is getting terminated. It seems due to missing key
pair.

Is there a way to bypass the keypairs.

Regards,
Balu
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] which is the level of unit test cases should be covered

2013-01-22 Thread John Griffith
On Mon, Jan 21, 2013 at 8:58 PM, Robert Collins
wrote:

> On 22 January 2013 16:37, Xiazhihui (Hashui, IT) 
> wrote:
> > Hi friends,
> >
> >
> >
> >  I want to upload a volume driver, right now I’m writing unit
> test
> > case code ( it’s also need to be uploaded).
> >
> >
> >
> >  And I do not know the requirements of the unit test code. Which
> is
> > the level of unit test cases in my unit test code should be covered:
> > Function Coverage, Condition coverage, Decision Coverage, Statement
> Coverage
> > or others? Or should I write what I think needs?
>
> Pragmatically speaking, code should be tested such that if either:
>  - some precondition it has is changed (either elsewhere in the same
> code base or in the behaviour of some other code base) that we find
> out
>  - if someone changes the code itself and breaks an existing use case,
> we find out.
>
> Exactly what that means may be different for different routines :).
>
> My general rule is to start with testing each entry and exit path and
> any domain or range corner cases.
>
> -Rob
> --
> Robert Collins 
> Distinguished Technologist
> HP Cloud Services
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
You can use some of the other back-end driver tests as a starting point or
reference, and submit a review and go from there.  Also feel free to grab
somebody on IRC in #openstack-cinder and maybe we can help answer more
detailed questions you have there.

Thanks,
John
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Instances and ARP

2013-01-22 Thread Joe Breu
In the interim you can set vpn_image_id to the UUID of an image that you want 
launched without mac and IP spoofing filters created.  On the compute node the 
instance is launched with the nova-vpn ruleset which allows DHCP traffic.

At current this only works with a single image UUID.

---
Joseph Breu
Deployment Engineer
Rackspace Private Cloud
210-312-3508

On Jan 21, 2013, at 5:49 AM, Belmiro Moreira wrote:

Hi Joe,
nova network filtering rules are preventing ip-spoofing.
There is a proposal to modify this behavior when using HA in instances.
See thread:
[openstack-dev] VM level HA. Changes in firewall.py question.

You can check with:
virsh nwfilter-dumpxml nova-base

cheers,
Belmiro

On Jan 21, 2013, at 12:25 PM, Joe Warren-Meeks 
mailto:joe.warren.me...@gmail.com>> wrote:

Hi guys,

I've got openstack essex configured with vlanmanager and an external gateway 
and all my networking runs ok generally.

However, I'm trying to setup Linux HA on two instances. They run on separate 
compute nodes and can see each other just fine. hb_takeover and hb_standby 
works perfectly. The problem is that nothing outside of the instance with the 
HA IP address can connect to it.

It seems that something is ignoring the arp is-at from the instance. Doing a 
tcpdump on the compute node's bridged network and the instance's eth0 I can arp 
requests and responses fine for its main IP, but when I try to get to the alias 
address, I see arp requests only on the compute side. On the instance side I 
see it responding, but this doesn't show up on the bridged interface on the 
compute node.

Has anyone seen this before? My google-fu is failing to find anything.

Kind regards

-- joe.


___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : 
openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Fwd: using Win AD authentication as keystone backend

2013-01-22 Thread Joshua McKenty
Wenmao- I've seen translucent LDAP proxies used for this type of operation,
although typically to provide additional attributes rather than additional
users.

-- Sent from a tiny keyboard
On Jan 22, 2013 4:23 AM, "Liu Wenmao"  wrote:

>
>
> -- Forwarded message --
> From: Liu Wenmao 
> Date: Tue, Jan 22, 2013 at 4:55 PM
> Subject: Re: [Openstack] using Win AD authentication as keystone backend
> To: Tim Bell 
>
>
> Thanks Bell
>
> is it possible to use active directory and mysql database at the same
> time? for example, keystone first query the user in AD, if nothing is
> found, it then query mysql database.
>
> The motivation is that I want to store service users(glance, nova) in
> mysql and use current AD database for employee login.
>
> Wenmao
>
>
> On Tue, Jan 22, 2013 at 3:51 PM, Tim Bell  wrote:
>
>> We run Active Directory with Keystone at CERN.
>>
>> ** **
>>
>> The configuration is documented by Jose in the Wiki at
>> http://wiki.openstack.org/HowtoIntegrateKeystonewithAD.
>>
>> ** **
>>
>> Not sure if all the patches made it into Folsom though.
>>
>> ** **
>>
>> Tim
>>
>> ** **
>>
>> *From:* openstack-bounces+tim.bell=cern...@lists.launchpad.net [mailto:
>> openstack-bounces+tim.bell=cern...@lists.launchpad.net] *On Behalf Of *Liu
>> Wenmao
>> *Sent:* 22 January 2013 04:23
>> *To:* openstack@lists.launchpad.net
>> *Subject:* [Openstack] using Win AD authentication as keystone backend***
>> *
>>
>> ** **
>>
>> hello all:
>>
>> ** **
>>
>> My company use Windows AD(active directory) authentication for internal
>> user login, is it possible to integrate the current authentication with
>> keystone backend, so that we do not extra user/password maintaining. Hope
>> Openstack Folsom has an easy and stable solution.
>>
>> ** **
>>
>> thanks 
>>
>> ** **
>>
>> ** **
>>
>> Wenmao Liu
>>
>> NSFOCUS
>>
>
>
>
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Structure Hybrid Compute Nodes

2013-01-22 Thread Danilo Perogil
Hello everybody,

Do you know of a way to set to work with OpenStack Computes Nodes containing 
different hardware?
In my case, I did tests with different hardware, example 1 compute node with 24 
processors and 128GB memory VS 1 compute node with 8 processors and 16GB of 
memory. In the test I saw he only makes division number of instances between 
total compute nodes, but it does a calculation for use by node.

It is possible to make it work with some kind of calculation to not overload a 
node?

Sorry my english google translate hahahah
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] [COSUG] how the nova-api wsgi receive request?

2013-01-22 Thread longeek

Hi friends,
openstack wsgi use eventlet to spawn one process which listening the
request.
I have known how the wsgi service running,
but how the wsgi receive request and how to follow it by debug?

any good ideas?

Tks,
Best Regards,

Lawrency Meng
mail: mengql112...@gmail.com

-- 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Unify services and hosts API

2013-01-22 Thread Alessio Ababilov
Hi everyone!

I noticed that API of two nova extensions (namely hosts and services)
is inconsistent with other parts of API.

First of all, you have to make a GET query for host shutdown, startup,
or reboot. It's _very strange_ and it should be regular actions
executed with a POST query.

Second, Nova API usually returns updated entities in response to
update queries. For example, if you update a host aggregate, you will
obtain something like {  "aggregate": { ... } } . Host and services
API omits the wrapping dictionary and returns, for example,  {...}
instead of {"host":{...}} .

I've updated these extensions in https://review.openstack.org/18577 .
The patch has one -2 cause it updates API and one +2 since these
changes are made to extensions, not to main API.

Could you pay attention to it, please?

-- 
Alessio Ababilov
Software Engineer
Grid Dynamics

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Progress on wiki migration to Mediawiki

2013-01-22 Thread Thierry Carrez
Ryan Lane wrote:
> Image location is fixed and the redirects are also in.

I still have issues with image location.

See
https://wiki-staging.openstack.org/wiki/File:Openstack-compute-icon.png
or https://wiki-staging.openstack.org/wiki/File:Compute.png

Everything looks ok, except access to image data returns 404 at:

https://wiki-staging.openstack.org/w/images/2/25/Openstack-compute-icon.png
https://wiki-staging.openstack.org/w/images/d/d5/Compute.png

Regards,

-- 
Thierry Carrez (ttx)
Release Manager, OpenStack

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] How to debug the wsgi app when get the request?

2013-01-22 Thread longeek
Hi,
Now I have known that how to debug the wsgi server when it runs.
But when I set the breakpoint and then use the CURL to fork the request
to nova-api, I cann't get the debug info, such as var data.

any good idea?

--
Lawrency Meng
mail:mengql112...@gmail.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Problem running devstack / stack.sh

2013-01-22 Thread Bhandaru, Malini K
Luo,

Wow! That did it!!! Thank you for your suggestion.
(for the record need  "export HOST_IP=localhost" ..)
Malini

From: zhongyue@gmail.com [mailto:zhongyue@gmail.com] On Behalf Of 
Zhongyue Luo
Sent: Tuesday, January 22, 2013 1:07 AM
To: Bhandaru, Malini K
Cc: Sagar Nikam; OpenStack Development Mailing List; 
openstack@lists.launchpad.net (openstack@lists.launchpad.net) 
(openstack@lists.launchpad.net)
Subject: Re: [Openstack] Problem running devstack / stack.sh

Malini,
Hope this helps. I added this to my localrc to get a single node work behind a 
intel proxy.

HOST_IP = localhost
SERVICE_HOST = $HOST_IP
IMAGE_HOST = $HOST_IP
IDENTITY_HOST = $HOST_IP

If you want to run a multi node devstack setup, you have to turn off all proxy 
envs.
On Tue, Jan 22, 2013 at 3:41 PM, Bhandaru, Malini K 
mailto:malini.k.bhand...@intel.com>> wrote:
Sagar, thank you for the suggestion. It did not help however
(I already had in my .bashrc file ..)
export 
no_proxy=localhost,*.local,.intel.com,127.0.0.0/8,143.183.0.0/16,172.16.0

Mysql is installed, shows it has a keystone database and keystone tables such 
as user and end point.
I cross checked mysql root password and that in the localrc file match.

But keymanage-all still spins !!

Would appreciate any other suggestions.
Regards
Malini


From: Sagar Nikam 
[mailto:sagar.r.ni...@gmail.com]
Sent: Monday, January 21, 2013 9:30 PM
To: Bhandaru, Malini K
Cc: Dusan Dordevic; OpenStack Development Mailing List; 
openstack@lists.launchpad.net
Subject: Re: [Openstack] Problem running devstack / stack.sh

Hi Malani,

Are you trying to run devstack with proxy set.
You also need to set no_proxy.
Please add the following entry in localrc file and execute stack.sh
export no_proxy="localhost,127.0.0.1"

I had faced the same error you have mentioned and the problem was solved by 
setting no_proxy

Regards,
Sagar

On Mon, Jan 21, 2013 at 11:29 PM, Bhandaru, Malini K 
mailto:malini.k.bhand...@intel.com>> wrote:

Greetings Dusan!

I am having similar issues and made no progress .. peeled the onion a bit.
Hope somebody else can help us. I posted a request on devstack' s launchpad 
site too.


1)  It helped making a copy of the sample localrc and placing in devstack 
home directory.

2)  The devstack stack.sh script created a stack user but directories such 
as /etc/keystone /etc/glance etc

Were owned by root, so it helped to using chown to make them stack user 
writable (I just made them writable)

3)  I even did not get fancy such as configuring for a real database or 
turning swift on etc, just a plain SQLite type keystone backend.

4)  The keystone service does not start up, thus the command to obtain it's 
service id returns an empty string, and thus the below call fails saying it is 
missing the service-id argument.

KEYSTONE_SERVICE=
+ keystone endpoint-create --region RegionOne --service_id --publicurl 
http://192.168.1.13:5000/v2.0 --adminurl http://192.168.1.13:35357/v2.0 
--internalurl http://192.168.1.13:5000/v2.0
usage: keystone endpoint-create [--region ] --service-id
 [--publicurl ]
[--adminurl ]
[--internalurl ]
keystone endpoint-create: error: argument --service-id/--service_id: expected 
one argument

5)  And with no service up, no end point created, other requests such as 
user, tenant etc create fail, the avalance effect.

From: 
openstack-bounces+malini.k.bhandaru=intel@lists.launchpad.net
 
[mailto:openstack-bounces+malini.k.bhandaru=intel@lists.launchpad.net]
 On Behalf Of Dusan Dordevic
Sent: Sunday, January 20, 2013 7:36 AM
To: openstack@lists.launchpad.net
Subject: [Openstack] Problem running devstack / stack.sh

Hi,
I just downloaded fresh copy of devstack, and I am trying to run in on Ubuntu. 
12.04. I do have stack.sh problem, it seems to me like something related to 
Keystone and database, but I cannot find the problem. Any idea what it might be 
?
Here is full error dump:
./stack.sh
...
+ export OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
+ OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
+ create_keystone_accounts
++ keystone tenant-create --name admin
++ grep ' id '
++ get_field 2
++ read data
Unable to communicate with identity service: {"error": {"message": "An 
unexpected error prevented the server from fulfilling your request. 
(OperationalError) (1045, \"Access denied for user 'root'@'localhost' (using 
password: YES)\") None None", "code": 500, "title": "Internal Server Error"}}. 
(HTTP 500)
+ ADMIN_TENANT=
++ keystone user-create --name admin --pass sifra --email 
ad...@example.com
++ grep 

[Openstack] Fwd: using Win AD authentication as keystone backend

2013-01-22 Thread Liu Wenmao
-- Forwarded message --
From: Liu Wenmao 
Date: Tue, Jan 22, 2013 at 4:55 PM
Subject: Re: [Openstack] using Win AD authentication as keystone backend
To: Tim Bell 


Thanks Bell

is it possible to use active directory and mysql database at the same time?
for example, keystone first query the user in AD, if nothing is found, it
then query mysql database.

The motivation is that I want to store service users(glance, nova) in mysql
and use current AD database for employee login.

Wenmao


On Tue, Jan 22, 2013 at 3:51 PM, Tim Bell  wrote:

> We run Active Directory with Keystone at CERN.
>
> ** **
>
> The configuration is documented by Jose in the Wiki at
> http://wiki.openstack.org/HowtoIntegrateKeystonewithAD.
>
> ** **
>
> Not sure if all the patches made it into Folsom though.
>
> ** **
>
> Tim
>
> ** **
>
> *From:* openstack-bounces+tim.bell=cern...@lists.launchpad.net [mailto:
> openstack-bounces+tim.bell=cern...@lists.launchpad.net] *On Behalf Of *Liu
> Wenmao
> *Sent:* 22 January 2013 04:23
> *To:* openstack@lists.launchpad.net
> *Subject:* [Openstack] using Win AD authentication as keystone backend
>
> ** **
>
> hello all:
>
> ** **
>
> My company use Windows AD(active directory) authentication for internal
> user login, is it possible to integrate the current authentication with
> keystone backend, so that we do not extra user/password maintaining. Hope
> Openstack Folsom has an easy and stable solution.
>
> ** **
>
> thanks 
>
> ** **
>
> ** **
>
> Wenmao Liu
>
> NSFOCUS
>
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Problem running devstack / stack.sh

2013-01-22 Thread Zhongyue Luo
Malini,

Hope this helps. I added this to my localrc to get a single node work
behind a intel proxy.

HOST_IP = localhost
SERVICE_HOST = $HOST_IP
IMAGE_HOST = $HOST_IP
IDENTITY_HOST = $HOST_IP

If you want to run a multi node devstack setup, you have to turn off all
proxy envs.

On Tue, Jan 22, 2013 at 3:41 PM, Bhandaru, Malini K <
malini.k.bhand...@intel.com> wrote:

>  Sagar, thank you for the suggestion. It did not help however
>
> (I already had in my .bashrc file ..)
>
> export no_proxy=localhost,*.local,.intel.com,
> 127.0.0.0/8,143.183.0.0/16,172.16.0
>
>
>
> Mysql is installed, shows it has a keystone database and keystone tables
> such as user and end point.
>
> I cross checked mysql root password and that in the localrc file match.
>
>
>
> But keymanage-all still spins !!
>
>
>
> Would appreciate any other suggestions.
>
> Regards
>
> Malini
>
>
>
>
>
> *From:* Sagar Nikam [mailto:sagar.r.ni...@gmail.com]
> *Sent:* Monday, January 21, 2013 9:30 PM
> *To:* Bhandaru, Malini K
> *Cc:* Dusan Dordevic; OpenStack Development Mailing List;
> openstack@lists.launchpad.net
> *Subject:* Re: [Openstack] Problem running devstack / stack.sh
>
>
>
> Hi Malani,
>
>
>
> Are you trying to run devstack with proxy set.
>
> You also need to set no_proxy.
>
> Please add the following entry in localrc file and execute stack.sh
>
> export no_proxy="localhost,127.0.0.1"
>
>
>
> I had faced the same error you have mentioned and the problem was solved
> by setting no_proxy
>
>
>
> Regards,
>
> Sagar
>
>
>
> On Mon, Jan 21, 2013 at 11:29 PM, Bhandaru, Malini K <
> malini.k.bhand...@intel.com> wrote:
>
>
>
> Greetings Dusan!
>
>
>
> I am having similar issues and made no progress .. peeled the onion a bit.
>
> Hope somebody else can help us. I posted a request on devstack’ s
> launchpad site too.
>
>
>
> 1)  It helped making a copy of the sample localrc and placing in
> devstack home directory.
>
> 2)  The devstack stack.sh script created a stack user but directories
> such as /etc/keystone /etc/glance etc
>
> Were owned by root, so it helped to using chown to make them stack user
> writable (I just made them writable)
>
> 3)  I even did not get fancy such as configuring for a real database
> or turning swift on etc, just a plain SQLite type keystone backend.
>
> 4)  The keystone service does not start up, thus the command to
> obtain it’s service id returns an empty string, and thus the below call
> fails saying it is missing the service-id argument.
>
> KEYSTONE_SERVICE=
> + keystone endpoint-create --region RegionOne --service_id --publicurl
> http://192.168.1.13:5000/v2.0 --adminurl 
> http://192.168.1.13:35357/v2.0--internalurl
> http://192.168.1.13:5000/v2.0
> usage: keystone endpoint-create [--region ] --service-id
>  [--publicurl ]
> [--adminurl ]
> [--internalurl ]
> keystone endpoint-create: error: argument --service-id/--service_id:
> expected one argument
>
> 5)  And with no service up, no end point created, other requests such
> as user, tenant etc create fail, the avalance effect.
>
>
>
> *From:* 
> openstack-bounces+malini.k.bhandaru=intel@lists.launchpad.net[mailto:
> openstack-bounces+malini.k.bhandaru=intel@lists.launchpad.net] *On
> Behalf Of *Dusan Dordevic
> *Sent:* Sunday, January 20, 2013 7:36 AM
> *To:* openstack@lists.launchpad.net
> *Subject:* [Openstack] Problem running devstack / stack.sh
>
>
>
> Hi,
>
> I just downloaded fresh copy of devstack, and I am trying to run in on
> Ubuntu. 12.04. I do have stack.sh problem, it seems to me like something
> related to Keystone and database, but I cannot find the problem. Any idea
> what it might be ?
>
> Here is full error dump:
>
> ./stack.sh
> ...
> + export OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
> + OS_SERVICE_ENDPOINT=http://192.168.1.13:35357/v2.0
> + create_keystone_accounts
> ++ keystone tenant-create --name admin
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: {"error": {"message": "An
> unexpected error prevented the server from fulfilling your request.
> (OperationalError) (1045, \"Access denied for user 'root'@'localhost'
> (using password: YES)\") None None", "code": 500, "title": "Internal Server
> Error"}}. (HTTP 500)
> + ADMIN_TENANT=
> ++ keystone user-create --name admin --pass sifra --email
> ad...@example.com
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: {"error": {"message": "An
> unexpected error prevented the server from fulfilling your request.
> (OperationalError) (1045, \"Access denied for user 'root'@'localhost'
> (using password: YES)\") None None", "code": 500, "title": "Internal Server
> Error"}}. (HTTP 500)
> + ADMIN_USER=
> ++ keystone role-create --name admin
> ++ grep ' id '
> ++ get_field 2
> ++ read data
> Unable to communicate with identity service: {"error": {"message": "An
> unexpected e

Re: [Openstack] Ok, how do I debug this problem?

2013-01-22 Thread Belmiro Moreira
Hi Chris,
Are all compute nodes happy?

nova-manage service list

Belmiro

On Jan 21, 2013, at 7:23 PM, Christopher Smith  wrote:

> 
> So we have this four node Nova cluster running Essex.  It has worked fine, 
> but we've added new network interfaces.  Openstack has not yet been 
> configured to use them, but changes have been made that allows the system to 
> come up and configure the network in a similar way to before.  Now, all of 
> the services seem to be up and running, Rabbit is apparently happy as far as 
> I can tell.  Nova-scheduler and nova-compute are running and talking to 
> Rabbit.  Now then, whenever I log into any nova node and boot an instance or 
> ten, all instances get started on a single node; always the same node, never 
> any attempt by any of the others to start an instance.  I thought this would 
> be a Rabbit problem, but rabbit thinks it's doing fine on all nodes and the 
> cluster is intact.  I've even tried completely rebuilding the Rabbit 
> configuration, just in case.  If I stop services on the one working node, the 
> other nodes don't even appear to receive messages from either themselves or 
> each other, regardless of Rabbit's supposedly working state.
> 
> Any ideas?  Any clue how you would even test this to see what's happening?
> 
> Chris
> 
> -- 
> Christopher Smith
> Systems Engineer, Wolfram Research
> 
> ___
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp