summaryrefslogtreecommitdiffstats
path: root/starlingx
diff options
context:
space:
mode:
Diffstat (limited to 'starlingx')
-rwxr-xr-xstarlingx/run.sh2
-rw-r--r--starlingx/starlingx/urls.py4
-rwxr-xr-xstarlingx/stop.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/starlingx/run.sh b/starlingx/run.sh
index a2dc4a75..7b69d169 100755
--- a/starlingx/run.sh
+++ b/starlingx/run.sh
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid
+memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid
export PYTHONPATH=lib/share
uwsgi --http :9009 --module starlingx.wsgi --master --processes 4
diff --git a/starlingx/starlingx/urls.py b/starlingx/starlingx/urls.py
index 5a76b330..ca9ef240 100644
--- a/starlingx/starlingx/urls.py
+++ b/starlingx/starlingx/urls.py
@@ -38,7 +38,7 @@ urlpatterns = [
r'infra_workload/?$',
infra_workload.InfraWorkload.as_view()),
url(r'^api/multicloud-starlingx/v0/(?P<vimid>[0-9a-zA-Z_-]+)/'
- r'infra_workload/(?P<workloadid>[0-9a-zA-Z_-]*)/?$',
+ r'infra_workload/(?P<workloadid>[0-9a-zA-Z_-]+)/?$',
infra_workload.InfraWorkload.as_view()),
url(r'^api/multicloud-starlingx/v0/(?P<vimid>[0-9a-zA-Z_-]+)/',
include('starlingx.proxy.urls')),
@@ -67,7 +67,7 @@ urlpatterns = [
infra_workload.APIv1InfraWorkload.as_view()),
url(r'^api/multicloud-starlingx/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/'
r'(?P<cloud_region_id>[0-9a-zA-Z_-]+)/infra_workload/'
- r'(?P<workloadid>[0-9a-zA-Z_-]*)/?$',
+ r'(?P<workloadid>[0-9a-zA-Z_-]+)/?$',
infra_workload.APIv1InfraWorkload.as_view()),
url(r'^api/multicloud-starlingx/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/'
r'(?P<cloud_region_id>[0-9a-zA-Z_-]+)/',
diff --git a/starlingx/stop.sh b/starlingx/stop.sh
index 87d67ebc..0b734f38 100755
--- a/starlingx/stop.sh
+++ b/starlingx/stop.sh
@@ -15,4 +15,4 @@
#ps auxww | grep 'manage.py runserver 0.0.0.0:9009' | awk '{print $2}' | xargs kill -9
ps auxww |grep 'uwsgi --http :9009 --module starlingx.wsgi --master' |awk '{print $2}' |xargs kill -9
-ps auxww | grep 'memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9
+ps auxww | grep 'memcached -d -m 2048 -c 1024 -p 11211 -P /tmp/memcached1.pid' | awk '{print $2}' | xargs kill -9