Ask Your Question

punxism's profile - activity

2015-10-12 09:39:53 -0500 received badge  Famous Question (source)
2015-10-12 09:39:53 -0500 received badge  Notable Question (source)
2015-10-12 09:39:53 -0500 received badge  Popular Question (source)
2014-06-13 16:23:53 -0500 received badge  Student (source)
2014-06-12 06:29:13 -0500 answered a question Can i have Controller, Compute, Network all in one server?

You can also use ( . Just install all modules on a single node.

2014-06-12 06:26:18 -0500 asked a question SAIO probetests fail..

HI, All

I am installing swift using SAIO on a single node. I refer ( I am almost done.

But when I run step 14. ($HOME/swift/.probetests)

I met "test fails"

I am digging /var/log/swift/storage1.error. I found under logs.

Jun 12 19:54:58 openstack-ubuntu account-server: ERROR __call__ error with REPLICATE /sdc1/802/c8bcccab3ddbfdc34b08e9223f4f5178 : #012Traceback (most recent call last):#012  File "/home/openstack/swift/swift/account/", line 285, in __call__#012    res = method(req)#012  File "/home/openstack/swift/swift/common/", line 2269, in wrapped#012    return func(*a, **kw)#012  File "/home/openstack/swift/swift/common/", line 875, in _timing_stats#012    resp = func(ctrl, *args, **kwargs)#012  File "/home/openstack/swift/swift/account/", line 238, in REPLICATE#012    ret = self.replicator_rpc.dispatch(post_args, args)#012  File "/home/openstack/swift/swift/common/", line 591, in dispatch#012    return self.complete_rsync(drive, db_file, args)#012  File "/home/openstack/swift/swift/common/", line 665, in complete_rsync#012    broker.newid(args[0])#012  File "/home/openstack/swift/swift/common/", line 404, in newid#012    with self.get() as conn:#012  File "/usr/lib/python2.7/", line 17, in __enter__#012    return  File "/home/openstack/swift/swift/common/", line 353, in get#012    self.possibly_quarantine(*sys.exc_info())#012  File "/home/openstack/swift/swift/common/", line 351, in get#012    self.conn = get_db_connection(self.db_file, self.timeout)#012  File "/home/openstack/swift/swift/common/", line 187, in get_db_connection#012    timeout=timeout)#012DatabaseConnectionError: DB connection error (/srv/1/node/sdc1/tmp/449e66a0-19be-468a-a5e8-09c55f9eaa01, 25):#012Traceback (most recent call last):#012  File "/home/openstack/swift/swift/common/", line 168, in get_db_connection#012    factory=GreenDBConnection, timeout=timeout)#012  File "/home/openstack/swift/swift/common/", line 103, in __init__#012    super(GreenDBConnection, self).__init__(database, 0, *args, **kwargs)`**#012OperationalError: unable to open database file#012`**

I am focused on #012OperationalError: unable to open the database file#012 message.

But I can`t find any database configuration on ( ( ).

Where can I find database information about SAIO.


2014-06-11 20:25:12 -0500 received badge  Famous Question (source)
2014-06-08 23:27:01 -0500 answered a question cannot ssh, ping to instance (instance can't get dhcp ip).

Solved my self.

My instance ip is but dnsmasq listen-address is It was not matched. Then I deleted all vm network using "nova-manager delete" command in opentstack machine.

And NAT CIDR is on virtual box, I think, It is duplicated with Host-Only network use that as private network on my openstack), then I changed my private network as

Then when i created vm instance. I can connected vm instance and dnsmasq listen-address is


2014-06-08 19:15:09 -0500 received badge  Notable Question (source)
2014-06-06 16:55:06 -0500 received badge  Popular Question (source)
2014-06-05 03:45:21 -0500 received badge  Editor (source)
2014-06-05 03:43:57 -0500 asked a question cannot ssh, ping to instance (instance can't get dhcp ip).

I'm newbi in openstack and network. I can't connect using ssh to my instance.

  1. virtual box on my window machine.
  2. icehouse, ubuntu 14.04.
  3. single node, installed with 3 nic

I used nova-network with FlatDHCP.

on my instance consol-log.

> udhcpc (v1.20.1) started
> Sending discover...

> No lease, failing

> WARN: /etc/rc3.d/S40-network failed

> .....

> checking

> failed 1/20: up 186.37. request failed

on my ubuntu syslog

 **un  5 17:25:03 openstack-ubuntu dnsmasq-dhcp[2576]: DHCPDISCOVER(br100) fa:16:3e:7b:2d:6c no address available**

ps aux | grep dns

nobody    2576  0.0  0.0  28204   996 ?        S    17:13   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/ **--listen-address=** --except-interface=lo --**dhcp-range=set:vmnet,,static,,120s** --dhcp-lease-max=64 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal

root      2577  0.0  0.0  28204   248 ?        S    17:13   0:00 /usr/sbin/dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/ **--listen-address=** --except-interface=lo --**dhcp-range=set:vmnet,,static,,120**s --dhcp-lease-max=64 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --domain=novalocal

nova network-list

| ID                                   | Label | Cidr        |
| dd760648-8f94-4cc4-8f94-7fe4c59f141c | vmnet | |
| b328c540-324a-4bc3-b6ec-0e50e29acdb0 | demo2 | |

nova list (my instance use demo2 network)

| ID                                   | Name           | Status | Task State | Power State | Networks                               |
| 4593ec95-ed4f-4859-8543-5e93b677aa2b | demo-instance1 | ACTIVE | -          | Running     | demo2=,, |
  1. I created floating ip ( and associated ip to intance. But i can`t ssh, ping to instance.
  2. I disabled ufw firewall but problem is same.

I assumed the problem happens becase ip-range is mismatched. I found that dnsmasq listen-address is, But my instance address, then i think, my instance can't find dnsmasq. does it seem a correct assumption?

then I want to changed listen-address to how to change dnsmasq listen-address.

and my dnsmasq dhcp-range=set:vmnet,,static,,120s my instance ip doesn't included. But i don't understand why vmnet is included and why demo2 network doesn`t included. I didn't create vmnet. Does anybody have any suggestion on how to proceed?