Davide,

Good investigation - thanks for that!

The ipmi public_id_* issue is a good spot, but it's benign.  I've committed a 
fix for this anyway - it should match what ellis would configure.

The impu ims_subscription_xml issue is the cause.  When registering, we need to 
get the list of implicitly-registered public IDs, and this is part of the 
subscription XML.  Please can you

*         confirm the version of the bulk_create.py script you're running (or 
the homestead package it came from via "dpkg-query -s homestead")

*         share the *.create_homestead_cache.casscli file you ran to import this

*         share the output of running *.create_homestead.sh?

Thanks,

Matt

From: [email protected] 
[mailto:[email protected]] On Behalf Of Davide 
Cherubini
Sent: 30 October 2013 17:01
Cc: [email protected]
Subject: Re: [Clearwater] bulk provisioning

Hi Matt,

thanks for your quick reply.

Yes, I could create and register a user through Ellis.
Following your instructions, this is what I get:

> list impi;
RowKey: [email protected]<mailto:[email protected]>
=> (column=_exists, value=, timestamp=1383142617627000)
=> (column=digest_ha1, value=71b115c7ecad54fc81aeb371de63de6c, 
timestamp=1383142617635000)
=> 
(column=public_id_sip:[email protected]<mailto:public_id_sip%[email protected]>,
 value=sip:[email protected]<mailto:sip%[email protected]>, 
timestamp=1383142617637000)
-------------------
RowKey: [email protected]<mailto:[email protected]>
=> (column=_exists, value=, timestamp=1382809021476256)
=> (column=digest_ha1, value=5e45502272d8f0910a0740b2dcc52892, 
timestamp=1382809021476256)
=> 
(column=public_id_sip:[email protected]<mailto:public_id_sip%[email protected]>,
 value=, timestamp=1382809021476256)

The first user (7775550000 )is provisioned via the bulk script, the second one 
(6505550817) with Ellis. The only difference I can see is that the second one 
doesn't have a value for the public_id. Is that a problem?
> list impu; (more interesting IMHO)
RowKey: sip:[email protected]<mailto:sip%[email protected]>
=> (column=_exists, value=, timestamp=1383142617640000)
-------------------
RowKey: sip:[email protected]<mailto:sip%[email protected]>
=> (column=_exists, value=, timestamp=1383050347241690)
=> (column=ims_subscription_xml, value=<?xml version='1.0' encoding='UTF-8'?>
<IMSSubscription xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="CxDataType.xsd"><PrivateID>Unspecified</PrivateID><ServiceProfile><InitialFilterCriteria><TriggerPoint><ConditionTypeCNF>0</ConditionTypeCNF><SPT><ConditionNegated>0</ConditionNegated><Group>0</Group><Method>INVITE</Method><Extension
 
/></SPT></TriggerPoint><ApplicationServer><ServerName>sip:mmtel.aws.info<http://mmtel.aws.info></ServerName><DefaultHandling>0</DefaultHandling></ApplicationServer></InitialFilterCriteria><PublicIdentity><Identity>sip:[email protected]<mailto:sip%[email protected]></Identity></PublicIdentity></ServiceProfile></IMSSubscription>,
 timestamp=1383050347241690)

As you can see, here the user provisioned with Ellis has all the columns while 
the one created with the script is missing the ims_subscription_xml one.

Thanks again for your help!
Davide



2013/10/30 Matt Williams 
<[email protected]<mailto:[email protected]>>
Davide,

Yes, you can query the data in the Cassandra databases on the homestead and 
homer nodes using the "cassandra-cli" tool.  If the problem is with the 
database contents, it will almost certainly be with the homestead database - 
missing data from the homer database doesn't matter for registration.

On homestead, once you're in cassandra-cli, type "use homestead_cache ;" and 
then "list impi;" and "list impu;".

*         For "list impi;", you should see a list of rows named by the private 
user ID (the SIP URI with the "sip:" prefix stripped) and each should have an 
_exists column, a digest_ha1 column and a public_id_<SIP URI> column.

*         For "list impu;", you should see a list of rows named by the public 
user ID (the full SIP URI) and each should have an _exists column and an 
ims_subscription_xml column.

Please check that these are present.  If not, please retry provisioning and let 
me know any errors you see.

If the rows and columns are all present, I think you'd be best to check the 
bono, sprout and homestead logs, as described in 
https://github.com/Metaswitch/clearwater-docs/wiki/Troubleshooting-and-Recovery.
  If you need help with this, please let me know.

Incidentally, have you successfully created and registered a subscriber through 
ellis?  If not, I'd suggest doing this first - this is simpler so we can check 
that's working before moving to bulk-provisioning.

BTW, I notice you're not subscribed to the mailing list 
(http://lists.projectclearwater.org/listinfo/clearwater) - I'd suggest 
subscribing so that you can see other

Thanks,

Matt

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Davide Cherubini
Sent: 30 October 2013 13:53
To: 
[email protected]<mailto:[email protected]>
Subject: [Clearwater] bulk provisioning

Hi,
I am trying to use the bulk provisioning 'recipe' in

https://github.com/Metaswitch/crest/blob/dev/docs/Bulk-Provisioning%20Numbers.md



but my clients don't register.

Is there any way to check that users have been correctly provisioned to homer 
and homestead?



Thanks,

Davide

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to