[Openstack] [Devstack] Enabling services in HTTPS mode

Jayanthi Jeyakumar jeyakumar.jay at gmail.com
Tue Jan 27 07:13:11 UTC 2015


Hi All,

Seeing the following error when i try to install openstack services in
HTTPS mode .

2015-01-27 14:18:47.510 | + [[ -n /opt/stack/new/screen-logs ]]
2015-01-27 14:18:47.511 | + screen -S stack -p q-svc -X logfile
/opt/stack/new/screen-logs/screen-q-svc.2015-01-27-194016.log
2015-01-27 14:18:47.515 | + screen -S stack -p q-svc -X log on
2015-01-27 14:18:47.519 | + ln -sf
/opt/stack/new/screen-logs/screen-q-svc.2015-01-27-194016.log
/opt/stack/new/screen-logs/screen-q-svc.log
2015-01-27 14:18:47.521 | + sleep 3
2015-01-27 14:18:50.524 | ++ echo -ne '\015'
2015-01-27 14:18:50.525 | + NL=$'\r'
2015-01-27 14:18:50.525 | + [[ -n '' ]]
2015-01-27 14:18:50.525 | + screen -S stack -p q-svc -X stuff 'python
/usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/plugins/ml'/ml2_conf.ini & echo $!
>/opt/stack/status/stack/q-svc.pid; fg || echo "q-svc failed to start" |
tee "/opt/stack/status/stack/q-svc.failure"
2015-01-27 14:18:50.530 | + echo 'Waiting for Neutron to start...'
2015-01-27 14:18:50.530 | Waiting for Neutron to start...
2015-01-27 14:18:50.530 | + is_ssl_enabled_service neutron
2015-01-27 14:18:50.530 | + local services=neutron
2015-01-27 14:18:50.531 | + local service=
2015-01-27 14:18:50.531 | + '[' True == False ']'
2015-01-27 14:18:50.531 | + for service in '${services}'
2015-01-27 14:18:50.531 | + [[ ,key,nova,cinder,glance,s-proxy,neutron, =~
,neutron, ]]
2015-01-27 14:18:50.531 | + return 0
2015-01-27 14:18:50.531 | +
ssl_ca=--ca-certificate=/opt/stack/data/ca-bundle.pem
2015-01-27 14:18:50.531 | + timeout 60 sh -c 'while ! wget
--ca-certificate=/opt/stack/data/ca-bundle.pem --no-proxy -q -O-
https://<devstack-server-ip>:9696;
do sleep 1; done'
2015-01-27 14:19:50.533 | + die 643 'Neutron did not start'
2015-01-27 14:19:50.533 | + local exitcode=0
2015-01-27 14:19:50.533 | [Call Trace]
2015-01-27 14:19:50.534 | ./stack.sh:1254:start_neutron_service_and_check
2015-01-27 14:19:50.534 | /opt/stack/devstack/lib/neutron:643:die
2015-01-27 14:19:50.539 | [ERROR] /opt/stack/devstack/lib/neutron:643
Neutron did not start
2015-01-27 14:19:51.543 | Error on exit


this my localrc file configs.

 RECLONE=yes

 DEST=/opt/stack

 SCREEN_LOGDIR=/opt/stack/new/screen-logs

 LOGFILE=/opt/stack/new/devstacklog.txt

 DATABASE_PASSWORD=password

 RABBIT_PASSWORD= password

 SERVICE_TOKEN= password

 SERVICE_PASSWORD= password

 ADMIN_PASSWORD= password

 MYSQL_PASSWORD= password



 disable_service n-net

 enable_service q-svc

 enable_service q-agt

 enable_service q-dhcp

 enable_service q-l3

 enable_service q-meta

 enable_service q-lbaas

 enable_service neutron

 # Optional, to enable tempest configuration as part of devstack

 enable_service tempest

 *USE_SSL=True*

 *SSL_ENABLE_SERVICES=key,nova,neutron,glance*

 Q_PLUGIN=ml2

 Q_ML2_PLUGIN_MECHANISM_DRIVERS=openvswitch

 Q_ML2_PLUGIN_TYPE_DRIVERS=vlan,flat

 Q_ML2_TENANT_NETWORK_TYPE=vlan

 ML2_VLAN_RANGES=physnet1:1500:1600

 ENABLE_TENANT_VLANS=True

 PHYSICAL_NETWORK=physnet1
 OVS_PHYSICAL_BRIDGE=br-eth1

___________________________________________________
executed the 'wget command' command from cli ,it fails :
stack at ubuntukvm14:/opt/stack/new$ timeout 10  sh -c 'while ! wget
--ca-certificate=/opt/stack/data/ca-bundle.pem --no-proxy -q -O-
https://<devstack-server-ip>:9696;
do sleep 1; done'


Let me know , if  additional configuration are to be done

Thanks,
Jayanthi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150127/e1f84198/attachment.html>


More information about the Openstack mailing list