Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
930db582
Commit
930db582
authored
Jul 25, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_bootstrap: Fix bug(s)
parent
268715bf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
+3
-1
No files found.
slapos/recipe/erp5_bootstrap/template/erp5_bootstrap.in
View file @
930db582
...
@@ -42,6 +42,7 @@ def waitFor0PendingActivities():
...
@@ -42,6 +42,7 @@ def waitFor0PendingActivities():
'GET', '/%%s/portal_activities/getMessageList' %%(site_id),
'GET', '/%%s/portal_activities/getMessageList' %%(site_id),
headers=header_dict
headers=header_dict
)
)
result = zope_connection.getresponse()
message_list_text = result.read()
message_list_text = result.read()
message_list = [s.strip() for s in message_list_text[1:-1].split(',')]
message_list = [s.strip() for s in message_list_text[1:-1].split(',')]
if len(message_list)==0:
if len(message_list)==0:
...
@@ -96,8 +97,8 @@ if scalability:
...
@@ -96,8 +97,8 @@ if scalability:
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
'GET', '/%%s/ERP5Site_launchFixConfigurationConsistency' %%(site_id),
headers=header_dict
headers=header_dict
)
)
print "Check consistency..."
result = zope_connection.getresponse()
result = zope_connection.getresponse()
print "Check consistency..."
print result.read()
print result.read()
# Wait activities
# Wait activities
waitFor0PendingActivities()
waitFor0PendingActivities()
...
@@ -111,6 +112,7 @@ if scalability:
...
@@ -111,6 +112,7 @@ if scalability:
'GET', '/%%s/business_configuration_module/1/build' %%site_id,
'GET', '/%%s/business_configuration_module/1/build' %%site_id,
headers=header_dict
headers=header_dict
)
)
result = zope_connection.getresponse()
print "Build scalability business configuration..."
print "Build scalability business configuration..."
print result.read()
print result.read()
# Wait activities
# Wait activities
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment