Hi Priyanka, You shouldn't need to set XDMS_HOSTNAME in local_settings.py for Homestead-prov. You will need to set the XDM_DEFAULT_SIMSERVS_FILE, you can do this by adding the following to your local_settings.py file (note the quotes):
XDM_DEFAULT_SIMSERVS_FILE = "/usr/share/clearwater/homestead/modules/common/metaswitch/common/default_simservs.xml" You can see an example of Homestead-prov's local_settings file at https://github.com/Metaswitch/crest/blob/dev/homestead.local_settings/local_settings.py Ellie -----Original Message----- From: Priyanka [mailto:[email protected]] Sent: 17 July 2015 11:10 To: Eleanor Merry; [email protected] Subject: Re: [Clearwater] homestead bulk provisioning issue Hi Ellie, How to define xdms hostname in local_settings.py. XDMS_HOSTNAME=homer.ims.hom in local_settings.py file gives NameError: name 'homer' is not defined even though homestead can ping to homer.ims.hom. This is required as bulk_create needs the settings.XDM_DEFAULT_SIMSERVS_FILE. Thanks, Priyanka On Thursday 16 July 2015 04:34 PM, Eleanor Merry wrote: > Hi, > > You need to use the Python executable created by crest (not the system > Python) when running any crest tools (see > https://github.com/Metaswitch/crest/blob/dev/docs/development.md#setting-up-a-virtualenv > for more details). > This python is created in the bin/ subdirectory. > > Ellie > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Priyanka > Sent: 15 July 2015 13:32 > To: [email protected] > Subject: [Clearwater] homestead bulk provisioning issue > > Hi, > > For source code installation doing bulk provisioning is giving the following > error: > > ubuntu64@homestead-2:~/crest/src$ python > metaswitch/crest/tools/bulk_create.py /home/ubuntu64/crest/users2.csv > > Traceback (most recent call last): > File "metaswitch/crest/tools/bulk_create.py", line 41, in <module> > from metaswitch.common import utils > ImportError: No module named common > > > There is no module named common in the metaswitch folder.Please help me > resolve it. > > > Thanks, > > Priyanka > _______________________________________________ > Clearwater mailing list > [email protected] > http://lists.projectclearwater.org/listinfo/clearwater _______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/mailman/listinfo/clearwater_lists.projectclearwater.org
