[Openstack] Error launching instances

John Smith lbalbalba at gmail.com
Tue Nov 26 18:36:42 UTC 2013


Hi,


So assuming you think the problem is the network, may I ask what
logfile and logentry you noticed to make you suspect that ?

I modified my localrc with your suggestions. When running stack.sh, I
was asked for a swift password, and provided 'password'. (Do I need to
set this elsewhere as well ?)

Just curious: whats the difference between 'neutron' and 'nova network' ?


After making your modifications, glance image creation fails :

$ glance image-create --name=cirros-0.3.0-i386 --is-public=true
--container-format=bare --disk-format=qcow2 <
cirros-0.3.0-i386-disk.img
Request returned failure status.
400 Bad Request
Client disconnected before sending all data to backend
    (HTTP 400)


And just in case its relevant, here's the output of 'ifconfig -a'

$ ifconfig -a
br100: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::6cf3:5bff:fe8d:5525  prefixlen 64  scopeid 0x20<link>
        ether 6e:f3:5b:8d:55:25  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 468 (468.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-ex: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 172.24.4.225  netmask 255.255.255.240  broadcast 0.0.0.0
        ether 4e:01:47:ef:50:4e  txqueuelen 0  (Ethernet)
        RX packets 10  bytes 776 (776.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 90 (90.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

br-int: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::4c4:27ff:feef:a08d  prefixlen 64  scopeid 0x20<link>
        ether 9e:6c:79:69:44:44  txqueuelen 0  (Ethernet)
        RX packets 21  bytes 1622 (1.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 468 (468.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 231252  bytes 210037500 (200.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 231252  bytes 210037500 (200.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ovs-system: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 82:71:ba:06:cf:46  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

p3p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.126.142  netmask 255.255.255.0  broadcast 192.168.126.255
        inet6 fe80::20c:29ff:fe6e:32be  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:6e:32:be  txqueuelen 1000  (Ethernet)
        RX packets 88561  bytes 61914618 (59.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 103321  bytes 15179500 (14.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  base 0x2000

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 06:09:53:bb:c9:28  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0




Regards,


John Smith.

On Tue, Nov 26, 2013 at 7:08 PM, Remo Mattei <Remo at mattei.org> wrote:
> I look through the logs and I would suggest to add neutron and not to use
> nova network.
>
> so here is the one I use.
>
> add this below your PASSWORD and TOKEN options
>
> disable_service n-net
> enable_service q-svc
> enable_service q-agt
> enable_service q-dhcp
> enable_service q-lbaas
> enable_service q-l3
> enable_service q-meta
> enable_service neutron
> # Optional, to enable tempest configuration as part of devstack
> enable_service tempest
> enable_service s-proxy s-object s-container s-account
> enable_service heat h-api h-api-cfn h-api-cw h-eng
> #enable_service n-cell
> SCREEN_LOGDIR=$DEST/logs/screen
>
>
> let me know
>
>
> --
> Remo Mattei
>
>




More information about the Openstack mailing list