DaanHoogland commented on pull request #5986:
URL: https://github.com/apache/cloudstack/pull/5986#issuecomment-1038910943
testing
```
$ python3 tools/marvin/marvin/deployDataCenter.py -i
setup/dev/advtwopodzone.cfg
```
failed with
```
<marvin.cloudstackAPI.createStoragePool.createStoragePoolCmd object at
0x7f8d9bdae0b0>
Exception Occurred: ['Traceback (most recent call last):\n', ' File
"/home/dahn/apache/cloudstack/tools/marvin/marvin/deployDataCenter.py", line
282, in createPrimaryStorages\n ret =
self.__apiClient.createStoragePool(primarycmd)\n', ' File
"/home/dahn/.local/lib/python3.10/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 3540, in createStoragePool\n response =
self.connection.marvinRequest(command, response_type=response,
method=method)\n', ' File
"/home/dahn/.local/lib/python3.10/site-packages/marvin/cloudstackConnection.py",
line 381, in marvinRequest\n raise e\n', ' File
"/home/dahn/.local/lib/python3.10/site-packages/marvin/cloudstackConnection.py",
line 376, in marvinRequest\n raise self.__lastError\n', ' File
"/home/dahn/.local/lib/python3.10/site-packages/marvin/cloudstackConnection.py",
line 308, in __parseAndGetResponse\n ret = jsonHelper.getResultObj(\n', '
File "/home/dahn/.local/lib/python3.10/site-packages/marvin/jsonHelper.py", l
ine 155, in getResultObj\n raise
cloudstackException.CloudstackAPIException(respname, errMsg)\n',
'marvin.cloudstackException.CloudstackAPIException: Execute cmd:
createstoragepool failed, due to: errorCode: 530, errorText:Failed to add data
store: Failed to create storage pool as it is not accessible to hosts.\n']
```
cfg:
```
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
{
"zones": [
{
"name": "zim1",
"guestcidraddress": "10.100.1.0/24",
"dns1": "10.147.100.6",
"physical_networks": [
{
"broadcastdomainrange": "Zone",
"vlan": "1100-1200",
"name": "z1-pnet",
"traffictypes": [
{
"typ": "Guest"
},
{
"typ": "Management"
},
{
"typ": "Public"
}
],
"providers": [
{
"broadcastdomainrange": "ZONE",
"name": "VirtualRouter"
},
{
"broadcastdomainrange": "ZONE",
"name": "VpcVirtualRouter"
},
{
"broadcastdomainrange": "ZONE",
"name": "InternalLbVm"
}
],
"isolationmethods": [
"VLAN"
]
}
],
"ipranges": [
{
"startip": "192.168.100.2",
"endip": "192.168.100.200",
"netmask": "255.255.255.0",
"vlan": "50",
"gateway": "192.168.100.1"
}
],
"networktype": "Advanced",
"pods": [
{
"endip": "172.16.100.200",
"name": "Z1P1",
"startip": "172.16.100.2",
"netmask": "255.255.255.0",
"clusters": [
{
"clustername": "Z1P1C1",
"hypervisor": "simulator",
"hosts": [
{
"username": "root",
"url": "http://sim1/c1/h1",
"password": "password"
}
],
"clustertype": "CloudManaged"
}
],
"gateway": "172.16.100.1"
}
],
"internaldns1": "10.147.100.6",
"primaryStorages": [
{
"url": "nfs://10.147.100.6:/export/home/sandbox/z2p3",
"name": "Z1PS1",
"hypervisor": "Any"
}
],
"secondaryStorages": [
{
"url":
"nfs://10.147.100.6:/export/home/sandbox/z1secondary",
"provider" : "NFS"
}
]
}
],
"dbSvr": {
"dbSvr": "localhost",
"passwd": "cloud",
"db": "cloud",
"port": 3306,
"user": "cloud"
},
"logger":
{
"LogFolderPath": "/tmp"
},
"mgtSvr": [
{
"mgtSvrIp": "localhost",
"passwd": "password",
"user": "root",
"port": 8096,
"hypervisor": "simulator",
"useHttps": "False",
"certCAPath": "NA",
"certPath": "NA"
}
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]