Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

devstack error during installation

HI everyone, I am trying to install openstack through devstack in Ubuntu 14.04(all in one machiine installation). So I clone devstack, enter details in local.conf and run ./stack.sh. It installs a lot of modules but finally throws the following error. 2015-01-07 13:45:55.775 | + local img_property= 2015-01-07 13:45:55.775 | + case "$image_fname" in 2015-01-07 13:45:55.775 | + '[' cirros-0.3.2-x86_64-uec '!=' cirros-0.3.2-x86_64-uec.tar.gz ']' 2015-01-07 13:45:55.775 | + image_name=cirros-0.3.2-x86_64-uec 2015-01-07 13:45:55.775 | + local xdir=/home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec 2015-01-07 13:45:55.775 | + rm -Rf /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec 2015-01-07 13:45:55.782 | + mkdir /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec 2015-01-07 13:45:55.784 | + tar -zxf /home/stack/devstack/files/cirros-0.3.2-x86_64-uec.tar.gz -C /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec 2015-01-07 13:45:55.962 | ++ for f in '"$xdir/"-vmlinuz' '"$xdir/"aki-/image' 2015-01-07 13:45:55.963 | ++ '[' -f /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz ']' 2015-01-07 13:45:55.963 | ++ echo /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz 2015-01-07 13:45:55.963 | ++ break 2015-01-07 13:45:55.963 | ++ true 2015-01-07 13:45:55.963 | + kernel=/home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz 2015-01-07 13:45:55.964 | ++ for f in '"$xdir/"-initrd' '"$xdir/"ari-/image' 2015-01-07 13:45:55.964 | ++ '[' -f /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd ']' 2015-01-07 13:45:55.964 | ++ echo /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd 2015-01-07 13:45:55.964 | ++ break 2015-01-07 13:45:55.964 | ++ true 2015-01-07 13:45:55.964 | + ramdisk=/home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd 2015-01-07 13:45:55.965 | ++ for f in '"$xdir/".img' '"$xdir/"ami-/image' 2015-01-07 13:45:55.965 | ++ '[' -f /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img ']' 2015-01-07 13:45:55.965 | ++ echo /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img 2015-01-07 13:45:55.966 | ++ break 2015-01-07 13:45:55.966 | ++ true 2015-01-07 13:45:55.966 | + image=/home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-blank.img 2015-01-07 13:45:55.966 | + [[ -z cirros-0.3.2-x86_64-uec ]] 2015-01-07 13:45:55.966 | + is_arch ppc64 2015-01-07 13:45:55.966 | ++ uname -m 2015-01-07 13:45:55.967 | + [[ x86_64 == \p\p\c\6\4 ]] 2015-01-07 13:45:55.968 | + '[' '' = bare ']' 2015-01-07 13:45:55.968 | + local kernel_id= ramdisk_id= 2015-01-07 13:45:55.968 | + '[' -n /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-vmlinuz ']' 2015-01-07 13:45:55.969 | ++ openstack --os-token 2d93ec3dd9c74b00ad3270c44b24e044 --os-url http://172.30.0.209:9292 image create cirros-0.3.2-x86_64-uec-kernel --public --container-format aki --disk-format aki 2015-01-07 13:45:55.969 | ++ grep ' id ' 2015-01-07 13:45:55.969 | ++ get_field 2 2015-01-07 13:45:55.969 | ++ local data field 2015-01-07 13:45:55.969 | ++ read data 2015-01-07 13:46:29.761 | WARNING: urllib3.connectionpool HttpConnectionPool is full, discarding connection: 172.30.0.209 2015-01-07 13:46:29.761 | ERROR: openstack <html> 2015-01-07 13:46:29.761 | <head> 2015-01-07 13:46:29.761 | <title>400 Bad Request</title> 2015-01-07 13:46:29.762 | </head> 2015-01-07 13:46:29.762 | <body> 2015-01-07 13:46:29.762 |

400 Bad Request

2015-01-07 13:46:29.762 | Client disconnected before sending all data to backend

2015-01-07 13:46:29.762 | 2015-01-07 13:46:29.762 | </body> 2015-01-07 13:46:29.762 | </html> (HTTP 400) 2015-01-07 13:46:29.787 | + kernel_id= 2015-01-07 13:46:29.787 | + '[' -n /home/stack/devstack/files/images/cirros-0.3.2-x86_64-uec/cirros-0.3.2-x86_64-initrd ']' 2015-01-07 13:46:29.788 | ++ openstack --os-token 2d93ec3dd9c74b00ad3270c44b24e044 --os-url http://172.30.0.209:9292 image create cirros-0.3.2-x86_64-uec-ramdisk --public --container-format ari --disk-format ari 2015-01-07 13:46:29.789 | ++ grep ' id ' 2015-01-07 13:46:29.791 | ++ get_field 2 2015-01-07 13:46:29.791 | ++ local data field 2015-01-07 13:46:29.791 | ++ read data 2015-01-07 13:47:02.736 | WARNING: urllib3.connectionpool HttpConnectionPool is full, discarding connection: 172.30.0.209 2015-01-07 13:47:02.736 | ERROR: openstack <html> 2015-01-07 13:47:02.736 | <head> 2015-01-07 13:47:02.736 | <title>400 Bad Request</title> 2015-01-07 13:47:02.737 | </head> 2015-01-07 13:47:02.737 | <body> 2015-01-07 13:47:02.737 |

400 Bad Request

2015-01-07 13:47:02.737 | Client disconnected before sending all data to backend

2015-01-07 13:47:02.737 | 2015-01-07 13:47:02.737 | </body> 2015-01-07 13:47:02.737 | </html> (HTTP 400) 2015-01-07 13:47:02.761 | + ramdisk_id= 2015-01-07 13:47:02.761 | + openstack --os-token 2d93ec3dd9c74b00ad3270c44b24e044 --os-url http://172.30.0.209:9292 image create cirros-0.3.2-x86_64-uec --public --container-format ami --disk-format ami 2015-01-07 13:47:35.824 | WARNING: urllib3.connectionpool HttpConnectionPool is full, discarding connection: 172.30.0.209 2015-01-07 13:47:35.824 | ERROR: openstack <html> 2015-01-07 13:47:35.824 | <head> 2015-01-07 13:47:35.824 | <title>400 Bad Request</title> 2015-01-07 13:47:35.824 | </head> 2015-01-07 13:47:35.824 | <body> 2015-01-07 13:47:35.824 |

400 Bad Request

2015-01-07 13:47:35.824 | Client disconnected before sending all data to backend

2015-01-07 13:47:35.824 | 2015-01-07 13:47:35.824 | </body> 2015-01-07 13:47:35.824 | </html> (HTTP 400) 2015-01-07 13:47:35.845 | + exit_trap 2015-01-07 13:47:35.845 | + local r=1 2015-01-07 13:47:35.846 | ++ jobs -p 2015-01-07 13:47:35.846 | + jobs= 2015-01-07 13:47:35.846 | + [[ -n '' ]] 2015-01-07 13:47:35.847 | + kill_spinner 2015-01-07 13:47:35.847 | + '[' '!' -z '' ']' 2015-01-07 13:47:35.847 | + [[ 1 -ne 0 ]] 2015-01-07 13:47:35.847 | + echo 'Error on exit' 2015-01-07 13:47:35.847 | Error on exit 2015-01-07 13:47:35.847 | + [[ -z /opt/stack/logs ]] 2015-01-07 13:47:35.847 | + /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs 2015-01-07 13:47:35.902 | + exit 1

After this I tried to access the horizon dashboard and I was able to. I log in into dashboard but I was not able to create any VM instance nor any router. Please help